Skip to content
Snippets Groups Projects
Commit 2a58e450 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:rocket: fix documentation generation

The output directory is missing the branch name.
parent fec1532c
No related branches found
No related tags found
2 merge requests!99📚 include readme in index directly,!98🚀 fix documentation generation
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
- apk add make - apk add make
- cd doc - cd doc
- pip3 install -r requirements hg-evolve - pip3 install -r requirements hg-evolve
- for language in en fr ; do LANGUAGE=$language BUILDDIRSUFFIX=/$CI_COMMIT_HG_BRANCH make html ; done - for language in en fr ; do make LANGUAGE=$language BUILDDIRSUFFIX=/$CI_COMMIT_HG_BRANCH html ; done
publish_documentation: publish_documentation:
needs: needs:
......
...@@ -34,4 +34,4 @@ ...@@ -34,4 +34,4 @@
# Catch-all target: route all unknown targets to Sphinx using the new # Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile autotodo %: Makefile autotodo
@$(SPHINXBUILD) -b $@ "$(SOURCEDIR)" "$(BUILDDIR)/$@/$(LANGUAGE)$(BUILDDIRSUFFIX)" -d "$(BUILDDIR)$(BUILDDIRSUFFIX)/doctrees/$(LANGUAGE)" $(SPHINXOPTS) -D language=$(LANGUAGE) $(O) @$(SPHINXBUILD) -b $@ "$(SOURCEDIR)" "$(BUILDDIR)/$@/$(LANGUAGE)$(BUILDDIRSUFFIX)" -d "$(BUILDDIR)/doctrees/$(LANGUAGE)$(BUILDDIRSUFFIX)" $(SPHINXOPTS) -D language=$(LANGUAGE) $(O)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment