diff --git a/conf.py b/.hecat/conf.py similarity index 95% rename from conf.py rename to .hecat/conf.py index 877d25155e..f1a76acfb6 100644 --- a/conf.py +++ b/.hecat/conf.py @@ -13,13 +13,13 @@ html_show_search_summary = True html_copy_source = False html_show_copyright = True html_use_opensearch = 'https://nodiscc.github.io/awesome-selfhosted-html-preview/' -html_favicon = '_static/favicon.ico' -html_logo = '_static/logo.svg' +html_favicon = '../_static/favicon.ico' +html_logo = '../_static/logo.svg' extensions = ['myst_parser', 'sphinx_design'] source_suffix = ['.md'] templates_path = ['_templates'] exclude_patterns = [] -html_static_path = ['_static'] +html_static_path = ['../_static'] # myst-parser configuration (https://myst-parser.readthedocs.io/en/latest/configuration.html) myst_enable_extensions = ['fieldlist'] diff --git a/Makefile b/Makefile index fd6a308b8d..46f9dbb701 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ export_html: install git clone https://github.com/$(HTML_REPOSITORY) mkdir html && source .venv/bin/activate && hecat --config .hecat/export-html.yml sed -i 's|Furo|hecat, sphinx and furo. Content under CC-BY-SA 3.0 license.|' .venv/lib/python*/site-packages/furo/theme/furo/page.html - source .venv/bin/activate && sphinx-build -b html -c ./ html/md/ html/html/ + source .venv/bin/activate && sphinx-build -b html -c .hecat/ html/md/ html/html/ rm -rf html/html/.buildinfo html/html/objects.inv html/html/.doctrees awesome-selfhosted-html-preview/* .PHONY: push_markdown # commit and push changes to the markdown repository