tools: cleanup: move conf.py under .hecat/ directory

This commit is contained in:
nodiscc 2023-07-24 20:32:25 +02:00
parent 9f2b184724
commit 64dce41ca3
No known key found for this signature in database
GPG key ID: 067FC4266A4B6909
2 changed files with 4 additions and 4 deletions

View file

@ -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']

View file

@ -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|<a href="https://github.com/pradyunsg/furo">Furo</a>|<a href="https://github.com/nodiscc/hecat/">hecat</a>, <a href="https://www.sphinx-doc.org/">sphinx</a> and <a href="https://github.com/pradyunsg/furo">furo</a>. Content under <a href="https://github.com/awesome-selfhosted/awesome-selfhosted-data/blob/master/LICENSE">CC-BY-SA 3.0</a> 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