X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1013c7cee5478538901fd9ba5fc0fb2ce30f6422..a9c1ba7bffe05b9231102dcad33546b39a59e823:/doc/README.textile diff --git a/doc/README.textile b/doc/README.textile index 23a82fe5b1..9d58dfeb63 100644 --- a/doc/README.textile +++ b/doc/README.textile @@ -6,19 +6,36 @@ Here's how to build the HTML pages locally so you can preview your updates befor Additional information is available on the "'Documentation' page on the Arvados wiki":https://arvados.org/projects/arvados/wiki/Documentation. -h2. 0. Install dependencies +h2. Install dependencies
 arvados/doc$ bundle install
 
-h2. 1. Generate HTML pages +h2. Generate HTML pages
 arvados/doc$ rake
 
-h2. 2. Preview HTML pages +Alternately, to make the documentation browsable on the local filesystem: + +
+arvados/doc$ rake generate baseurl=$PWD/.site
+
+ +h2. Run linkchecker + +If you have "Linkchecker":http://wummel.github.io/linkchecker/ installed on +your system, you can run it against the documentation: + +
+arvados/doc$ rake linkchecker baseurl=file://$PWD/.site
+
+ +Please note that this will regenerate your $PWD/.site directory. + +h2. Preview HTML pages
 arvados/doc$ rake run
@@ -29,7 +46,7 @@ arvados/doc$ rake run
 
 Preview the rendered pages at "http://localhost:8000":http://localhost:8000.
 
-h2. 3. Publish HTML pages inside Workbench
+h2. Publish HTML pages inside Workbench
 
 (or some other web site)
 
@@ -45,7 +62,7 @@ Make the docs appear at {workbench_host}/doc by creating a symbolic link in Work
 arvados/doc$ ln -sn ../../../doc/.site ../apps/workbench/public/doc
 
-h2. 4. Delete generated files +h2. Delete generated files
 arvados/doc$ rake realclean