Remove lf docs conf 55/127955/4
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 22 Mar 2022 10:30:40 +0000 (11:30 +0100)
committerCedric Ollivier <cedric.ollivier@orange.com>
Wed, 6 Jul 2022 15:54:29 +0000 (15:54 +0000)
Issue-ID: DOC-782
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I05be46029920367a2792c32da380dd19cdba06e3

docs/conf.py
docs/conf.yaml [deleted file]
etc/requirements-docs.txt

index 77863e9..f8f70bb 100644 (file)
@@ -1,9 +1,24 @@
-from docs_conf.conf import *
+project = "onap"
+release = "master"
+version = "master"
 
-doc_url = 'https://docs.onap.org/projects'
-master_doc = 'index'
+author: "Open Network Automation Platform"
+# yamllint disable-line rule:line-length
+copyright: "ONAP. Licensed under Creative Commons Attribution 4.0 International License."
 
-intersphinx_mapping = {}
+pygments_style = "sphinx"
+html_theme = "sphinx_rtd_theme"
+html_theme_options = {
+  "style_nav_header_background": "white",
+  "sticky_navigation": "False" }
+html_logo = "_static/logo_onap_2017.png"
+html_favicon = "_static/favicon.ico"
+html_static_path = ["_static"]
+html_show_sphinx = False
+
+extensions = [
+    'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
+    'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz']
 
 #
 # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
@@ -11,6 +26,9 @@ intersphinx_mapping = {}
 #
 
 # latest|{releasename}
+intersphinx_mapping = {}
+doc_url = 'https://docs.onap.org/projects'
+master_doc = 'index'
 branch = 'latest'
 intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
 intersphinx_mapping['onap-aai-sparky-be'] = ('{}/onap-aai-sparky-be/en/%s'.format(doc_url) % branch, None)
diff --git a/docs/conf.yaml b/docs/conf.yaml
deleted file mode 100644 (file)
index ab59281..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
----
-project_cfg: onap
-project: onap
-
-# Change this to ReleaseBranchName to modify the header
-default-version: latest
-#
index cc2d12c..dc55d67 100644 (file)
@@ -1,6 +1,8 @@
-lfdocs-conf
 sphinx>=4.2.0  # BSD
 sphinx-rtd-theme>=1.0.0  # MIT
+sphinxcontrib-blockdiag  # BSD
+sphinxcontrib-seqdiag # BSD
+sphinxcontrib-swaggerdoc
 autopep8
 sphinxcontrib-spelling
 pylint