-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathmkdocs.yml
More file actions
123 lines (112 loc) · 3.21 KB
/
mkdocs.yml
File metadata and controls
123 lines (112 loc) · 3.21 KB
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
site_name: "Solidago | <span style='font-weight: normal'>a toolbox for <b>Solid</b> <b>A</b>lgorithmic <b>Go</b>vernance</span>"
site_description: "Solid Algorithmic Governance, used by the Tournesol platform"
strict: true
repo_name: tournesol > solidago
repo_url: https://github.com/tournesol-app/tournesol/tree/main/solidago
theme:
name: material
custom_dir: docs/overrides
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: amber
toggle:
icon: material/lightbulb-outline
name: "Switch to dark mode"
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: amber
toggle:
icon: material/lightbulb
name: "Switch to light mode"
features:
# - content.code.annotate
- content.code.copy
# - navigation.tabs
- search.suggest
- search.highlight
- content.tabs.link
# - navigation.sections
- navigation.expand
# - toc.integrate
nav:
- Get Started: "index.md"
- Pipeline: "pipeline.md"
- Structures:
- "structures/scoring_model.md"
- "structures/privacy_settings.md"
- Modules:
- "modules/trust_propagation.md"
- "modules/preference_learning.md"
- "modules/voting_rights.md"
- "modules/scaling.md"
- "modules/aggregation.md"
- "modules/post_process.md"
- Primitives: "primitives.md"
- Tournesol dataset: "tournesol.md"
markdown_extensions:
- toc:
permalink: true
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.arithmatex:
generic: true
# - markdown_include.include:
# base_path: solidago
plugins:
# - mike:
# alias_type: symlink
# canonical_version: latest
- search
# - exclude:
# glob:
# - theme/announce.html
# - plugins/*
# - __pycache__/*
- mkdocstrings:
handlers:
python:
paths: [.]
options:
show_symbol_type_heading: true
members_order: source
show_source: false
show_labels: false
separate_signature: true
filters: ["!^_", "^__", "!^__all__", "!__str__"]
docstring_options:
ignore_init_summary: false
merge_init_into_class: true
show_signature_annotations: true
signature_crossrefs: true
docstring_style: numpy
show_if_no_docstring: true
show_root_full_path: false
show_root_heading: false
show_root_toc_entry: false
# extensions:
# - docs/plugins/griffe_doclinks.py
inventories:
- https://docs.python.org/3/objects.inv
# rendering:
# show_root_heading: true
# show_root_full_path: false
# show_source: false
# heading_level: 2
# merge_init_into_class: true
# show_signature_annotations: true
# separate_signature: true
hooks:
- 'docs/hooks.py'
watch:
- src/
extra_javascript:
- javascripts/mathjax.js
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.min.js
extra:
site_title: "Solidago"