| 1 |
=============================================== |
| 2 |
The Cloud Sphinx Theme |
| 3 |
=============================================== |
| 4 |
|
| 5 |
.. rst-class:: without-title |
| 6 |
|
| 7 |
.. caution:: |
| 8 |
|
| 9 |
**2020-05-01: This project has moved to Heptapod!** |
| 10 |
|
| 11 |
Due to BitBucket deprecating Mercurial support, this package's public repository and issue tracker |
| 12 |
has been relocated. It's now located at `<https://foss.heptapod.net/doc-utils/cloud_sptheme>`_, |
| 13 |
and is powered by `Heptapod <https://heptapod.net/>`_. |
| 14 |
Hosting is being graciously provided by the people at |
| 15 |
`Octobus <https://octobus.net/>`_ and `CleverCloud <https://clever-cloud.com/>`_! |
| 16 |
|
| 17 |
|
| 18 |
This is release |release| of a small Python package named |
| 19 |
:mod:`!cloud_sptheme`. It contains a `Sphinx <http://sphinx.pocoo.org/>`_ theme |
| 20 |
named "Cloud", and some related Sphinx extensions. Cloud and its extensions |
| 21 |
are primarily oriented towards generating html documentation for Python libraries. |
| 22 |
It provides numerous small enhancements to make the html documentation html more interactive, |
| 23 |
improve the layout on mobile devices, and other enhancements. |
| 24 |
|
| 25 |
Contents |
| 26 |
======== |
| 27 |
.. rst-class:: floater |
| 28 |
|
| 29 |
.. seealso:: :ref:`What's new in v1.10 <whats-new>` |
| 30 |
|
| 31 |
Themes |
| 32 |
------ |
| 33 |
:doc:`Cloud Sphinx Theme <cloud_theme>` |
| 34 |
the main Sphinx theme provided by this package, |
| 35 |
and used by this documentation. |
| 36 |
|
| 37 |
Markup Extensions |
| 38 |
----------------- |
| 39 |
The following extensions make some helpful enhancements to sphinx's markup. |
| 40 |
They should all be theme-independant. |
| 41 |
|
| 42 |
:mod:`cloud_sptheme.ext.autodoc_sections` |
| 43 |
Patches :mod:`sphinx.ext.autodoc` to handle RST section headers |
| 44 |
inside docstrings. |
| 45 |
|
| 46 |
:mod:`cloud_sptheme.ext.autoattribute_search_bases` |
| 47 |
Patches :mod:`sphinx.ext.autodoc` so that ``.. autoattribute::`` |
| 48 |
will also search parent classes for attribute docstrings. |
| 49 |
|
| 50 |
:mod:`cloud_sptheme.ext.docfield_markup` |
| 51 |
Patches Sphinx to permit tilde-prefixed markup in directives, |
| 52 |
such as ``:raises ~myapp.MyException:`` |
| 53 |
|
| 54 |
:mod:`cloud_sptheme.ext.escaped_samp_literals` |
| 55 |
Patches Sphinx to permit backslash-escaped ``{}`` characters within ``:samp:`` roles. |
| 56 |
|
| 57 |
:mod:`cloud_sptheme.ext.issue_tracker` |
| 58 |
Adds a special ``:issue:`` role for quickly linking to |
| 59 |
your project's issue tracker. |
| 60 |
|
| 61 |
:mod:`cloud_sptheme.ext.table_styling` |
| 62 |
Enhances ``.. table`` directive to support per-column |
| 63 |
text alignment and other layout features. |
| 64 |
|
| 65 |
Meta Extensions |
| 66 |
--------------- |
| 67 |
The following extensions add some additional capabilities and features |
| 68 |
for building sphinx documentation. They should all be theme-independant. |
| 69 |
|
| 70 |
:mod:`cloud_sptheme.ext.auto_redirect` |
| 71 |
Helper to alert users when documentation hosting has moved |
| 72 |
to a different url. |
| 73 |
|
| 74 |
:mod:`cloud_sptheme.ext.page_only` |
| 75 |
Directive that allows entire pages to be conditionally omitted from a build, |
| 76 |
similar to ``.. only::``. |
| 77 |
|
| 78 |
:mod:`cloud_sptheme.ext.relbar_links` |
| 79 |
Adds a TOC or other custom links to the top navigation controls. |
| 80 |
|
| 81 |
:mod:`cloud_sptheme.ext.role_index` |
| 82 |
Generates a "roleindex.json" of all document and cross-references, |
| 83 |
to help integrate sphinx documentation into a web application's context-aware help. |
| 84 |
|
| 85 |
Theme-Specific Extensions |
| 86 |
------------------------- |
| 87 |
The following Sphinx extensions provide features used by the Cloud theme, |
| 88 |
and may prove useful for documentation that needs a specific feature: |
| 89 |
|
| 90 |
:mod:`cloud_sptheme.ext.index_styling` |
| 91 |
Adds additional css styling classes to the index page. |
| 92 |
|
| 93 |
Reference |
| 94 |
--------- |
| 95 |
:doc:`install` |
| 96 |
requirements and installations instructions |
| 97 |
|
| 98 |
:doc:`history` |
| 99 |
history of current and past releases |
| 100 |
|
| 101 |
Online Resources |
| 102 |
================ |
| 103 |
|
| 104 |
.. rst-class:: html-plain-table |
| 105 |
|
| 106 |
====================== =================================================== |
| 107 |
Homepage: `<https://foss.heptapod.net/doc-utils/cloud_sptheme>`_ |
| 108 |
Online Docs: `<https://cloud-sptheme.readthedocs.io>`_ |
| 109 |
Download & PyPI: `<https://pypi.python.org/pypi/cloud_sptheme>`_ |
| 110 |
====================== =================================================== |
| 111 |
|
| 112 |
Hosting |
| 113 |
======= |
| 114 |
Thanks to the people at `Octobus <https://octobus.net/>`_ and `CleverCloud <https://clever-cloud.com/>`_ |
| 115 |
for providing the repository / issue tracker hosting, as well as the development of `Heptapod <https://heptapod.net/>`_! |
| 116 |
|
| 117 |
Thanks to `ReadTheDocs <https://readthedocs.io>`_ for providing documentation hosting! |