rearrange existing documentation to fit the new standard layout

Change-Id: I56d60de2c3a8aefa2df834634ff5e6c068d868d4
This commit is contained in:
Akihiro Motoki 2017-07-08 22:21:46 +00:00
parent 3b7dbd6ff8
commit e1bcf9dff1
10 changed files with 26 additions and 20 deletions

View File

@ -2,4 +2,4 @@
Contributing Contributing
============ ============
.. include:: ../../CONTRIBUTING.rst .. include:: ../../../CONTRIBUTING.rst

View File

@ -1,2 +0,0 @@
.. include:: ../../ChangeLog

View File

@ -6,19 +6,10 @@ Code from the future, delivered to you in the **now**.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
features user/index
api reference/index
installation install/index
examples contributor/index
contributing
History
=======
.. toctree::
:maxdepth: 2
history
Indices and tables Indices and tables
================== ==================

View File

@ -1,6 +1,6 @@
=== =============
API API Reference
=== =============
--------- ---------
Executors Executors

View File

@ -0,0 +1,2 @@
.. include:: ../../../ChangeLog

15
doc/source/user/index.rst Normal file
View File

@ -0,0 +1,15 @@
==============
Using futurist
==============
.. toctree::
:maxdepth: 2
features
examples
.. history contains a lot of sections, toctree with maxdepth 1 is used.
.. toctree::
:maxdepth: 1
history

View File

@ -27,7 +27,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
commands = commands =
python setup.py testr --slowest --testr-args='{posargs}' python setup.py testr --slowest --testr-args='{posargs}'
sphinx-build -b doctest doc/source doc/build sphinx-build -b doctest doc/source doc/build
doc8 --ignore-path "doc/source/history.rst" doc/source doc8 --ignore-path "doc/source/user/history.rst" doc/source
[testenv:docs] [testenv:docs]
commands = python setup.py build_sphinx commands = python setup.py build_sphinx