Skip to content

Commit acbfe45

Browse files
committed
docs: Update readthedocs config
1 parent 7ea88a4 commit acbfe45

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ FROM ghcr.io/zjkmxy/nfd-codespace:0.7.0
1515
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
1616

1717
RUN pip3 --disable-pip-version-check --no-cache-dir install rstcheck sphinx-rtd-theme sphinx-autodoc-typehints \
18-
&& rm -rf /tmp/pip-tmp
18+
readthedocs-sphinx-ext && rm -rf /tmp/pip-tmp
1919

2020
RUN ndnsec-keygen /test | ndnsec-install-cert -

.readthedocs.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ sphinx:
1616
# Optionally build your docs in additional formats such as PDF and ePub
1717
formats: all
1818

19+
build:
20+
image: latest
21+
1922
# Optionally set the version of Python and requirements required to build your docs
2023
python:
21-
version: 3.7
24+
version: 3.8
2225
install:
2326
- requirements: docs/requirements.txt

docs/requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
sphinx-rtd-theme>=0.4.3
2-
sphinx-autodoc-typehints==1.10.3
1+
Sphinx>=3.2.1
2+
sphinx-rtd-theme>=0.5.0
3+
sphinx-autodoc-typehints>=1.11.0
34
pycryptodomex>=3.8.2
45
pygtrie>=2.3.2

0 commit comments

Comments
 (0)