Skip to content

Commit

Permalink
[#69732] get myst loader from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Trzcin committed Dec 4, 2024
1 parent b5a40f4 commit ee23226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ build-docs:
script:
- cd docs
- |
printf "\nfrom antmicro_sphinx_utils.defaults import relative_to_git\nfrom pathlib import Path\ngit_path = relative_to_git(Path(__file__).parent)\nhtml_css_files = ['/stylesheets/MystEditor.css']\nhtml_js_files = [(f'/javascripts/myst_loader.js?docs-root={str(git_path).replace(\"/\", \"%%2F\")}', { 'type': 'module' })]" >> source/conf.py
printf "\nfrom antmicro_sphinx_utils.defaults import relative_to_git\nfrom pathlib import Path\ngit_path = relative_to_git(Path(__file__).parent)\nhtml_css_files = ['/git/repositories/myst-content-editor-deployment/branch/master/docs/MystEditor.css']\nhtml_js_files = [(f'/git/repositories/myst-content-editor-deployment/branch/master/docs/myst_loader.js?docs-root={str(git_path).replace(\"/\", \"%%2F\")}', { 'type': 'module' })]" >> source/conf.py
- make html
- cd ..
- tar cf $CI_DOCS_ARCHIVE -C docs/build/html/ .
Expand Down

0 comments on commit ee23226

Please sign in to comment.