Added liquid template to link to next and previous pages.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 11 Mar 2014 18:18:12 +0000 (14:18 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 11 Mar 2014 18:18:12 +0000 (14:18 -0400)
doc/_includes/_webring.liquid [new file with mode: 0644]
doc/_layouts/default.html.liquid
doc/user/getting_started/check-environment.html.textile.liquid
doc/user/getting_started/workbench.html.textile.liquid
doc/user/index.html.textile.liquid
doc/user/tutorials/tutorial-keep.html.textile.liquid

diff --git a/doc/_includes/_webring.liquid b/doc/_includes/_webring.liquid
new file mode 100644 (file)
index 0000000..edcfedf
--- /dev/null
@@ -0,0 +1,29 @@
+{% assign n = 0 %}
+{% assign prev = "" %}
+{% assign nx = 0 %}
+{% for section in site.navbar[page.navsection] %}
+  {% for entry in section %}
+    {% for item in entry[1] %}        
+      {% assign p = site.pages[item] %}
+      {% if nx == 1 %}
+        <hr>
+        {% if prev != "" %}
+          <a href="{{ site.baseurl }}{{ prev.url }}" class="pull-left">Previous: {{ prev.title }}</a></li>
+        {% endif %}
+        <a href="{{ site.baseurl }}{{ p.url }}" class="pull-right">Next: {{ p.title }}</a></li>            
+        {% assign nx = 0 %}
+        {% assign n = 1 %}
+      {% endif %}
+      {% if p.url == page.url %}
+        {% assign nx = 1 %}
+      {% else %}
+        {% assign prev = p %}
+      {% endif %}
+    {% endfor %}
+  {% endfor %}
+{% endfor %}
+{% if n == 0 && prev != "" %}
+  <hr>
+  <a href="{{ site.baseurl }}{{ prev.url }}" class="pull-left">Previous: {{ prev.title }}</a></li>  
+  {% assign n = 1 %}
+{% endif %}
\ No newline at end of file
index f9c0db553fd1a4e1480e3574f1504394c42cf003..30049748fa4a869415d31af04a8b8928d02c0903 100644 (file)
@@ -77,6 +77,7 @@
         <div class="col-sm-9">
           <h1>{{ page.title }}</h1>
           {{ content }}
+          {% include 'webring' %}
         </div>
       </div>
 
index bb2937344a27aee4756205906ba41c46a221bf66..2908e6e7422373bbc18d44c58551bd98b122e82b 100644 (file)
@@ -38,5 +38,3 @@ However, if you receive the following message:
 bc. ARVADOS_API_HOST and ARVADOS_API_TOKEN need to be defined as environment variables
 
 Then follow the instructions for "getting an API token,":{{site.baseurl}}/user/reference/api-tokens.html and try @arv user current@ again.
-
-Once you are able to access the API server, you are ready proceed to the first tutorial: "Storing and retrieving data using Arvados Keep.":{{site.baseurl}}/user/tutorials/tutorial-keep.html
index 74cee770b05e4e04442cdc6c1ce73239c0bad9bb..48a4c470b8604524547b3f1f162479c3c433c23e 100644 (file)
@@ -11,5 +11,3 @@ Access the Arvados beta test instance available using this link:
 If you are accessing Arvados for the first time, you will be asked to log in using a Google account.  Arvados uses only your name and email address from Google services for identification, and will never access any personal information.  Once you are logged in, the Workbench page may indicate your account status is *New / inactive*.  If this is the case, contact the administrator of the Arvados instance to activate your account.
 
 Once your account is active, logging in to the Workbench will present you with a system status dashboard.  This gives a summary of data, configuration, and activity in the Arvados instance.
-
-Next, we will "configure your account for ssh access to an Arvados virtual machine (VM).":ssh-access.html
index 950d7dc00056275ae6f80e131ad1df3d88e320ed..03a9e602391076e73dee2f2987062b529ec52869 100644 (file)
@@ -48,4 +48,3 @@ foo
 </ul>
 </notextile>
 
-Now begin by "accessing the Arvados workbench.":getting_started/workbench.html
index 0321760ce75467df7638287bd3f2030610d6bfdb..6a797c001ad15f107290bef1adbd804dad58ea51 100644 (file)
@@ -164,7 +164,3 @@ Using @arv-mount@ has several significant benefits:
 * You can browse, open and read Keep entries as if they are regular files.
 * It is easy for existing tools to access files in Keep.
 * Data is downloaded on demand, it is not necessary to download an entire file or collection to start processing
-
-<hr>
-
-You are now ready to proceed to the next tutorial, "running a crunch job.":tutorial-job1.html