Fix doc ci

This commit is contained in:
Alejandro Gallo 2022-03-10 14:50:30 +01:00
parent 9cceaac1c1
commit 93ea08db81
2 changed files with 12 additions and 5 deletions

View File

@ -57,12 +57,17 @@ jobs:
nix-shell --run 'python --version' nix-shell --run 'python --version'
nix-shell --run 'sphinx-build --version' nix-shell --run 'sphinx-build --version'
- name: Make all - name: doxygen
run: | run: |
cd docs cd docs
make all nix-shell --run 'make doxygen'
- name: Make sphinx as the main - name: sphinx
run: |
cd docs
nix-shell --run 'make sphinx'
- name: Make sphinx as the main page
run: | run: |
cd docs cd docs
mv sphinx/* . mv sphinx/* .

View File

@ -1,11 +1,13 @@
DOXYGEN_INDEX = doxygen/html/index.html DOXYGEN_INDEX = doxygen/html/index.html
all: $(DOXYGEN_INDEX) sphinx all: doxygen sphinx
.PHONY: sphinx doxygen
doxygen: $(DOXYGEN_INDEX)
$(DOXYGEN_INDEX): $(DOXYGEN_INDEX):
doxygen Doxyfile doxygen Doxyfile
.PHONY: sphinx
SPHINX_BUILD_DIR = sphinx SPHINX_BUILD_DIR = sphinx
$(SPHINX_BUILD_DIR)/index.html: index.rst atrip.rst conf.py $(SPHINX_BUILD_DIR)/index.html: index.rst atrip.rst conf.py
sphinx-build . $(SPHINX_BUILD_DIR) sphinx-build . $(SPHINX_BUILD_DIR)