Use Sphinx book theme for documentation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}"`
|
||||
|
||||
Reference in New Issue
Block a user