diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 99a66d4..5ebe5a1 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,15 +15,5 @@ build: pre_install: - mkdir -p ~/.nix ~/.config/nix - echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf - - proot -b ~/.nix:/nix /bin/sh -c "nix build -L .#optionsDoc && cp -v result docs/options.md" - -sphinx: - configuration: docs/conf.py - -formats: - - pdf - - epub - -python: - install: - - requirements: docs/requirements.txt + build: + - proot -b ~/.nix:/nix /bin/sh -c "nix build -L .#documentation && cp -rv result $READTHEDOCS_OUTPUT/html/" diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 2211dd5..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -sphinx ~= 5.3 -sphinx_rtd_theme ~= 1.1 -myst-parser ~= 0.18 -linkify-it-py ~= 2.0