Docs 2.5: Fix floating groups heading level (2nd try)
authorRemington Steed <rjs7@calvin.edu>
Thu, 24 Oct 2013 12:40:05 +0000 (08:40 -0400)
committerRemington Steed <rjs7@calvin.edu>
Thu, 24 Oct 2013 12:40:05 +0000 (08:40 -0400)
The first attempt successfully pushed the Floating Groups chapter to
its proper place in the table of contents, but it also mistakenly pushed
many following chapters down one heading level. This commit follows the
approach already common in the root.txt file, and also undoes the
previous approach of shifting the heading level within the chapter file
itself. I suspect the previous approach only failed because it lacked a
blank line before the final 'leveloffset' command, but this new
approach is better because it is already in common use.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
docs/admin/floating_groups.txt
docs/root.txt

index ca8f6e6..d4b6ef2 100644 (file)
@@ -1,4 +1,3 @@
-:leveloffset: 1
 Floating Groups
 ===============
 
 Floating Groups
 ===============
 
@@ -119,4 +118,3 @@ One member:
 * Stop Depth: 0
 * Max Depth: Unset
 * Exclude: Off 
 * Stop Depth: 0
 * Max Depth: Unset
 * Exclude: Off 
-:leveloffset: 0
index b083f5b..efc535d 100644 (file)
@@ -192,8 +192,14 @@ include::admin/circulation_limit_groups.txt[]
 
 include::admin/booking-admin.txt[]
 
 
 include::admin/booking-admin.txt[]
 
+// Push titles down one level.
+:leveloffset: 1
+
 include::admin/floating_groups.txt[]
 
 include::admin/floating_groups.txt[]
 
+// Return to normal title levels.
+:leveloffset: 0
+
 include::admin/MARC_Import_Remove_Fields.txt[]
 
 include::admin/Org_Unit_Proximity_Adjustments.txt[]
 include::admin/MARC_Import_Remove_Fields.txt[]
 
 include::admin/Org_Unit_Proximity_Adjustments.txt[]