Skip to content

Commit 6a4978a

Browse files
committed
Some bits for RTD
1 parent 52e11cb commit 6a4978a

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.readthedocs.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
3+
sphinx:
4+
configuration: docs/conf.py
5+
6+
python:
7+
version: 3.8
8+
install:
9+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Sphinx==4.0.2
2+
sphinx-rtd-theme==0.5.2
3+
myst-parser==0.15.1
4+
docutils<0.17

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
sha256 = "0rkrsvvqr6g2p3v5vq88jhfp5sd0r1jqjh3vc5y26jn30z8s4fkz";
192192
};
193193
});
194-
pythonWithPackages = pkgs.python3.withPackages (ps: [ps.sphinx myst-parser sphinx_rtd_theme]);
194+
pythonWithPackages = pkgs.python3.withPackages (ps: [ps.sphinx myst-parser sphinx_rtd_theme ps.pip]);
195195

196196
# Create a development shell of hls project
197197
# See https://github.com/NixOS/nixpkgs/blob/5d4a430472cafada97888cc80672fab255231f57/pkgs/development/haskell-modules/make-package-set.nix#L319

0 commit comments

Comments
 (0)