summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-03-22 11:30:40 +0100
committerCedric Ollivier <cedric.ollivier@orange.com>2022-07-06 15:54:29 +0000
commit8dd0a874db97e1e293c71d96c2b7c7ad0ef42837 (patch)
tree52e8ba98901a25a98c2dd73617bda95976ec92bf
parent8f5dcf3045566d364de9384b1e7569adfa6ed7fa (diff)
Remove lf docs conf
Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I05be46029920367a2792c32da380dd19cdba06e3
-rw-r--r--docs/conf.py26
-rw-r--r--docs/conf.yaml7
-rw-r--r--etc/requirements-docs.txt4
3 files changed, 25 insertions, 12 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 77863e9fd..f8f70bbc1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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
index ab5928131..000000000
--- a/docs/conf.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
----
-project_cfg: onap
-project: onap
-
-# Change this to ReleaseBranchName to modify the header
-default-version: latest
-#
diff --git a/etc/requirements-docs.txt b/etc/requirements-docs.txt
index cc2d12c20..dc55d67b4 100644
--- a/etc/requirements-docs.txt
+++ b/etc/requirements-docs.txt
@@ -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