Skip to content

Commit d0eb23d

Browse files
committedJan 9, 2023
add docs configuration
1 parent 3506a92 commit d0eb23d

File tree

4 files changed

+105
-0
lines changed

4 files changed

+105
-0
lines changed
 

‎.readthedocs.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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.10"
13+
14+
mkdocs:
15+
configuration: mkdocs.yml
16+
17+
# Optionally declare the Python requirements required to build your docs
18+
python:
19+
install:
20+
- requirements: docs/requirements.txt

‎docs/requirements.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mkdocs
2+
mkdocstrings[python]
3+
markdown-include

‎docs/requirements.txt

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#
2+
# This file is autogenerated by pip-compile with python 3.10
3+
# To update, run:
4+
#
5+
# pip-compile docs/requirements.in
6+
#
7+
click==8.1.3
8+
# via mkdocs
9+
ghp-import==2.1.0
10+
# via mkdocs
11+
griffe==0.22.0
12+
# via mkdocstrings-python
13+
importlib-metadata==4.12.0
14+
# via mkdocs
15+
jinja2==3.1.2
16+
# via
17+
# mkdocs
18+
# mkdocstrings
19+
markdown==3.3.7
20+
# via
21+
# markdown-include
22+
# mkdocs
23+
# mkdocs-autorefs
24+
# mkdocstrings
25+
# pymdown-extensions
26+
markdown-include==0.6.0
27+
# via -r docs/requirements.in
28+
markupsafe==2.1.1
29+
# via
30+
# jinja2
31+
# mkdocstrings
32+
mergedeep==1.3.4
33+
# via mkdocs
34+
mkdocs==1.3.0
35+
# via
36+
# -r docs/requirements.in
37+
# mkdocs-autorefs
38+
# mkdocstrings
39+
mkdocs-autorefs==0.4.1
40+
# via mkdocstrings
41+
mkdocstrings[python]==0.19.0
42+
# via
43+
# -r docs/requirements.in
44+
# mkdocstrings-python
45+
mkdocstrings-python==0.7.1
46+
# via mkdocstrings
47+
packaging==21.3
48+
# via mkdocs
49+
pymdown-extensions==9.5
50+
# via mkdocstrings
51+
pyparsing==3.0.9
52+
# via packaging
53+
python-dateutil==2.8.2
54+
# via ghp-import
55+
pyyaml==6.0
56+
# via
57+
# mkdocs
58+
# pyyaml-env-tag
59+
pyyaml-env-tag==0.1
60+
# via mkdocs
61+
six==1.16.0
62+
# via python-dateutil
63+
watchdog==2.1.9
64+
# via mkdocs
65+
zipp==3.8.0
66+
# via importlib-metadata

‎mkdocs.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
site_name: Basic MkDocs Example Project
2+
theme:
3+
name: readthedocs
4+
highlightjs: true
5+
plugins:
6+
- search
7+
- mkdocstrings:
8+
handlers:
9+
# See: https://mkdocstrings.github.io/python/usage/
10+
python:
11+
options:
12+
docstring_style: sphinx
13+
markdown_extensions:
14+
- markdown_include.include:
15+
base_path: .
16+
- admonition

0 commit comments

Comments
 (0)
Please sign in to comment.