Change-Id: I66bca6ca33058c3120c6999296feb90553fbb0f1
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
# documentation
.tox
+docs/_build/*
---
-# pip requirements file for building sphinx docs (e.g. nbsphinx)
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Required
version: 2
-sphinx:
- configuration: docs/conf.py
+formats:
+ - htmlzip
+
+build:
+ image: latest
-# Use python 3 for building
python:
- version: 3.6
- install:
- - requirements: docs/requirements-docs.txt
+ version: 3.7
+ install:
+ - requirements: docs/requirements-docs.txt
+
+sphinx:
+ configuration: docs/conf.py
-from docs_conf import *
-master_doc = 'index'
+from docs_conf.conf import *
+linkcheck_ignore = [
+ 'http://localhost.*',
+ 'http://127.0.0.1.*',
+ 'https://gerrit.o-ran-sc.org.*'
+]
---
-project_cfg: lfdocs
+project_cfg: oran
project: portal-ric-dashboard
[testenv:docs-linkcheck]
basepython = python3
deps = sphinx
+ sphinx-rtd-theme
+ sphinxcontrib-httpdomain
+ recommonmark
+ lfdocs-conf
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck