mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 00:13:40 +00:00
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:
parent
a670c7ecb1
commit
2f641311e0
2 changed files with 12 additions and 0 deletions
|
@ -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
6
mkdocs.tilde.yml
Normal 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
|
Loading…
Reference in a new issue