Skip to content

Commit 2cf6ec3

Browse files
committed
docs: adjust to recent hawkmoth/RTD changes
Ensure we stay compatible with the recent changes to hawkmoth and RTD. Signed-off-by: David Rheinsberg <[email protected]>
1 parent d50000c commit 2cf6ec3

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.readthedocs.yaml renamed to src/docs/.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55
build:
66
apt_packages:
77
- "clang"
8-
os: "ubuntu-22.04"
8+
os: "ubuntu-lts-latest"
99
tools:
1010
python: "3"
1111

@@ -14,7 +14,6 @@ formats: "all"
1414
python:
1515
install:
1616
- requirements: "src/docs/requirements.txt"
17-
system_packages: true
1817

1918
sphinx:
2019
configuration: "src/docs/conf.py"

src/docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
exclude_patterns = []
2626

2727
extensions = [
28+
'capidocs.kerneldoc',
2829
'hawkmoth',
29-
'hawkmoth.ext.transformations',
3030
]
3131

3232
# Hawkmoth Options
@@ -37,10 +37,6 @@
3737

3838
hawkmoth_root = os.path.abspath('..')
3939

40-
cautodoc_transformations = {
41-
'kerneldoc': capidocs.kerneldoc.hawkmoth_converter,
42-
}
43-
4440
# HTML Options
4541

4642
html_theme = 'sphinx_rtd_theme'

src/docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
c-apidocs>=0.0.2
1+
c-apidocs>=1.0.0
22
clang>=6
3-
hawkmoth>=0.7
3+
hawkmoth>=0.20

0 commit comments

Comments
 (0)