Skip to content

Commit ed0db23

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

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Diff for: .readthedocs.yaml

+9
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.9
8+
install:
9+
- requirements: docs/requirements.txt

Diff for: docs/requirements.txt

+4
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

Diff for: flake.nix

+1-1
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)