mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted-data.git
synced 2026-03-11 08:55:24 +00:00
tools: cleanup: move conf.py under .hecat/ directory
This commit is contained in:
parent
9f2b184724
commit
64dce41ca3
2 changed files with 4 additions and 4 deletions
|
|
@ -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']
|
||||
2
Makefile
2
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|<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
|
||||
|
|
|
|||
Loading…
Reference in a new issue