summaryrefslogtreecommitdiffstats
path: root/opnfv-theme/sphinx_opnfv_theme/opnfv
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-03-28 10:27:51 -0700
committerSofia Wallin <sofia.wallin@ericsson.com>2018-04-24 11:12:41 +0000
commitca86d4473be919ae5ba859e64c0a0cfa69867e4b (patch)
tree87f9f3237489b8a062ea03226c7e4e3bb775e854 /opnfv-theme/sphinx_opnfv_theme/opnfv
parentc69218ae706ff28ae0380a618d7066c84b07e70a (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> (cherry picked from commit bd331b2451a17eaf5ed8f6fc8aa89f0499031c28)
Diffstat (limited to 'opnfv-theme/sphinx_opnfv_theme/opnfv')
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html5
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html3
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html15
-rwxr-xr-xopnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.icobin15086 -> 0 bytes
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.pngbin2829 -> 0 bytes
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css33
-rw-r--r--opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf7
7 files changed, 0 insertions, 63 deletions
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html b/opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html
deleted file mode 100644
index ddd674cf1..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/layout.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{# Import the theme's layout. #}
-{% extends "bootstrap/layout.html" %}
-
-{# Custom CSS overrides #}
-{% set css_files = css_files + ['_static/my-styles.css'] %}
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html b/opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html
deleted file mode 100644
index 6b259bc93..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/my_custom_sidebar.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<ul class="globaltoc">
-{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=False,includehidden=theme_globaltoc_includehidden|tobool) }}
-</ul> \ No newline at end of file
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html b/opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html
deleted file mode 100644
index 5bad0b562..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/relations.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<center>
-<div class="btn-group" role="group" aria-label="...">
- {% if prev %}
- <a class="btn btn-default" href="{{ prev.link|e }}">Prev Page</a>
- {% else %}
- <button type="button" class="btn btn-default disabled">Prev Page</button>
- {% endif %}
-
- {% if next %}
- <a class="btn btn-default" href="{{ next.link|e }}">Next Page</a>
- {% else %}
- <button type="button" class="btn btn-default disabled">Next Page</button>
- {% endif %}
-</div>
-</center> \ No newline at end of file
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico b/opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico
deleted file mode 100755
index bbe55ab40..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png b/opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png
deleted file mode 100644
index 1519503eb..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/logo.png
+++ /dev/null
Binary files differ
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css b/opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css
deleted file mode 100644
index 8feb45bfd..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/static/my-styles.css
+++ /dev/null
@@ -1,33 +0,0 @@
-body {
- font-family: Helvetica, sans-serif;
- font-size: 16px;
-}
-
-body a {
- color: #27CCC0;
-}
-
-body a:hover {
- color: #676767;
-}
-
-.navbar-brand img {
- height: 200%;
- margin-top: -5%;
-}
-
-.navbar, h1, h2, h3, h4, h5, h6 {
- font-family: Helvetica, sans-serif;
-}
-
-.navbar-text{
- color: #676767;
-}
-
-.navbar-form.navbar-right{
- padding: 0;
-}
-
-.navbar-form .form-control{
- width: 150px;
-}
diff --git a/opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf b/opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf
deleted file mode 100644
index 66424aa1f..000000000
--- a/opnfv-theme/sphinx_opnfv_theme/opnfv/theme.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-[theme]
-inherit = bootstrap
-stylesheet = bootstrap-sphinx.css
-pygments_style = tango
-
-# Theme Options exposed by html_theme_options
-[options]