-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
112 lines (98 loc) · 3.2 KB
/
mkdocs.yml
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
site_name: HydraxMPM
site_description: Documentation for the HydraxMPM.
site_author: Retief Lubbe
repo_url: https://github.com/GrainLearning/HydraxMPM
repo_name: GrainLearning/HydraxMPM
nav:
- 'index.md'
- Tutorials: tutorials/1_granular_column.md
- How-to:
- Initialize material points: how-tos/initialize_material_points.md
- API:
- Config: api/config.md
# - Particles: api/particles.md
# - Shapefunctions: api/shapefunctions.md
# - Examples:
# - Two sphere impact: examples/two_sphere_impact.md
# - Solvers: api/solvers.md
# - Shape functions: api/shapefunctions.md
# - Materials: api/materials.md
# - Math utils: api/math.md
# - About: about.md
strict: true # Don't allow warnings during the build process
watch:
- hydraxmpm
- tutorials
extra_css:
- _static/extra.css
theme:
name: material
palette:
primary: custom
scheme: slate
toggle:
icon: material/brightness-7
name: Switch to dark mode
accent: custom
features:
- navigation.sections
- content.code.copy
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
check_paths: true
base_path: [docs, tutorials]
- pymdownx.superfences
- admonition
- def_list
- footnotes
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
- pymdownx.arithmatex:
generic: true
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
plugins:
- search
- autorefs
- mkdocstrings:
default_handler: python
handlers:
python:
paths: [hydraxmpm,tutorials]
options:
docstring_section_style: list
# signature_crossrefs: true
show_bases: false
show_symbol_type_heading: true
# ignore_init_summary: true
# trim_doctest_flags: true
# relative_crossrefs: true
# show_docstring_modules: false
# rendering:
# show_root_full_path: true # display "optimistix.asdf" not just "asdf"
# show_if_no_docstring: false
# show_signature_annotations: false
show_source: false # don't include source code
members_order: source # order methods according to their order of definition in the source code, not alphabetical order
heading_level: 4
# docstring_section_style: list
# show_if_no_docstring: true
# show_source: false # don't include source code
# heading_level: 4
# selection:
# inherited_members: true # Allow looking up inherited methods
# rendering:
# show_root_heading: true # actually display anything at all...
# show_root_full_path: true # display "diffrax.asdf" not just "asdf"
# show_signature_annotations: true
# members_order: source # order methods according to their order of definition in the source code, not alphabetical order
# Ideas about documentations
# Create a section on termonolody?
## stacks...