mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The Sphinx documentation generator
If the current page is nested larger than maxdepth it gets deleted before it can be marked as current. The toctree then callapses to the top entries. Split _walk_depth in two parts, first just add the current tag, and remove unneeded entries in a second call. |
||
---|---|---|
custom_fixers | ||
doc | ||
sphinx | ||
tests | ||
utils | ||
.hgignore | ||
.travis.yml | ||
AUTHORS | ||
babel.cfg | ||
CHANGES | ||
distribute_setup.py | ||
EXAMPLES | ||
LICENSE | ||
Makefile | ||
MANIFEST.in | ||
README.rst | ||
setup.cfg | ||
setup.py | ||
sphinx-apidoc.py | ||
sphinx-autogen.py | ||
sphinx-build.py | ||
sphinx-quickstart.py | ||
TODO | ||
tox.ini |
================= README for Sphinx ================= Installing ========== Use ``setup.py``:: python setup.py build sudo python setup.py install Reading the docs ================ After installing:: cd doc sphinx-build . _build/html Then, direct your browser to ``_build/html/index.html``. Or read them online at <http://sphinx-doc.org/>. Testing ======= To run the tests with the interpreter available as ``python``, use:: make test If you want to use a different interpreter, e.g. ``python3``, use:: PYTHON=python3 make test Contributing ============ Send wishes, comments, patches, etc. to sphinx-dev@googlegroups.com.