Skip to content

Commit

Permalink
➕ Use sphinxcontrib-autofile for documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Sep 2, 2023
1 parent 1e93241 commit d26c601
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
9 changes: 4 additions & 5 deletions docs/api/pkgbuild-language-server.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# pkgbuild-language-server

````{eval-rst}
```{eval-sh}
cd ..
scripts/generate-api.md.pl src/*/*.py
```{autofile} ../../src/*/*.py
---
module:
---
```
````
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"sphinx.ext.viewcode",
"sphinx.ext.githubpages",
"myst_parser",
"sphinxcontrib.autofile",
"sphinxcontrib.requirements_txt",
"sphinxcontrib.eval",
]

myst_heading_anchors = 3
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

-e .
myst-parser
sphinxcontrib-eval
sphinxcontrib-autofile
sphinxcontrib-requirements-txt
10 changes: 0 additions & 10 deletions scripts/generate-api.md.pl

This file was deleted.

0 comments on commit d26c601

Please sign in to comment.