JvD_Ericsson | d182503 | 2024-06-07 13:53:56 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2024 Ericsson |
| 3 | # Modifications Copyright (C) 2024 OpenInfra Foundation Europe |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | --- |
| 20 | version: 2 |
| 21 | |
| 22 | formats: |
| 23 | - htmlzip |
| 24 | |
| 25 | build: |
| 26 | os: ubuntu-22.04 |
| 27 | tools: |
| 28 | python: "3.11" |
JohnKeeney | 669c648 | 2024-07-09 18:49:32 +0100 | [diff] [blame] | 29 | jobs: |
| 30 | post_build: |
JohnKeeney | c218cca | 2024-07-11 14:20:04 +0100 | [diff] [blame] | 31 | - mkdir -p $READTHEDOCS_OUTPUT/html/offeredapis/html/ |
JohnKeeney | 850b994 | 2024-07-11 12:58:28 +0100 | [diff] [blame] | 32 | - cp -v docs/offeredapis/html/index.html $READTHEDOCS_OUTPUT/html/offeredapis/html/ |
JohnKeeney | 669c648 | 2024-07-09 18:49:32 +0100 | [diff] [blame] | 33 | - cp -v docs/offeredapis/index.html $READTHEDOCS_OUTPUT/html/offeredapis/ |
| 34 | - cp -v docs/offeredapis/topology-exposure-inventory-openapi.yaml $READTHEDOCS_OUTPUT/html/offeredapis/ |
| 35 | - cp -v docs/offeredapis/topology-exposure-inventory-openapi.json $READTHEDOCS_OUTPUT/html/offeredapis/ |
JvD_Ericsson | d182503 | 2024-06-07 13:53:56 +0100 | [diff] [blame] | 36 | python: |
| 37 | install: |
| 38 | - requirements: docs/requirements-docs.txt |
| 39 | |
| 40 | sphinx: |
| 41 | configuration: docs/conf.py |