-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkdocs.yaml
127 lines (126 loc) · 3.68 KB
/
mkdocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
site_name: Panther Documentation
site_description: "Protocol formal Analysis and formal Network Threat Evaluation Resources."
repo_url: https://github.com/ElNiak/PANTHER
edit_uri: edit/gh-pages/docs/
docs_dir: "docs"
watch: [mkdocs.yaml, README.md, CONTRIBUTING.md, CHANGELOG.md, panther]
copyright: Copyright © 2023 ElNiak - Christophe Crochet
theme:
name: material
features:
- navigation.indexes
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
nav:
- Home: home.md
- Installation: INSTALL.md
- Usage: USAGE.md
- Development:
- Contributing: CONTRIBUTING.md
# rest of the navigation...
# defer to gen-files + literate-nav
- Code Reference: reference/
# rest of the navigation...
markdown_extensions:
- attr_list
- admonition
- tables
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- callouts
- footnotes
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:pymdownx.emoji.gemoji
emoji_generator: !!python/name:pymdownx.emoji.to_alt
- pymdownx.highlight
- pymdownx.magiclink
- pymdownx.superfences
- pymdownx.highlight:
pygments_lang_class: true
- pymdownx.inlinehilite:
style_plain_text: python
- pymdownx.magiclink
- pymdownx.snippets:
base_path: [!relative $config_dir]
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- toc:
permalink: "¤"
use_directory_urls: false
plugins:
- search:
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
# - same-dir
# - exclude: # NOT WORKING
# glob:
# - '../panther/panther_worker/app/panther-ivy/**'
# - '../panther/outputs/**'
# - '../panther/panther_webapp/app/res/tmp/**'
# - '*.tmp'
# - '*.pdf'
# - '*.gz'
# - '**/setup.py'
# regex:
# - '.*\.(tmp|bin|tar)$'
- gen-files:
scripts:
- resources/gen_ref_pages.py # Path to the script generating reference pages
- literate-nav:
nav_file: SUMMARY.md # Path to the generated navigation file
# - section-index
- coverage
- mkdocstrings:
default_handler: python
show_inheritance_diagram: true
handlers:
python:
setup_commands:
- import sys
- from pathlib import Path
- sys.path.append(str(Path('.').resolve()))
paths:
- ../panther/panther_webapp/**
- ../panther/panther_worker/**
options:
docstring_options:
ignore_init_summary: true
docstring_section_style: list
filters: ["!^_"]
heading_level: 1
inherited_members: true
merge_init_into_class: true
parameter_headings: true
separate_signature: true
show_root_heading: true
show_root_full_path: false
show_signature_annotations: true
show_symbol_type_heading: true
show_symbol_type_toc: true
signature_crossrefs: true
summary: true