[tor-commits] [user-manual/master] Stop abusing sort title and use groups instead

lunar at torproject.org lunar at torproject.org
Tue May 27 16:05:01 UTC 2014


commit 4da906a523e95d45aeb6efdf9d8f04f6d169c622
Author: Lunar <lunar at torproject.org>
Date:   Tue May 27 11:07:34 2014 +0200

    Stop abusing sort title and use groups instead
    
    According to Mallard's specification:
    
        Sort titles allow you to specify alternate text to be used when sorting the
        page or section. Certain automatic link sections will sort the nodes they
        link to. When this happens, providing a sort title allows you to control
        how the node is collated. This is useful for excluding leading articles
        such as “an” and “the”.
    
    The order of topic pages on the main index is better controlled by using
    grouping capabilities of automatic links.
---
 C/bridges.page         |    1 -
 C/circumvention.page   |    1 -
 C/how-tor-works.page   |    3 +--
 C/known-issues.page    |    3 +--
 C/troubleshooting.page |    3 +--
 C/uninstalling.page    |    1 -
 6 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/C/bridges.page b/C/bridges.page
index 9964928..6c4cc57 100644
--- a/C/bridges.page
+++ b/C/bridges.page
@@ -5,7 +5,6 @@
 
 <info>
   <desc>What bridges are and how to use them.</desc>
-  <title type='sort'>05 Bridges</title>
   <link type="guide" xref="index" />
 </info>
 
diff --git a/C/circumvention.page b/C/circumvention.page
index b228699..5fc1f03 100644
--- a/C/circumvention.page
+++ b/C/circumvention.page
@@ -4,7 +4,6 @@
   id="circumvention">
 
 <info>
-  <title type='sort'>04 Circumvention</title>
   <desc>What to do if the Tor network is blocked.</desc>
   <link type="guide" xref="index" />
 </info>
diff --git a/C/how-tor-works.page b/C/how-tor-works.page
index ecbacfa..930a237 100644
--- a/C/how-tor-works.page
+++ b/C/how-tor-works.page
@@ -3,9 +3,8 @@
       id="how-tor-works">
 
   <info>
-    <title type='sort'>01 Tor</title>
     <desc>How Tor works.</desc>
-    <link type="guide" xref="index"/>
+    <link type="guide" xref="index" group="#first"/>
   </info>
 
   <title>Tor</title>
diff --git a/C/known-issues.page b/C/known-issues.page
index 33e0c7e..327b8be 100644
--- a/C/known-issues.page
+++ b/C/known-issues.page
@@ -5,8 +5,7 @@
 
 <info>
   <desc>A list of known issues.</desc>
-  <title type='sort'>03 Known Issues</title>
-  <link type="guide" xref="index"/>
+  <link type="guide" xref="index" group="#last" />
 </info>
 
 <title>Known Issues</title>
diff --git a/C/troubleshooting.page b/C/troubleshooting.page
index ca9c480..d1cda52 100644
--- a/C/troubleshooting.page
+++ b/C/troubleshooting.page
@@ -4,9 +4,8 @@
   id="troubleshooting">
 
 <info>
-  <title type="sort">02 Troubleshooting</title>
   <desc>What to do if Tor Browser doesn't work.</desc>
-  <link type="guide" xref="index"/>
+  <link type="guide" xref="index" group="#last" />
 </info>
 
 <title>Troubleshooting</title>
diff --git a/C/uninstalling.page b/C/uninstalling.page
index 14e875d..5c8ca62 100644
--- a/C/uninstalling.page
+++ b/C/uninstalling.page
@@ -5,7 +5,6 @@
 
 <info>
   <desc>How to remove Tor Browser from your system.</desc>
-  <title type='sort'>06 Uninstalling</title>
   <link type="guide" xref="index"/>
 </info>
 





More information about the tor-commits mailing list