summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2022-08-16 13:10:56 +0200
committerthmsdt <thomas.kulik@telekom.de>2022-08-16 13:12:20 +0200
commit7e0db8a223e9d7a693c7120a5beb91df40fef82f (patch)
treeef5888d5f390d70d2332e0bdad9c1e2fad3e67b6
parent65bec69096b0a2ef18cd72d87b89757da4ae1906 (diff)
update sphinx example config files
Issue-ID: DOC-798 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I74a213993ada2b3697b58270c30c61326b151f7b
-rw-r--r--examples/sphinx/README.md6
-rw-r--r--examples/sphinx/istanbul/_static/css/ribbon.css63
-rw-r--r--examples/sphinx/release/_static/css/ribbon.css63
-rwxr-xr-xexamples/sphinx/release/_static/favicon.ico (renamed from examples/sphinx/istanbul/_static/favicon.ico)bin2102 -> 2102 bytes
-rw-r--r--examples/sphinx/release/_static/logo_onap_2017.png (renamed from examples/sphinx/istanbul/_static/logo_onap_2017.png)bin12278 -> 12278 bytes
-rw-r--r--examples/sphinx/release/conf.py (renamed from examples/sphinx/istanbul/conf.py)6
-rw-r--r--examples/sphinx/release/images/biohazard.png (renamed from examples/sphinx/istanbul/images/biohazard.png)bin179 -> 179 bytes
-rw-r--r--examples/sphinx/release/index.rst (renamed from examples/sphinx/istanbul/index.rst)0
-rw-r--r--examples/sphinx/release/requirements-docs.txt (renamed from examples/sphinx/istanbul/requirements-docs.txt)0
-rw-r--r--examples/sphinx/release/tox.ini (renamed from examples/sphinx/istanbul/tox.ini)0
10 files changed, 69 insertions, 69 deletions
diff --git a/examples/sphinx/README.md b/examples/sphinx/README.md
index ec94cd0b1..8c1e339e4 100644
--- a/examples/sphinx/README.md
+++ b/examples/sphinx/README.md
@@ -6,9 +6,9 @@ in your project. **Important:** The files relate on each other. Change them care
We provide two directories:
- **master**: Contains configuration files used in the **development branch**.
-- **istanbul**: Contains configuration files used in the **release branch**
- (e.g.'istanbul'). **Important:** You need to change the 'istanbul' entries
- in the files! Replace them with the name of the new release branch (e.g. 'jakarta').
+- **release**: Contains configuration files used in the **release branch**
+ (e.g.'kohn'). **Important:** You need to change the 'kohn' entries
+ in the files! Replace them with the name of the new release branch.
The additional directories named *_static* and *images* and the file
*index.rst* are required to make the examples buildable. In the respective
diff --git a/examples/sphinx/istanbul/_static/css/ribbon.css b/examples/sphinx/istanbul/_static/css/ribbon.css
deleted file mode 100644
index 6008cb1a0..000000000
--- a/examples/sphinx/istanbul/_static/css/ribbon.css
+++ /dev/null
@@ -1,63 +0,0 @@
-.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/examples/sphinx/release/_static/css/ribbon.css b/examples/sphinx/release/_static/css/ribbon.css
new file mode 100644
index 000000000..d03a26b20
--- /dev/null
+++ b/examples/sphinx/release/_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: 800px;
+ } \ No newline at end of file
diff --git a/examples/sphinx/istanbul/_static/favicon.ico b/examples/sphinx/release/_static/favicon.ico
index cb712ebd2..cb712ebd2 100755
--- a/examples/sphinx/istanbul/_static/favicon.ico
+++ b/examples/sphinx/release/_static/favicon.ico
Binary files differ
diff --git a/examples/sphinx/istanbul/_static/logo_onap_2017.png b/examples/sphinx/release/_static/logo_onap_2017.png
index 5d064f431..5d064f431 100644
--- a/examples/sphinx/istanbul/_static/logo_onap_2017.png
+++ b/examples/sphinx/release/_static/logo_onap_2017.png
Binary files differ
diff --git a/examples/sphinx/istanbul/conf.py b/examples/sphinx/release/conf.py
index 67944beb6..b2ba93216 100644
--- a/examples/sphinx/istanbul/conf.py
+++ b/examples/sphinx/release/conf.py
@@ -1,6 +1,6 @@
project = "onap"
-release = "istanbul"
-version = "istanbul"
+release = "kohn"
+version = "kohn"
author = "Open Network Automation Platform"
# yamllint disable-line rule:line-length
@@ -25,7 +25,7 @@ extensions = [
# Change to {releasename} after you have created the new 'doc' branch.
#
-branch = 'istanbul'
+branch = 'kohn'
intersphinx_mapping = {}
doc_url = 'https://docs.onap.org/projects'
diff --git a/examples/sphinx/istanbul/images/biohazard.png b/examples/sphinx/release/images/biohazard.png
index ae4629d8b..ae4629d8b 100644
--- a/examples/sphinx/istanbul/images/biohazard.png
+++ b/examples/sphinx/release/images/biohazard.png
Binary files differ
diff --git a/examples/sphinx/istanbul/index.rst b/examples/sphinx/release/index.rst
index c7685a558..c7685a558 100644
--- a/examples/sphinx/istanbul/index.rst
+++ b/examples/sphinx/release/index.rst
diff --git a/examples/sphinx/istanbul/requirements-docs.txt b/examples/sphinx/release/requirements-docs.txt
index dc55d67b4..dc55d67b4 100644
--- a/examples/sphinx/istanbul/requirements-docs.txt
+++ b/examples/sphinx/release/requirements-docs.txt
diff --git a/examples/sphinx/istanbul/tox.ini b/examples/sphinx/release/tox.ini
index 6505b8512..6505b8512 100644
--- a/examples/sphinx/istanbul/tox.ini
+++ b/examples/sphinx/release/tox.ini