-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmkdocs.yml
More file actions
205 lines (195 loc) · 6.81 KB
/
Copy pathmkdocs.yml
File metadata and controls
205 lines (195 loc) · 6.81 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# The site is the docs/ tree unmodified: every page stays a Markdown file read on
# GitHub, and MkDocs is only the renderer. The exceptions are the landing page, which
# frames docs/README.md with a hero that only makes sense on a web page, and the header
# menu, which links the sites GitHub's own header cannot.
site_name: OpenSysML
site_description: A SysML v2 and KerML implementation in Go — language server, REPL, execution runtime, and Go, Python, Node, Java and Rust clients
site_url: https://opensysml.org/
repo_url: https://github.com/Open-MBEE/OpenSysML
repo_name: Open-MBEE/OpenSysML
edit_uri: edit/main/docs/
# The affiliation is a span rather than its own line because the footer's copyright is the
# only place the theme lets a site put text; stylesheets/footer.css moves it to the right.
copyright: >-
Apache-2.0
<span class="osml-affiliation">part of <a href="https://www.openmbee.org/">Open-MBEE</a>,
a <a href="https://numfocus.org">NumFOCUS</a> project</span>
docs_dir: docs
theme:
name: material
# overrides/ holds the landing page template and the header menu; every documentation
# page is otherwise the theme as shipped.
custom_dir: overrides
features:
- navigation.instant
- navigation.tracking
- navigation.top
- navigation.indexes
- content.code.copy
- content.action.edit
- search.highlight
- search.suggest
- toc.follow
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/weather-night
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/weather-sunny
name: Switch to light mode
extra_css:
- stylesheets/nav-menu.css
- stylesheets/footer.css
plugins:
- search
# A page published under another name keeps answering there: the site redirects the old
# URL, and the pointer file left at the old path answers the links GitHub serves.
- redirects:
redirect_maps:
guide/09-python.md: guide/09-clients.md
not_in_nav: |
guide/09-python.md
# repo_links: links out of docs/ (examples/, Go sources, CONTRIBUTING.md) are correct
# on GitHub and 404 here, so they are rewritten to the repository at build time.
# landing: docs/README.md is rendered with the landing page template.
# header_menu: the header override stays the shipped header plus the menu include.
hooks:
- scripts/mkdocs_repo_links.py
- scripts/mkdocs_landing.py
- scripts/mkdocs_header_menu.py
- scripts/mkdocs_census.py
markdown_extensions:
- admonition
- attr_list
- def_list
- md_in_html
- tables
- toc:
permalink: true
# GitHub's own slugger, so an anchor written for a page read on GitHub is
# the same anchor here and #a--b (a dropped em dash) still resolves.
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
validation:
nav:
# A page absent from both nav and not_in_nav fails the build: publishing a
# page nothing navigates to is the mistake, not an omission.
omitted_files: warn
not_found: warn
links:
absolute_links: warn
unrecognized_links: warn
anchors: warn
# Publish what a user or contributor reads; engineering records under docs/project/
# and staged plans stay in the repository and are read on GitHub.
exclude_docs: |
API.md
ARCHITECTURE.md
MACOS_DISTRIBUTION.md
QUICKSTART.md
RDF_INTEROP.md
RELEASING.md
SPEC_COMPLIANCE.md
TRAINING_EXAMPLES.md
internals/design/**
internals/notes/**
project/*.json
project/omg-issues.md
project/performance-census-2026-09.md
project/execution-performance-2026-09.md
project/performance-profile-2026-09.md
project/performance-release-0.5-vs-0.4.3.md
project/performance-release-0.6-vs-0.4.2.md
project/native-compilation.md
project/releasing.md
project/macos-distribution.md
project/demo.md
project/training-examples.md
project/pilot-corpora.md
project/rdf-corpus-roundtrip.md
project/pilot-xpect.md
project/pilot-rejection.md
project/pilot-execution-referee.md
project/behavior-semantic-oracle.md
project/grammar-coverage.md
project/validation-constraints.md
project/element-identity-annotations.md
project/html-document-backend.md
project/adjudications.md
project/element-scoped-tier-gating.md
project/lossless-library-records.md
project/errata-overlay.md
project/oosem-library.md
project/mosa-library.md
nav:
- Documentation: README.md
- Guide:
- guide/README.md
- guide/01-install.md
- guide/02-first-model.md
- guide/03-command-line.md
- guide/04-repl.md
- guide/05-checking.md
- guide/06-behavior.md
- guide/07-saving-and-rdf.md
- guide/08-editors.md
- guide/09-clients.md
- guide/10-troubleshooting.md
- Document generation:
- manual/README.md
- Introduction and concepts: manual/introduction.md
- Getting started: manual/getting-started.md
- Query cookbook: manual/query-cookbook.md
- Document authoring: manual/authoring.md
- Outputs: manual/outputs.md
- Interfaces: manual/interfaces.md
- Worked example: manual/worked-example.md
- Limitations and troubleshooting: manual/troubleshooting.md
- Worked example output: manual/examples/observatory.md
- Requirements example output: manual/examples/requirements.md
- Reference:
- reference/README.md
- CLI: reference/cli.md
- REPL commands: reference/repl-commands.md
- OSLC Query text: reference/oslc-query.md
- Environment variables: reference/environment.md
- Language server: reference/lsp.md
- Client libraries: reference/clients.md
- Go packages: reference/api.md
- Python API: reference/python-api.md
- Node API: reference/node-api.md
- Java API: reference/java-api.md
- Rust API: reference/rust-api.md
- Service transports: reference/service-transports.md
- Wire contract: reference/wire-contract.md
- RDF mapping: reference/rdf-mapping.md
- SysML v1 migration: reference/sysml-v1-migration.md
- Grammar: reference/grammar/README.md
- Grammar conformance audit: reference/grammar/conformance-audit.md
- Internals:
- internals/README.md
- Architecture: internals/architecture.md
- Testing: internals/testing.md
- Performance: internals/performance.md
- Project:
- project/README.md
- Spec compliance: project/spec-compliance.md
- Exact-rational evaluation: project/exact-rational-evaluation.md
- Pilot differential: project/pilot-differential.md
- Roadmap: project/roadmap.md