summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorxudan16 <xudan16@huawei.com>2023-02-13 15:36:55 +0800
committerDan Xu <xudan16@huawei.com>2023-02-27 09:04:25 +0000
commit486015325b01283f31595abd8fbdbf93530f6a5a (patch)
tree353127b4a598959027a963336ef1b69dbbd9db42 /docs/conf.py
parentfa45466bd639ff1e01c4af798cd44e346c5614a9 (diff)
Applying Piccolo themeHEADmaster
Signed-off-by: xudan16 <xudan16@huawei.com> Change-Id: If169f3250aaa8ba326919c98fb36170eb8402232 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/73866 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Gergely Csatari <gergely.csatari@nokia.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py54
1 files changed, 45 insertions, 9 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 61f42e3..395925b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,11 +1,47 @@
-# SPDX-FileCopyrightText: 2021 Anuket contributors
-#
-# SPDX-License-Identifier: Apache-2.0
+project = 'kuberef'
+html_title = "kuberef"
+copyright = '2023, Anuket. Licensed under CC BY 4.0'
+author = 'Anuket Project of Linux Foundation Networking'
-""" for docs
-"""
+exclude_patterns = [
+ '.tox',
+ 'README.rst'
+]
+extensions = [
+ 'sphinx.ext.intersphinx',
+ 'sphinx.ext.autosectionlabel'
+]
+html_theme = "piccolo_theme"
+linkcheck_ignore = [
+ 'http://127.0.0.1'
+]
+intersphinx_mapping = {
+ 'cntt': ('https://cntt.readthedocs.io/en/latest/', None),
+ 'ref_model': ('https://cntt.readthedocs.io/projects/rm/en/latest/', None),
+ 'ref_arch_kubernetes': ('https://cntt.readthedocs.io/projects/ra2/en/latest/', None),
+ 'ref_cert_RC2': ('https://cntt.readthedocs.io/projects/rc2/en/latest/', None),
+ 'ref_impl_RI2': ('https://cntt.readthedocs.io/projects/ri2/en/latest/', None)
+}
+autosectionlabel_prefix_document = True
+autosectionlabel_maxdepth = 3
+numfig = True
+numfig_format = {'figure': 'Figure %s', 'table': 'Table %s',
+ 'code-block': 'Listing %s', 'section': 'Section %s'}
-# pylint: disable=import-error
-# flake8: noqa
-from docs_conf.conf import *
-copyright = '2021, Anuket. Licensed under CC BY 4.0'
+html_static_path = ['_static']
+templates_path = ['_templates']
+html_css_files = [
+ 'custom.css',
+]
+
+html_show_sourcelink = False
+html_theme_options = {
+ # If False, expand all TOC entries
+ 'globaltoc_collapse': False,
+ # If True, show hidden TOC entries
+ 'globaltoc_includehidden': False,
+}
+
+# Inverse png
+html_logo = '_static/anuket-logo.png'
+html_favicon = '_static/favicon.ico'