Use Sphinx book theme for documentation

This commit is contained in:
Cédric Krier
2023-09-01 09:44:09 +02:00
parent 6d4b80cd6d
commit 6a06579e13
619 changed files with 4728 additions and 416 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ do
module=`basename "${path}"`
printf "Check $module ... "
cookiecutter --no-input cookiecutter-module -o "${OUTPUT}" module_name="${module}"
for file in tox.ini .readthedocs.yaml doc/conf.py
for file in tox.ini .readthedocs.yaml doc/conf.py doc/requirements-doc.txt
do
cmp "${path}/${file}" "${OUTPUT}/${module}/${file}"
done
+4
View File
@@ -5,6 +5,10 @@ OUTPUTDIR=`realpath "${1}"`
mkdir -p "${OUTPUTDIR}"
export DOC_BASE_URL=$OUTPUTDIR
find . -name 'cookiecutter*' -prune -o -path '*/doc/requirements-doc.txt' -print | while read path; do
pip install -r "${path}"
done
(find . -name 'cookiecutter*' -prune -o -path '*/doc/conf.py' -print | while read path; do
path=`dirname "${path}"`
path=`dirname "${path}"`