From: JohnKeeney Date: Mon, 16 Dec 2024 17:18:36 +0000 (+0000) Subject: Fix RTD job - att #3 X-Git-Tag: 2.9.0 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=dfd9e76ccaa3d32068223d2ddb3fc696ff0130e4;p=nonrtric%2Fplt%2Fa1policymanagementservice.git Fix RTD job - att #3 Issue-ID: NONRTRIC-1041 Change-Id: Id36aaa20a9e314e2db20c9e3cd998f43804e8840 Signed-off-by: JohnKeeney --- diff --git a/.readthedocs.yaml b/.readthedocs.yaml index de0fead..e34d4bb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -27,9 +27,12 @@ build: tools: python: "3.11" jobs: - post_build: - - mkdir -p ${READTHEDOCS_OUTPUT}html/openapi - - cp -v -r docs/offeredapis/openapitoolgen/offeredapis/pms-api/* ${READTHEDOCS_OUTPUT}html/openapi + pre_build: + - mkdir --parents _readthedocs/html/ + - mkdir --parents _readthedocs/html/offeredapis/pms-api/ + - mkdir --parents _readthedocs/tmp/doctrees + - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees ./docs/ _readthedocs/html/ + - cp -v -r ./docs/offeredapis/openapitoolgen/offeredapis/pms-api/* _readthedocs/html/offeredapis/pms-api/ python: install: diff --git a/docs/api-docs.rst b/docs/api-docs.rst index 0f0b289..8aeb6dd 100644 --- a/docs/api-docs.rst +++ b/docs/api-docs.rst @@ -13,6 +13,6 @@ To view the Open API specification for A1 PMS, please see the following. .. raw:: html diff --git a/docs/conf.py b/docs/conf.py index 437bd21..cb43b80 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,7 +32,7 @@ linkcheck_ignore = [ extensions = ['sphinx.ext.intersphinx',] html_extra_path = [ - 'offeredapis/openapitoolgen/offeredapis/pms-api' + 'offeredapis/openapitoolgen' ] #intershpinx mapping with other projects diff --git a/docs/developer-guide.rst b/docs/developer-guide.rst index 9106726..665686b 100644 --- a/docs/developer-guide.rst +++ b/docs/developer-guide.rst @@ -17,7 +17,7 @@ Docker & Kubernetes deployment ============================== Information on running and configuring the functions in Docker can be found -on the `Run in Docker wiki page `_ +on the `Run in Docker wiki page `_ Non-RT RIC can be also deployed in a Kubernetes cluster, `it/dep repository `_. hosts deployment and integration artifacts. Instructions and helm charts to deploy the Non-RT-RIC functions in the @@ -26,6 +26,6 @@ OSC NONRTRIC integrated test environment can be found in the *./nonrtric* direct For more information see `Integration and Testing documentation on the O-RAN-SC wiki `_. For more information on installation of NonRT-RIC in Kubernetes, -see `Deploy NONRTRIC functions in Kubernetes `_. +see `Deploy NONRTRIC functions in Kubernetes `_. diff --git a/docs/installation-guide.rst b/docs/installation-guide.rst index d720c1a..d36cbe0 100644 --- a/docs/installation-guide.rst +++ b/docs/installation-guide.rst @@ -18,13 +18,13 @@ Install with Docker +++++++++++++++++++ Information on running and configuring the functions in Docker can be found -on the `Run in Docker wiki page `_ +on the `Run in Docker wiki page `_ Install with Helm +++++++++++++++++ Information on running and configuring the functions in Kubernetes can be found -on the `Run in Kubernetes wiki page `_ +on the `Run in Kubernetes wiki page `_ Helm charts and an example recipe are provided in the `it/dep repo `_, under "nonrtric". By modifying the variables named "installXXX" in the beginning of the example recipe file, which