mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-24 09:23:48 +00:00
34a2eb5ce4
Also generally fix some issues relating to build scripts on RTD and some bloody CI hellscapes over at Pipfile. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
40 lines
1 KiB
YAML
40 lines
1 KiB
YAML
# Read the Docs configuration file for MkDocs projects
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
# Set the version of Python and other tools you might need
|
|
build:
|
|
os: ubuntu-22.04
|
|
tools:
|
|
python: "3.11"
|
|
#nodejs: 18
|
|
jobs:
|
|
post_checkout:
|
|
# Needed for some plugins/extensions to work
|
|
- git fetch --unshallow || true
|
|
post_build:
|
|
- |
|
|
mkdir $READTHEDOCS_OUTPUT/api
|
|
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
|
|
- libffi-dev
|
|
- libjpeg-dev
|
|
- libpng-dev
|
|
- libz-dev
|
|
- pngquant
|
|
|
|
mkdocs:
|
|
configuration: mkdocs.readthedocs.yml
|
|
fail_on_warning: false
|
|
|
|
# Optionally declare the Python requirements required to build your docs
|
|
python:
|
|
install:
|
|
- requirements: requirements.txt
|