summaryrefslogtreecommitdiffstats
path: root/common/sphinx_rtd_theme/__init__.py
diff options
context:
space:
mode:
authorAmar Takhar <amar@rtems.org>2016-01-15 23:41:06 -0500
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:07 -0400
commit5daabd23cfd13662e74ce8d069204882eb1fbad9 (patch)
treef4146d003923a3de5cf5071b76721b7883123364 /common/sphinx_rtd_theme/__init__.py
downloadrtems-docs-5daabd23cfd13662e74ce8d069204882eb1fbad9.tar.bz2
Initial reST documentation using Sphinx.
Diffstat (limited to 'common/sphinx_rtd_theme/__init__.py')
-rw-r--r--common/sphinx_rtd_theme/__init__.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/sphinx_rtd_theme/__init__.py b/common/sphinx_rtd_theme/__init__.py
new file mode 100644
index 0000000..88ddcce
--- /dev/null
+++ b/common/sphinx_rtd_theme/__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