diff options
author | Amar Takhar <amar@rtems.org> | 2016-01-19 20:37:04 -0500 |
---|---|---|
committer | Amar Takhar <verm@darkbeer.org> | 2016-05-02 20:51:25 -0400 |
commit | a316b1ff6d765fe0d3631282e750c94470612e97 (patch) | |
tree | 577d0a4cd9659c9834d39eb944a9d662d4f6f2dd /common/sphinx_rtd_theme_rtems/__init__.py | |
parent | Fix typo and add another dependency. (diff) | |
download | rtems-docs-a316b1ff6d765fe0d3631282e750c94470612e97.tar.bz2 |
Add support for singlehtml (inlined) HTML file, plus some other fixes.
* This is still broken.
* Rename sphinx_rtd_theme so it doesn't pickup locally installed ones
* Add a hack to theme.css to get around inliner bug.
* Some unrelated fixups in common/waf.py
Unfortunatly several dozen fixes got merged into this.
Diffstat (limited to 'common/sphinx_rtd_theme_rtems/__init__.py')
-rw-r--r-- | common/sphinx_rtd_theme_rtems/__init__.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/sphinx_rtd_theme_rtems/__init__.py b/common/sphinx_rtd_theme_rtems/__init__.py new file mode 100644 index 0000000..88ddcce --- /dev/null +++ b/common/sphinx_rtd_theme_rtems/__init__.py @@ -0,0 +1,17 @@ +"""Sphinx ReadTheDocs theme. + +From https://github.com/ryan-roemer/sphinx-bootstrap-theme. + +""" +import os + +VERSION = (0, 1, 9) + +__version__ = ".".join(str(v) for v in VERSION) +__version_full__ = __version__ + + +def get_html_theme_path(): + """Return list of HTML theme paths.""" + cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) + return cur_dir |