Skip to content

Commit 67dec18

Browse files
authored
Merge pull request #64 from mahmud1/readthedocs
setup readthedocs
2 parents c059481 + 0fb6476 commit 67dec18

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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 OS, Python version and other tools you might need
9+
build:
10+
os: ubuntu-24.04
11+
tools:
12+
python: "3.13"
13+
# You can also specify other tool versions:
14+
# nodejs: "23"
15+
# rust: "1.82"
16+
# golang: "1.23"
17+
18+
# Build documentation in the "docs/" directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# Optionally build your docs in additional formats such as PDF and ePub
23+
# formats:
24+
# - pdf
25+
# - epub
26+
27+
# Optional but recommended, declare the Python requirements required
28+
# to build your documentation
29+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30+
python:
31+
install:
32+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sphinx>=4.1.1
2+
sphinx-argparse
3+
sphinx-autodoc-typehints
4+
sphinxcontrib-jquery
5+
sphinx_rtd_theme

0 commit comments

Comments
 (0)