From 1cd9529ad350f70aaf6627368bdc8d007b90b3e4 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 19 Nov 2013 10:10:42 -0700 Subject: [PATCH] Switch sphinx man_pages generation to use commandline/cli instead of toctree for a more relevant/useful man page --- docs/Makefile | 2 +- docs/sources/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index a97255f516..a4efbf2102 100644 --- a/docs/Makefile +++ b/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" diff --git a/docs/sources/conf.py b/docs/sources/conf.py index 0ccd4a4ed5..a143e821be 100644 --- a/docs/sources/conf.py +++ b/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) ]