summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>2018-10-15 18:27:37 +0000
committerBozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>2018-10-15 18:27:37 +0000
commit823a89d5af7d62080b26ad1f2ea77f5bd263fca7 (patch)
treeeaf29e895beb9a6dbac75d992689242e17ac4e12
parent24473b7670c118829150233eb11b5fbc835b3d14 (diff)
VNFRQTS - Updating local build
Issue-ID: VNFRQTS-463 Change-Id: I9647def5cb761fa608e0355ac79babf80baeee45 Signed-off-by: Bozawglanian, Hagop (hb755d) <hagop.bozawglanian@att.com>
-rw-r--r--_static/css/ribbon.css63
-rwxr-xr-x_static/favicon.icobin0 -> 2102 bytes
-rwxr-xr-x_static/logo_onap_2017.pngbin0 -> 6980 bytes
-rw-r--r--_templates/layout.html19
-rw-r--r--conf.py7
-rw-r--r--docs/Chapter5/Tosca.rst2
-rw-r--r--docs/data/needs.json4
7 files changed, 91 insertions, 4 deletions
diff --git a/_static/css/ribbon.css b/_static/css/ribbon.css
new file mode 100644
index 0000000..6008cb1
--- /dev/null
+++ b/_static/css/ribbon.css
@@ -0,0 +1,63 @@
+.ribbon {
+ z-index: 1000;
+ background-color: #a00;
+ overflow: hidden;
+ white-space: nowrap;
+ position: fixed;
+ top: 25px;
+ right: -50px;
+ -webkit-transform: rotate(45deg);
+ -moz-transform: rotate(45deg);
+ -ms-transform: rotate(45deg);
+ -o-transform: rotate(45deg);
+ transform: rotate(45deg);
+ -webkit-box-shadow: 0 0 10px #888;
+ -moz-box-shadow: 0 0 10px #888;
+ box-shadow: 0 0 10px #888;
+
+}
+
+.ribbon a {
+ border: 1px solid #faa;
+ color: #fff;
+ display: block;
+ font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ margin: 1px 0;
+ padding: 10px 50px;
+ text-align: center;
+ text-decoration: none;
+ text-shadow: 0 0 5px #444;
+ transition: 0.5s;
+}
+
+.ribbon a:hover {
+ background: #c11;
+ color: #fff;
+}
+
+
+/* override table width restrictions */
+@media screen and (min-width: 767px) {
+
+ .wy-table-responsive table td, .wy-table-responsive table th {
+ /* !important prevents the common CSS stylesheets from overriding
+ this as on RTD they are loaded after this stylesheet */
+ white-space: normal !important;
+ }
+
+ .wy-table-responsive {
+ overflow: visible !important;
+ }
+}
+
+@media screen and (max-width: 767px) {
+ .wy-table-responsive table td {
+ white-space: nowrap;
+ }
+}
+
+/* fix width of the screen */
+
+.wy-nav-content {
+ max-width: none;
+}
diff --git a/_static/favicon.ico b/_static/favicon.ico
new file mode 100755
index 0000000..cb712eb
--- /dev/null
+++ b/_static/favicon.ico
Binary files differ
diff --git a/_static/logo_onap_2017.png b/_static/logo_onap_2017.png
new file mode 100755
index 0000000..9f63444
--- /dev/null
+++ b/_static/logo_onap_2017.png
Binary files differ
diff --git a/_templates/layout.html b/_templates/layout.html
new file mode 100644
index 0000000..5784529
--- /dev/null
+++ b/_templates/layout.html
@@ -0,0 +1,19 @@
+{# Import the theme's layout. #}
+{% extends "!layout.html" %}
+
+{# Custom CSS override for warning banner #}
+{% set css_files = css_files + ['_static/css/ribbon.css'] %}
+
+{# Ribbon #}
+{% block content %}
+ <div class="ribbon">
+ <a href="https://jira.onap.org/secure/CreateIssueDetails!init.jspa
+?pid=10111
+&issuetype=10004
+&priority=2
+&description=version:+{{version}}%0Apage:+{{pagename}}%0A%0A" target="_blank">
+ Report Issue
+ </a>
+ </div>
+ {{ super() }}
+{% endblock %}
diff --git a/conf.py b/conf.py
index 1ac1cad..c7785fb 100644
--- a/conf.py
+++ b/conf.py
@@ -132,7 +132,8 @@ todo_include_todos = True
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#html_theme = 'bootstrap'
-html_theme = 'classic'
+#html_theme = 'classic'
+html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -488,3 +489,7 @@ needs_template_collapse = """
| parents: :need_outgoing:`{{id}}`
{% endif -%}
"""
+
+def setup(app):
+ app.add_stylesheet("css/ribbon.css")
+
diff --git a/docs/Chapter5/Tosca.rst b/docs/Chapter5/Tosca.rst
index 41fc0d1..3cfef75 100644
--- a/docs/Chapter5/Tosca.rst
+++ b/docs/Chapter5/Tosca.rst
@@ -169,7 +169,7 @@ VNF Package Contents
instantiate the VNF (VNF and VNFC images) either as:
- Local artifact in CSAR: ROOT\\Artifacts\\ **VNF_Image.bin**
-
+
- externally referred (by URI) artifact in Manifest file (also may be
referred by VNF Descriptor)
diff --git a/docs/data/needs.json b/docs/data/needs.json
index 934b75c..a0b9bef 100644
--- a/docs/data/needs.json
+++ b/docs/data/needs.json
@@ -1,5 +1,5 @@
{
- "created": "2018-10-12T17:13:01.470078",
+ "created": "2018-10-15T18:25:06.229809",
"current_version": "casablanca",
"project": "",
"versions": {
@@ -21858,7 +21858,7 @@
"needs_amount": 750
},
"casablanca": {
- "created": "2018-10-12T17:13:01.470023",
+ "created": "2018-10-15T18:25:06.229735",
"needs": {
"R-00011": {
"description": "A VNF's Heat Orchestration Template's parameter defined\nin a nested YAML file\n**MUST NOT** have a parameter constraint defined.",