aboutsummaryrefslogtreecommitdiff
path: root/docs/source/_themes/__init__.py
diff options
context:
space:
mode:
authorhome_pc <[email protected]>2020-01-20 13:48:51 -0800
committerhome_pc <[email protected]>2020-01-20 13:48:51 -0800
commit75fa1d1810e98453960a81115d88302e276d817f (patch)
tree92f37accb3cb041d056d00525b5830a69862631a /docs/source/_themes/__init__.py
parentfixed install.mel issue (diff)
downloadartv2-75fa1d1810e98453960a81115d88302e276d817f.tar.xz
artv2-75fa1d1810e98453960a81115d88302e276d817f.zip
Uploading work on refactor
At this point, all components can build their skeletons. Next steps are to get components building their rigs.
Diffstat (limited to 'docs/source/_themes/__init__.py')
-rw-r--r--docs/source/_themes/__init__.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/source/_themes/__init__.py b/docs/source/_themes/__init__.py
new file mode 100644
index 0000000..a2ce9a1
--- /dev/null
+++ b/docs/source/_themes/__init__.py
@@ -0,0 +1,25 @@
+# Old way until 1.6
+# But this works only
+
+import os
+
+__version__ = '1.0.8'
+
+
+def get_path():
+ return os.path.abspath(os.path.dirname(__file__))
+
+
+def setup(app):
+ return {
+ 'version': __version__,
+ 'parallel_read_safe': True
+ }
+
+# New way since sphinx 1.6
+# Used for http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
+# but not working.
+
+# from os import path
+# def setup(app):
+# app.add_html_theme('groundwork', path.abspath(path.join(path.dirname(__file__), "groundwork")))