Skip to content

Commit

Permalink
Documentation Update
Browse files Browse the repository at this point in the history
Re-organized (again) the API folder and tutorial files.  Updated the
associated README.md for generating rst from tutorial ipynb.  Got rid
of the mesa*.rst files that were used previously for generating API
documentation.
  • Loading branch information
lowcloudnine committed Jun 4, 2016
1 parent 1558547 commit 2733ce2
Show file tree
Hide file tree
Showing 22 changed files with 19 additions and 157 deletions.
9 changes: 1 addition & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Updating docs can be confusing. Here are the basic setups.
* ```cd tutorials```
1. Create rST files using nbconvert
* ```juypter nbconvert --to rST *.ipynb```
1. Move the rst files to the docs directory
* ```mv *.rst ../```
* **note** This requires jupyter, all its dependencies and pandoc be installed.

#####Submit a pull request with updates
1. Create branch (either via branching or fork of repo) -- try to use a descriptive name.
Expand All @@ -41,9 +40,3 @@ From this point, you will need to find someone that has access to readthedocs. C
* ```make html```
* Autogenerate / update sphninx from docstrings (replace your name as the author:
* ```sphinx-apidoc -A "Jackie Kazil" -F -o docs mesa/```






12 changes: 12 additions & 0 deletions docs/apis/api_main.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
APIs
----

.. toctree::
:maxdepth: 3

Base Classes <init>
batchrunner
datacollection
space
time
visualization
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 5 additions & 18 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,15 @@ If you would like to add a feature, please reach out via `ticket`_ or the `email
.. _`Contributors guide` : https://github.com/projectmesa/mesa/blob/master/CONTRIBUTING.rst
.. _`Github` : https://github.com/projectmesa/mesa/
General Documentation
---------------------
.. toctree::
:hidden:
:maxdepth: 1

Mesa overview <overview>
intro_tutorial
adv_tutorial

API Documentation
-----------------

.. toctree::
:maxdepth: 1

Base Classes <init>
batchrunner
datacollection
space
time
visualization
Mesa Overview <overview>
tutorials/intro_tutorial
tutorials/adv_tutorial
API Documentation <apis/api_main.rst>

Indices and tables
==================
Expand Down
Binary file removed docs/intro_tutorial_files/intro_tutorial_19_1.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/intro_tutorial_files/intro_tutorial_32_1.png
Binary file not shown.
Binary file removed docs/intro_tutorial_files/intro_tutorial_38_1.png
Binary file not shown.
Binary file removed docs/intro_tutorial_files/intro_tutorial_42_1.png
Binary file not shown.
Binary file removed docs/intro_tutorial_files/intro_tutorial_44_1.png
Binary file not shown.
Binary file removed docs/intro_tutorial_files/intro_tutorial_50_1.png
Binary file not shown.
53 changes: 0 additions & 53 deletions docs/mesa.rst

This file was deleted.

38 changes: 0 additions & 38 deletions docs/mesa.visualization.modules.rst

This file was deleted.

37 changes: 0 additions & 37 deletions docs/mesa.visualization.rst

This file was deleted.

4 changes: 1 addition & 3 deletions docs/overview.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


Overview of Modules
---------------------

Expand Down Expand Up @@ -44,4 +42,4 @@ Some visualization modules we'll use here include:

* **Grid** visualization,
* **Chart** display module,
* The **ModularServer** itself.
* The **ModularServer** itself.
File renamed without changes.
File renamed without changes.

0 comments on commit 2733ce2

Please sign in to comment.