Skip to content

Commit

Permalink
Add additional API documentation - Fix RTD job (2)
Browse files Browse the repository at this point in the history
Issue-ID: SMO-155
Change-Id: I0cef0fb9fb7ae9bf3f8fe87436354e9f6e67ad96
Signed-off-by: JohnKeeney <[email protected]>
  • Loading branch information
JohnKeeneyEST committed Jul 11, 2024
1 parent 850b994 commit c218cca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ build:
python: "3.11"
jobs:
post_build:
- mkdir -p $READTHEDOCS_OUTPUT/html/offeredapis/html/
- cp -v docs/offeredapis/html/index.html $READTHEDOCS_OUTPUT/html/offeredapis/html/
- cp -v docs/offeredapis/index.html $READTHEDOCS_OUTPUT/html/offeredapis/
- cp -v docs/offeredapis/topology-exposure-inventory-openapi.yaml $READTHEDOCS_OUTPUT/html/offeredapis/
Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
'page': 'offeredapis/topology-exposure-inventory-openapi',
'spec': './offeredapis/topology-exposure-inventory-openapi.yaml',
'embed': True,
'opts': {
'suppress-warnings': True
}
}
]
html_extra_path = [
Expand Down

0 comments on commit c218cca

Please sign in to comment.