Browse Source

docs: create appendices in the book

Marian Beermann 8 năm trước cách đây
mục cha
commit
acf3842e02
2 tập tin đã thay đổi với 7 bổ sung5 xóa
  1. 1 4
      docs/book.rst
  2. 6 1
      docs/conf.py

+ 1 - 4
docs/book.rst

@@ -4,6 +4,7 @@ Borg documentation
 ==================
 
 .. when you add an element here, do not forget to add it to index.rst
+.. Note: Some things are in appendices (see latex_appendices in conf.py)
 
 .. toctree::
     :maxdepth: 2
@@ -14,9 +15,5 @@ Borg documentation
     usage
     deployment
     faq
-    support
-    resources
-    changes
     internals
     development
-    authors

+ 6 - 1
docs/conf.py

@@ -224,7 +224,12 @@ latex_show_urls = 'footnote'
 #latex_preamble = ''
 
 # Documents to append as an appendix to all manuals.
-#latex_appendices = []
+latex_appendices = [
+    'support',
+    'resources',
+    'changes',
+    'authors',
+]
 
 # If false, no module index is generated.
 #latex_domain_indices = True