Skip to content

Commit

Permalink
fix(rtd): Correct documentation rendering in rtd.
Browse files Browse the repository at this point in the history
  • Loading branch information
vinci1it2000 committed Nov 4, 2020
1 parent d5c1b19 commit 5b108d7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ coverage.xml
*.log

# Sphinx documentation
docs/_build/
doc/_build/
doc/toctree/


# PyBuilder
target/
Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _start-contrib:
Contributing to schedula
========================

Expand Down Expand Up @@ -57,7 +58,8 @@ Well done! Your contribution is ready to be submitted:
- Once the *pull request* is approved and merged you can pull the changes from
``upstream`` to your local repo and delete your extra branch(es).


.. _end-contrib:
.. _start-donate:
Donate
======

Expand All @@ -67,3 +69,5 @@ development please donate.
.. raw:: html

<script src="https://donorbox.org/widget.js" paypalExpress="false"></script><iframe src="https://donorbox.org/embed/schedula?amount=25&show_content=true" height="685px" width="100%" style="max-width:100%; min-width:100%; max-height:none!important" seamless="seamless" name="donorbox" frameborder="0" scrolling="no" allowpaymentrequest></iframe>

.. _end-donate:
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ If you want to visualize the latest workflow of the dispatcher, you can use the
``workflow=True``:

.. dispatcher:: dsp
:opt: index=True, workflow=True
:opt: index=True, workflow=True, engine='fdp'
:code:

>>> dsp.plot(workflow=True, index=True) # doctest: +SKIP
Expand Down
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
extensions.append('readthedocs_ext.readthedocs')

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
4 changes: 3 additions & 1 deletion doc/contrib.rst
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.. include:: ../CONTRIBUTING.rst
.. include:: ../CONTRIBUTING.rst
:start-after: .. _start-contrib:
:end-before: .. _end-contrib:
3 changes: 3 additions & 0 deletions doc/donate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. include:: ../CONTRIBUTING.rst
:start-after: .. _start-donate:
:end-before: .. _end-donate:
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
tutorial
async
contrib
donate
api
change

Expand Down
1 change: 1 addition & 0 deletions requirements/dev.pip
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ wheel
gitchangelog
mako
sphinx_rtd_theme
readthedocs-sphinx-ext
setuptools>=36.0.1
sphinxcontrib-restbuilder
2 changes: 1 addition & 1 deletion schedula/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
.. autosummary::
:nosignatures:
:toctree: _build/schedula
:toctree: toctree/schedula
~dispatcher
~utils
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_long_description(cleanup=True):
extras['dev'] = extras['all'] + [
'wheel', 'sphinx', 'gitchangelog', 'mako', 'sphinx_rtd_theme',
'setuptools>=36.0.1', 'sphinxcontrib-restbuilder', 'nose', 'coveralls',
'requests'
'requests', 'readthedocs-sphinx-ext'
]

setup(
Expand Down

0 comments on commit 5b108d7

Please sign in to comment.