Skip to content

Commit

Permalink
fix: discover plugins for building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Nov 8, 2023
1 parent f4a5d16 commit 22018e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
20 changes: 2 additions & 18 deletions guide/how_to/options.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ The key for a section is **bold**.

```{python}
#| output: asis
from kimmdy.plugins import discover_plugins
from kimmdy.schema import get_combined_scheme, flatten_scheme, generate_markdown_table
discover_plugins()
scheme = get_combined_scheme()
flat_scheme = flatten_scheme(scheme)
table = generate_markdown_table(flat_scheme)
Expand All @@ -59,24 +61,6 @@ print(
```


```{python}
#| eval: false
#| echo: false
# for debugging
from kimmdy.config import Config
from pathlib import Path
import os
try:
os.chdir("example/example_ala/")
except:
pass
config = Config(Path('kimmdy.yml'))
config.reactions
```

## Example `kimmdy.yml` Files

```{.yaml filename='kimmdy.yml'}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e .[devel]
-e .[dev]
# git+ssh://git@github.com/hits-mbm-dev/grappa.git
## replace with path to your local copy of the plugins
## for plugin development and kimmdy testing
Expand Down

0 comments on commit 22018e4

Please sign in to comment.