chore(mkdocs): update RTD build config and add tilde-specifc config

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-09-30 01:44:32 +08:00
parent a670c7ecb1
commit 2f641311e0
Signed by: ajhalili2006
GPG Key ID: 67BFC91B3DA12BE8
2 changed files with 12 additions and 0 deletions

View File

@ -11,8 +11,13 @@ build:
python: "3.11"
#nodejs: 18
jobs:
post_checkout:
# Needed for some plugins/extensions to work
- git fetch --unshallow || true
post_build:
- git rev-parse HEAD > $READTHEDOCS_OUTPUT/api/commit
- cp -rv markdown/.well-known $READTHEDOCS_OUTPUT/html/.well-known
- cp $READTHEDOCS_OUTPUT/html/assets/images/favicon.png $READTHEDOCS_OUTPUT/favicon.ico
apt_packages:
- libcairo2-dev
- libfreetype6-dev
@ -24,6 +29,7 @@ build:
mkdocs:
configuration: mkdocs.readthedocs.yml
fail_on_warning: false
# Optionally declare the Python requirements required to build your docs
python:

6
mkdocs.tilde.yml Normal file
View File

@ -0,0 +1,6 @@
INHERIT: mkdocs.yml
site_name: ~ajhalili2006 on tildeverse
docs_dir: markdown
site_dir: public_html
extra:
deployment: tilde # for the announcement banner