Skip to content

Commit

Permalink
docs(build): allow building individual docs without rendering api doc…
Browse files Browse the repository at this point in the history
…s first
  • Loading branch information
cpcloud committed Dec 10, 2023
1 parent cf93043 commit 529ee6c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/contribute/05_reference.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,17 @@ class TestConf(BackendTest):
...
```

{{< include ../reference/BackendTest.qmd >}}
{{< include ../reference/ServiceBackendTest.qmd >}}
```{python}
#| echo: false
#| output: asis
import os
paths = [
"../reference/BackendTest.qmd",
"../reference/ServiceBackendTest.qmd",
]
for path in filter(os.path.exists, paths):
with open(path) as f:
print(f.read())
```

0 comments on commit 529ee6c

Please sign in to comment.