Merge branch 'main' into manual_description

This commit is contained in:
Tom van Woudenberg 2024-10-09 09:16:41 +02:00
commit 1ea4faffd3
2 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,5 @@
title: Template title: Template
author: TeachBooks Team from Delft university of Technology, built with <a href="https://teachbooks.tudelft.nl/">TeachBooks</a> and <a href="https://jupyterbook.org/">Jupyter Book</a>, <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license noopener noreferrer"">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""> #Add your own name here author: TeachBooks Team from Delft University of Technology, built with <a href="https://teachbooks.tudelft.nl/">TeachBooks</a> and <a href="https://jupyterbook.org/">Jupyter Book</a>, <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="license noopener noreferrer"">CC BY 4.0<img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt=""><img style="height:22px!important;margin-left:3px;vertical-align:text-bottom;" src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt=""></a> #add your own name here
logo: figures/TUDelft_logo_rgb.png #add your own logo here logo: figures/TUDelft_logo_rgb.png #add your own logo here
execute: execute:
@ -10,7 +10,6 @@ only_build_toc_files: true
html: html:
favicon : "figures/favicon.ico" favicon : "figures/favicon.ico"
baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL baseurl : "https://teachbooks.github.io/template/" #Replace this with your own URL
home_page_in_navbar : true
sphinx: sphinx:
config: config:
@ -26,9 +25,12 @@ sphinx:
launch_buttons: launch_buttons:
thebe: true thebe: true
html_show_copyright: false html_show_copyright: false
html_last_updated_fmt: '%B %-d, %Y'
extra_extensions: extra_extensions:
- sphinx.ext.imgconverter - sphinx.ext.imgconverter
- jupyterbook_patches - jupyterbook_patches
- download_link_replacer
- sphinx.ext.extlinks
bibtex_bibfiles: bibtex_bibfiles:
- references.bib - references.bib

View file

@ -1,15 +1,14 @@
# first list the packages you wish to download from PyPI # first list the packages you wish to download from PyPI
teachbooks # depends on jupyter-book teachbooks # depends on jupyter-book
jupyterbook-patches
# numpy # numpy
# docutils version for reference page formatting # docutils version for reference page formatting
docutils==0.17.1 docutils==0.17.1
# now list the packages (and the respective url) you wish to download from the GitLab package registry # now list the packages (and the respective url) you wish to download from the GitLab package registry
--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/17983/packages/pypi/simple #temporarily disable --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple
jupyterbook_patches ~= 0.1.4 #temporarily disable
--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple #temporarily disable
sphinx-thebe ~= 0.9.9 #temporarily disable sphinx-thebe ~= 0.9.9 #temporarily disable
# lastly any packages you wish to download directly from a Git repository # lastly any packages you wish to download directly from a Git repository
download_link_replacer @ git+https://gitlab.tudelft.nl/mude/sphinx-download-link-replacer #temporarily disable download_link_replacer @ git+https://gitlab.tudelft.nl/mude/sphinx-download-link-replacer