Ver Fonte

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

Tianon Gravi há 11 anos atrás
pai
commit
1cd9529ad3
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      docs/Makefile
  2. 1 1
      docs/sources/conf.py

+ 1 - 1
docs/Makefile

@@ -31,7 +31,7 @@ help:
 #	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
 #	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
 #	@echo "  text       to make text files"
-#	@echo "  man        to make manual pages"
+	@echo "  man        to make a manual page"
 #	@echo "  texinfo    to make Texinfo files"
 #	@echo "  info       to make Texinfo files and run them through makeinfo"
 #	@echo "  gettext    to make PO message catalogs"

+ 1 - 1
docs/sources/conf.py

@@ -235,7 +235,7 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    ('toctree', 'docker', u'Docker Documentation',
+    ('commandline/cli', 'docker', u'Docker Documentation',
      [u'Team Docker'], 1)
 ]