Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
doc: include the argparse generated data directly
Browse files Browse the repository at this point in the history
The symlink hack doesn't appear to be needed in pychroot.
  • Loading branch information
radhermit committed Aug 2, 2015
1 parent 7ae8651 commit 1df4220
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions doc/Makefile
Expand Up @@ -131,9 +131,6 @@ text:

man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@for file in man/*; do \
[ -L "$${file}" ] && rm -f "$${file}" || continue; \
done
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."

Expand Down
1 change: 0 additions & 1 deletion doc/conf.py
Expand Up @@ -42,7 +42,6 @@ def generate_docs():

# generate man page option docs
for module, script in generated_man_pages:
os.symlink(os.path.join(os.pardir, 'generated', script), os.path.join('man', script))
ManConverter.regen_if_needed('generated', module, out_name=script)

# generate API docs
Expand Down
4 changes: 2 additions & 2 deletions doc/man/pychroot.rst
Expand Up @@ -2,15 +2,15 @@
pychroot
========

.. include:: pychroot/main_synopsis.rst
.. include:: ../generated/pychroot/main_synopsis.rst

Description
===========

pychroot is an extended **chroot(1)** equivalent that also provides support for
automatically handling bind mounts.

.. include:: pychroot/main_options.rst
.. include:: ../generated/pychroot/main_options.rst

Reporting Bugs
==============
Expand Down

0 comments on commit 1df4220

Please sign in to comment.