From ee232262c9b0819d2ed4132b607d6b3b26849a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Trzci=C5=84ski?= Date: Wed, 4 Dec 2024 09:28:13 +0100 Subject: [PATCH] [#69732] get myst loader from docs --- .ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci.yml b/.ci.yml index 6bacb03..5cea620 100644 --- a/.ci.yml +++ b/.ci.yml @@ -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/ .