Skip to content

Commit

Permalink
Fixed multiversion
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarcia360 committed Sep 21, 2020
1 parent 9b9b5fb commit c56731c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ linkcheck: setup

.PHONY: multiversion
multiversion: setup
cd .. && sphinx-multiversion docs/_source docs/$(BUILDDIR)/dirhtml \
--pre-build="./_utils/doxygen.sh" \
--pre-build="cp -Tr source $(SOURCE_DIR)" \
--pre-build="cd $(SOURCE_DIR) && find -name README.md -execdir mv '{}' index.md ';'"
poetry run ./_utils/multiversion.sh
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."

6 changes: 6 additions & 0 deletions docs/_utils/multiversion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/bash

cd .. && sphinx-multiversion docs/_source docs/_build/dirhtml \
--pre-build="./_utils/doxygen.sh" \
--pre-build="cp -Tr source _source" \
--pre-build="cd _source && find -name README.md -execdir mv '{}' index.md ';'"

0 comments on commit c56731c

Please sign in to comment.