Browse code

Switch sphinx man_pages generation to use commandline/cli instead of toctree for a more relevant/useful man page

Tianon Gravi authored on 2013/11/20 02:10:42
Showing 2 changed files
... ...
@@ -31,7 +31,7 @@ help:
31 31
 #	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
32 32
 #	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
33 33
 #	@echo "  text       to make text files"
34
-#	@echo "  man        to make manual pages"
34
+	@echo "  man        to make a manual page"
35 35
 #	@echo "  texinfo    to make Texinfo files"
36 36
 #	@echo "  info       to make Texinfo files and run them through makeinfo"
37 37
 #	@echo "  gettext    to make PO message catalogs"
... ...
@@ -235,7 +235,7 @@ latex_documents = [
235 235
 # One entry per manual page. List of tuples
236 236
 # (source start file, name, description, authors, manual section).
237 237
 man_pages = [
238
-    ('toctree', 'docker', u'Docker Documentation',
238
+    ('commandline/cli', 'docker', u'Docker Documentation',
239 239
      [u'Team Docker'], 1)
240 240
 ]
241 241