Skip to content

Commit 9cae9d1

Browse files
committed
build: fix readthedocs html install path
RTD expects the html code at a specific location, thus copy the generated html files to this location. Signed-off-by: Daniel Wagner <[email protected]>
1 parent fdf2d82 commit 9cae9d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.readthedocs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ build:
1818
commands:
1919
- pip install lxml
2020
- scripts/build.sh docs
21-
- cp .build-ci/Documentation/nvme.html .build-ci/Documentation/index.html
22-
23-
output: .build-ci/Documentation
21+
- mkdir -p $READTHEDOCS_OUTPUT/html/
22+
- cp .build-ci/*.html > $READTHEDOCS_OUTPUT/html/
23+
- mv $READTHEDOCS_OUTPUT/html/nvme.html $READTHEDOCS_OUTPUT/html/index.html
2424

2525
formats: []

0 commit comments

Comments
 (0)