Skip to content

Commit 1663392

Browse files
authored
docs: Add a ReadTheDocs config file (sqlc-dev#2327)
1 parent 1f43e7b commit 1663392

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.readthedocs.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: docs/conf.py
17+
18+
# We recommend specifying your dependencies to enable reproducible builds:
19+
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

devenv.nix

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
pkgs.go
88
pkgs.git
99
pkgs.git-cliff
10+
pkgs.python311
1011
];
1112
}

0 commit comments

Comments
 (0)