-
Notifications
You must be signed in to change notification settings - Fork 231
/
mkdocs.yml
86 lines (74 loc) · 2.07 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
# mkdocs:
# Prepare: pip install mkdocs; mkdocs-material
# Testing: python -m mkdocs serve
# Build into ./target/rendered-docs: python -m mkdocs build
# In CI, `cargo doc` output will have been copied to some deep 'api/' directory, you may see warnings for that.
# We should see if we can move that process into here via an extension?
site_name: The UniFFI user guide
docs_dir: docs/manual/src
site_dir: 'target/rendered-docs'
repo_url: 'https://github.com/mozilla/uniffi-rs'
use_directory_urls: false
exclude_docs: "README.md"
theme:
name: 'material'
language: 'en'
# This also enables code highlighting
markdown_extensions:
- pymdownx.superfences
- pymdownx.highlight
extra:
version:
provider: mike
plugins:
# otherwise a no-op docs build ends with a diff to sitemap.xml.gz
- no-sitemap
# This lists all the files that become part of the documentation
nav:
- ./Motivation.md
- 'Tutorial':
- ./Getting_started.md
- ./tutorial/Prerequisites.md
- ./tutorial/udl_file.md
- ./tutorial/Rust_scaffolding.md
- ./tutorial/foreign_language_bindings.md
- 'The UDL file':
- ./udl_file_spec.md
- ./udl/namespace.md
- ./udl/builtin_types.md
- ./udl/enumerations.md
- ./udl/structs.md
- 'Functions':
- ./udl/functions.md
- ./udl/errors.md
- 'Interfaces and Objects':
- ./udl/interfaces.md
- ./udl/callback_interfaces.md
- 'External Types':
- ./udl/ext_types.md
- ./udl/ext_types_external.md
- ./udl/custom_types.md
- ./udl/docstrings.md
- ./proc_macro/index.md
- ./futures.md
- 'Bindings':
- ./bindings.md
- ./foreign_traits.md
- 'Kotlin':
- ./kotlin/configuration.md
- ./kotlin/gradle.md
- ./kotlin/lifetimes.md
- 'Swift':
- ./swift/overview.md
- ./swift/uniffi-bindgen-swift.md
- ./swift/configuration.md
- ./swift/module.md
- ./swift/xcode.md
- 'Python': ./python/configuration.md
- Internals:
- ./internals/design_principles.md
- ./internals/crates.md
- ./internals/lifting_and_lowering.md
- ./internals/object_references.md
- ./internals/rendering_foreign_bindings.md
- ./Upgrading.md