5.1.3.6. man

The pdf is provided by the builders latexpdf and latexpdfja which are based on latex.

../../../_images/man1.png

Figure: Theme ‘man’

configuration

The current example implementation contains the files within the default path:

setupddocx/configurations/sphinx/man

file

remark

docsrc/conf.py

adds configuration variables

docsrc/_static/custom.css

sets some custom colors and sizes

docsrc/_static/favicon.ico

provides a demo favicon, requires ICO

docsrc/_static/logo.png

provides a demo logo, requires PNG

call

The call creates a one or more man pages in the docname subdirectory within the local directory doc

python setup.py  -q  \
   build_docx  \
      --conf-dir setupdocx/configurations/man/ \
      --docname setupdocx-man \
   install_docx \
      --dist-dir doc \
      --docname=setupdocx-man

# cut-and-paste for execution
# for readability split acros multiple lines