diff options
| author | adamjanovsky | 2022-05-27 08:00:09 +0200 |
|---|---|---|
| committer | GitHub | 2022-05-27 08:00:09 +0200 |
| commit | 23832d00a541b2d42859bd3f1aeaca4c514bcb82 (patch) | |
| tree | 4f322859b8321ba88a47abbdcccbb7c50179e72e /docs/configuration.md | |
| parent | 0c12f7fec7778279a9c6ab1fc3d1b6868e7dcd86 (diff) | |
| parent | 1de0b977015e625db30a98f22cac4f098fbb404c (diff) | |
| download | sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.tar.gz sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.tar.zst sec-certs-23832d00a541b2d42859bd3f1aeaca4c514bcb82.zip | |
Merge pull request #196 from crocs-muni/issue/195-Docs
Docs
Diffstat (limited to 'docs/configuration.md')
| -rw-r--r-- | docs/configuration.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md new file mode 100644 index 00000000..93c926ba --- /dev/null +++ b/docs/configuration.md @@ -0,0 +1,26 @@ +--- +file_format: mystnb +mystnb: + remove_code_source: true + execution_mode: 'force' +--- +# Configuration + +The configuration is stored in yaml file `settings.yaml` at `sec_certs.config` package. Below are the supported options, descriptions and default values. + + +```{code-cell} python +from sec_certs.config import configuration +from myst_nb import glue +from IPython.display import Markdown + +cfg = configuration.config +text = "" +for key in cfg.__dict__: + text += f"`{key}`\n\n- Description: {cfg.get_desription(key)}\n" + text += f"- Default value: `{cfg.__getattribute__(key)}`\n\n" +glue("text", Markdown(text)) +``` +```{glue:md} text +:format: myst +``` |
