mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-05-04 17:50:51 +05:00
Switch the readthedoc build to Nix
This commit is contained in:
parent
95e2de368f
commit
f76adf9030
@ -15,15 +15,5 @@ build:
|
|||||||
pre_install:
|
pre_install:
|
||||||
- mkdir -p ~/.nix ~/.config/nix
|
- mkdir -p ~/.nix ~/.config/nix
|
||||||
- echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
|
- 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"
|
build:
|
||||||
|
- proot -b ~/.nix:/nix /bin/sh -c "nix build -L .#documentation && cp -rv result $READTHEDOCS_OUTPUT/html/"
|
||||||
sphinx:
|
|
||||||
configuration: docs/conf.py
|
|
||||||
|
|
||||||
formats:
|
|
||||||
- pdf
|
|
||||||
- epub
|
|
||||||
|
|
||||||
python:
|
|
||||||
install:
|
|
||||||
- requirements: docs/requirements.txt
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
sphinx ~= 5.3
|
|
||||||
sphinx_rtd_theme ~= 1.1
|
|
||||||
myst-parser ~= 0.18
|
|
||||||
linkify-it-py ~= 2.0
|
|
Loading…
x
Reference in New Issue
Block a user