From 2f641311e0d84cabd5dee9ed7752efcc8c4e4e0e Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 30 Sep 2023 01:44:32 +0800 Subject: [PATCH] chore(mkdocs): update RTD build config and add tilde-specifc config Signed-off-by: Andrei Jiroh Halili --- .readthedocs.yaml | 6 ++++++ mkdocs.tilde.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 mkdocs.tilde.yml diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 131b329..8ac2c5f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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: diff --git a/mkdocs.tilde.yml b/mkdocs.tilde.yml new file mode 100644 index 0000000..ab0c1d8 --- /dev/null +++ b/mkdocs.tilde.yml @@ -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 \ No newline at end of file