Skip to content

Commit 529ee6c

Browse files
committed
docs(build): allow building individual docs without rendering api docs first
1 parent cf93043 commit 529ee6c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/contribute/05_reference.qmd

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,17 @@ class TestConf(BackendTest):
3333
...
3434
```
3535

36-
{{< include ../reference/BackendTest.qmd >}}
37-
{{< include ../reference/ServiceBackendTest.qmd >}}
36+
```{python}
37+
#| echo: false
38+
#| output: asis
39+
import os
40+
41+
paths = [
42+
"../reference/BackendTest.qmd",
43+
"../reference/ServiceBackendTest.qmd",
44+
]
45+
46+
for path in filter(os.path.exists, paths):
47+
with open(path) as f:
48+
print(f.read())
49+
```

0 commit comments

Comments
 (0)