diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-03-28 10:27:51 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-04-20 11:05:50 -0700 |
commit | bd331b2451a17eaf5ed8f6fc8aa89f0499031c28 (patch) | |
tree | 3bcf69b472c8b4af97ce8842e49ec12049b750b2 /opnfv-theme/sphinx_opnfv_theme | |
parent | b66a62102b39654b389f5cd186d7468f43b97522 (diff) |
Update OPNFV Sphinx Theme
When the theme was initially created I was under the assumption the
directory the theme lives under needs to match the name. This does not
seem to be the case and in fact seems to cause issues with correctly
importing and using the theme.
Includes formatting updates to the README and linting.
Change-Id: I67c834bfe9dc99252159394ecbf136d9a264e0a8
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'opnfv-theme/sphinx_opnfv_theme')
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/__init__.py | 3 | ||||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/layout.html (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html) | 0 | ||||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/my_custom_sidebar.html (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html) | 0 | ||||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/relations.html (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html) | 0 | ||||
-rwxr-xr-x | opnfv-theme/sphinx_opnfv_theme/static/favicon.ico (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico) | bin | 15086 -> 15086 bytes | |||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/static/logo.png (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png) | bin | 2829 -> 2829 bytes | |||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/static/my-styles.css (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css) | 0 | ||||
-rw-r--r-- | opnfv-theme/sphinx_opnfv_theme/theme.conf (renamed from opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf) | 0 |
8 files changed, 2 insertions, 1 deletions
diff --git a/opnfv-theme/sphinx_opnfv_theme/__init__.py b/opnfv-theme/sphinx_opnfv_theme/__init__.py index 007927521..2bf05c3ae 100644 --- a/opnfv-theme/sphinx_opnfv_theme/__init__.py +++ b/opnfv-theme/sphinx_opnfv_theme/__init__.py @@ -2,7 +2,7 @@ from os import path -__version__='0.1.1' +__version__ = '0.2.0' def get_html_theme_path(): @@ -10,6 +10,7 @@ def get_html_theme_path(): local_path = path.abspath(path.dirname(__file__)) return [local_path] + def setup(app): """Required by Sphinx to create the theme.""" app.add_html_theme('opnfv', path.abspath(path.dirname(__file__))) diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html b/opnfv-theme/sphinx_opnfv_theme/layout.html index ddd674cf1..ddd674cf1 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html +++ b/opnfv-theme/sphinx_opnfv_theme/layout.html diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html b/opnfv-theme/sphinx_opnfv_theme/my_custom_sidebar.html index 6b259bc93..6b259bc93 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html +++ b/opnfv-theme/sphinx_opnfv_theme/my_custom_sidebar.html diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html b/opnfv-theme/sphinx_opnfv_theme/relations.html index 5bad0b562..5bad0b562 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html +++ b/opnfv-theme/sphinx_opnfv_theme/relations.html diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico b/opnfv-theme/sphinx_opnfv_theme/static/favicon.ico Binary files differindex bbe55ab40..bbe55ab40 100755 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico +++ b/opnfv-theme/sphinx_opnfv_theme/static/favicon.ico diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png b/opnfv-theme/sphinx_opnfv_theme/static/logo.png Binary files differindex 1519503eb..1519503eb 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png +++ b/opnfv-theme/sphinx_opnfv_theme/static/logo.png diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css b/opnfv-theme/sphinx_opnfv_theme/static/my-styles.css index 8feb45bfd..8feb45bfd 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css +++ b/opnfv-theme/sphinx_opnfv_theme/static/my-styles.css diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf b/opnfv-theme/sphinx_opnfv_theme/theme.conf index 66424aa1f..66424aa1f 100644 --- a/opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf +++ b/opnfv-theme/sphinx_opnfv_theme/theme.conf |