Skip to content

Commit b66210d

Browse files
authored
1 parent bbce302 commit b66210d

16 files changed

+1074
-64
lines changed

.readthedocs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ mkdocs:
1414
configuration: newdocs/mkdocs.yml
1515

1616
# Optionally declare the Python requirements required to build your docs
17-
# python:
18-
# install:
19-
# - requirements: docs/requirements.txt
17+
python:
18+
install:
19+
- requirements: newdocs/requirements.txt

Pipfile

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ flake8 = "==7.0.0"
1111
flake8-bugbear = "==24.2.6"
1212
flake8-bandit = "==4.1.1"
1313
mkdocs = "==1.5.3"
14+
mkdocstrings = "0.25.1"
15+
mkdocstrings-python = "1.10.2"
1416
mypy = "==1.9.0"
1517
pdoc3 = "==0.10.0"
1618
pre-commit = "==3.5.0"

Pipfile.lock

+332-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

newdocs/mkdocs.yml

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ theme: readthedocs
66
# repo_url: https://github.com/jackdewinter/pymarkdown
77
docs_dir: src
88
site_dir: site
9+
plugins:
10+
- search
11+
- mkdocstrings:
12+
handlers:
13+
python:
14+
paths: [..]
915
nav:
1016
- "Introduction":
1117
- 'index.md'
@@ -21,6 +27,7 @@ nav:
2127
- rules.md
2228
- "Devloper Guide":
2329
- 'api.md'
30+
- "API Listing": api/pymarkdownapi.md
2431
- 'development.md'
2532
- "Usual Project Stuff":
2633
- 'usual.md'

newdocs/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mkdocstrings==0.25.1
2+
mkdocstrings-python==1.10.2

0 commit comments

Comments
 (0)