Skip to content
Snippets Groups Projects
Commit 4639d0f7 authored by Maciej Topyla's avatar Maciej Topyla
Browse files

Update mkdocs.yml, .gitlab-ci.yml

parent dc2f2685
No related branches found
No related tags found
3 merge requests!34Draft: Configure and optimise mathjax for SVG and speed,!33Draft: Merging a new minimal version of the website from branch:enablingsearch,!26Fixing search function
Pipeline #120839 failed
......@@ -16,6 +16,17 @@ build lectures:
- site
expire_in: 1 week
compile mathjax:
image: gitlab.kwant-project.org:5005/qt-restricted/registry/mathjax-jsdom
script:
- find site -name "*.html" | xargs -L1 mathjax-jsdom-mod
artifacts:
paths:
- site
expire_in: 1 week
needs:
- build lectures
.prepare_deploy: &prepare_deploy
stage: deploy
only:
......@@ -41,6 +52,9 @@ build lectures:
- chmod 644 ~/.ssh/known_hosts
script:
- "rsync -rv site/* mathforquantum@tnw-tn1.tudelft.net:$DEPLOY_PATH"
needs:
- compile mathjax
deploy master version:
<<: *prepare_deploy
......
......@@ -45,9 +45,9 @@ extra_css:
extra_javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_HTML'
#- 'scripts/thebelab-custom.js'
- 'scripts/thebelab-custom.js'
- 'scripts/mathjaxhelper.js'
#- 'scripts/thebelabhelper.js'
- 'scripts/thebelabhelper.js'
- 'https://polyfill.io/v3/polyfill.min.js?features=es6'
- 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'
- 'https://cdn.plot.ly/plotly-latest.min.js'
......
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