blob: 0cde0536b84217d1987af034e4ab847fdfbef2bd [file] [log] [blame]
Scott Todd412fa4b2021-05-06 15:55:21 -07001site_name: IREE
Scott Todd8c34b972023-10-24 09:34:49 -07002site_url: https://iree.dev/
Scott Toddc7b29122023-02-21 17:33:35 -08003repo_url: https://github.com/openxla/iree
4repo_name: openxla/iree
Scott Todd573f5e92023-11-03 08:31:57 -07005edit_uri: blob/main/docs/website/docs/
Scott Todd792cd6d2021-05-07 20:33:47 -07006
Scott Todd412fa4b2021-05-06 15:55:21 -07007theme:
8 name: material
Scott Toddd71c1472024-01-19 08:36:10 -08009 logo: assets/images/ghost.svg
Scott Todd1cdcc062023-02-15 14:22:09 -080010 logo_alt: IREE
Scott Todd412fa4b2021-05-06 15:55:21 -070011 icon:
12 repo: fontawesome/brands/github
Scott Todd573f5e92023-11-03 08:31:57 -070013 edit: material/file-eye-outline
Scott Todd1cdcc062023-02-15 14:22:09 -080014 font:
15 text: Noto
16 code: Noto Sans Mono
Scott Toddd71c1472024-01-19 08:36:10 -080017 favicon: assets/images/ghost.svg
Scott Todd0055f5e2023-02-16 11:23:15 -080018
Scott Todd412fa4b2021-05-06 15:55:21 -070019 custom_dir: overrides
20
21 features:
Scott Todd573f5e92023-11-03 08:31:57 -070022 - content.action.edit # Link to view/edit documentation source on GitHub
Scott Todd1cdcc062023-02-15 14:22:09 -080023 - content.code.annotate # Allow inline annotations
Scott Todda16baf02023-07-28 11:31:21 -070024 - content.code.copy # Enable copy button
25 - content.tabs.link # Link content tabs across site (e.g. Windows/Linux)
Scott Todd412fa4b2021-05-06 15:55:21 -070026
Scott Todda16baf02023-07-28 11:31:21 -070027 - navigation.instant # Ajax-style dynamic loading (faster)
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -070028 - navigation.tracking # Update URL in address bar with the active anchor
Scott Todd1cdcc062023-02-15 14:22:09 -080029 - navigation.sections # Group sections without collapsible buttons
Scott Todda16baf02023-07-28 11:31:21 -070030 - navigation.expand # Start sections expanded
31 - navigation.tabs # Show primary sections in tabs below the header
32 - navigation.tabs.sticky # Keep tabs visible at the top when scrolled
33 - navigation.top # "Back to top" button
Scott Toddef52dbf2023-06-08 09:04:48 -070034 - navigation.indexes # Section names can link to index.md pages
Scott Todd412fa4b2021-05-06 15:55:21 -070035
Scott Todd1cdcc062023-02-15 14:22:09 -080036 - toc.follow # Scroll the TOC panel to follow the reader
Scott Todde5a83742023-02-08 15:17:40 -080037
Scott Todd412fa4b2021-05-06 15:55:21 -070038 palette:
Scott Toddd71c1472024-01-19 08:36:10 -080039 # Light mode
Scott Todd412fa4b2021-05-06 15:55:21 -070040 - media: "(prefers-color-scheme: light)"
41 scheme: default
Scott Todd412fa4b2021-05-06 15:55:21 -070042 toggle:
Scott Todda37f50e2022-06-28 09:56:31 -070043 icon: material/brightness-7
Scott Todd412fa4b2021-05-06 15:55:21 -070044 name: Switch to dark mode
Scott Toddd71c1472024-01-19 08:36:10 -080045 # Dark mode
Scott Todd412fa4b2021-05-06 15:55:21 -070046 - media: "(prefers-color-scheme: dark)"
47 scheme: slate
Scott Todd412fa4b2021-05-06 15:55:21 -070048 toggle:
Scott Todda37f50e2022-06-28 09:56:31 -070049 icon: material/brightness-4
Scott Todd412fa4b2021-05-06 15:55:21 -070050 name: Switch to light mode
51
Scott Todd412fa4b2021-05-06 15:55:21 -070052extra:
Scott Todd8c34b972023-10-24 09:34:49 -070053 homepage: https://iree.dev/
Scott Todd2888d402023-07-10 10:28:58 -070054
Scott Todd1cdcc062023-02-15 14:22:09 -080055 # TODO(scotttodd): join mkdocs-material insiders and remove notice?
56 # (we *can* remove the notice without joining)
57 # generator: false
58
Scott Todd412fa4b2021-05-06 15:55:21 -070059 social:
60 - icon: fontawesome/brands/github
Scott Toddc7b29122023-02-21 17:33:35 -080061 link: https://github.com/openxla/iree
Scott Todd412fa4b2021-05-06 15:55:21 -070062 name: IREE on GitHub
63 - icon: fontawesome/brands/discord
Scott Todd1d00b502024-04-15 13:32:56 -070064 link: https://discord.gg/wEWh6Z9nMU
Scott Todd412fa4b2021-05-06 15:55:21 -070065 name: IREE Discord Server
66 - icon: fontawesome/solid/users
67 link: https://groups.google.com/forum/#!forum/iree-discuss
68 name: IREE Discuss Google Group
Scott Todd412fa4b2021-05-06 15:55:21 -070069
Scott Todd80e68a42023-07-21 15:10:56 -070070 status:
Scott Toddd3a152b2023-10-16 08:32:08 -070071 new: Recently updated
Scott Todd80e68a42023-07-21 15:10:56 -070072
Scott Todd412fa4b2021-05-06 15:55:21 -070073extra_css:
74 - assets/stylesheets/extra.css
Scott Toddd71c1472024-01-19 08:36:10 -080075 - assets/stylesheets/iree.css
Scott Todd412fa4b2021-05-06 15:55:21 -070076
Scott Toddf7b108f2024-01-02 15:22:20 -080077copyright: Copyright © 2024 The IREE Authors
Scott Todd412fa4b2021-05-06 15:55:21 -070078
79markdown_extensions:
80 - abbr
81 - admonition
not-jenni54ca93c2021-07-28 10:39:57 -070082 - attr_list
Scott Todd412fa4b2021-05-06 15:55:21 -070083 - footnotes
84 - meta
85 - pymdownx.details
86 - pymdownx.emoji:
87 emoji_index: !!python/name:materialx.emoji.twemoji
88 emoji_generator: !!python/name:materialx.emoji.to_svg
Geoffrey Martin-Noble50296a92021-05-10 14:50:58 -070089 options:
90 custom_icons:
91 - overrides/.icons
Scott Todd48838482023-12-06 13:28:23 -080092 # Support for embedding external files (e.g. source code samples) via snippets
93 # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#embedding-external-files
94 - pymdownx.snippets:
95 base_path: ["../../"] # Use paths relative to the repository root
96 check_paths: true
Scott Todde6d6c392023-06-21 11:30:47 -070097 # Diagram support, see
98 # https://squidfunk.github.io/mkdocs-material/reference/diagrams/
99 # Docs : https://mermaid.js.org/
100 # Editor: https://mermaid.live/edit
101 - pymdownx.superfences:
102 custom_fences:
103 - name: mermaid
104 class: mermaid
105 format: !!python/name:pymdownx.superfences.fence_code_format
Scott Todd71282bf2021-12-02 14:17:45 -0800106 - pymdownx.tabbed:
107 alternate_style: true
Scott Todd412fa4b2021-05-06 15:55:21 -0700108 - pymdownx.tasklist:
109 custom_checkbox: true
110 - tables
Scott Todd1cdcc062023-02-15 14:22:09 -0800111 - toc: # Table of Contents
Scott Toddd71c1472024-01-19 08:36:10 -0800112 permalink: 'link' # Use Material font's "link" icon; see iree.css
Scott Todde414c0a2023-06-29 11:32:57 -0700113 toc_depth: 4
Scott Todd412fa4b2021-05-06 15:55:21 -0700114
115# Navigation with explicit ordering and nesting.
116# https://www.mkdocs.org/user-guide/configuration/#nav
Scott Toddc416c942021-10-19 15:32:55 -0700117# Note: may include external links and titles are optional for internal links
Scott Todd412fa4b2021-05-06 15:55:21 -0700118nav:
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700119 - Home: "index.md"
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700120 - "Building from source":
121 - "building-from-source/index.md"
122 - "building-from-source/getting-started.md"
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700123 - "building-from-source/android.md"
Yi Wang711d9392023-01-09 15:59:19 -0800124 - "building-from-source/ios.md"
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700125 - "building-from-source/riscv.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700126 - "Guides":
127 - "guides/index.md"
128 - "ML frameworks":
129 - "guides/ml-frameworks/index.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700130 - JAX: "guides/ml-frameworks/jax.md"
131 - PyTorch: "guides/ml-frameworks/pytorch.md"
Scott Todd8604e072023-11-29 09:19:03 -0800132 - TensorFlow: "guides/ml-frameworks/tensorflow.md"
133 - TensorFlow Lite: "guides/ml-frameworks/tflite.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700134 - "Deployment configurations":
135 - "guides/deployment-configurations/index.md"
136 - CPU: "guides/deployment-configurations/cpu.md"
137 - CPU - Bare-Metal: "guides/deployment-configurations/bare-metal.md"
138 - GPU - Vulkan: "guides/deployment-configurations/gpu-vulkan.md"
Scott Todd87a1cc62023-10-17 14:55:23 -0700139 - GPU - CUDA: "guides/deployment-configurations/gpu-cuda.md"
140 - GPU - ROCm: "guides/deployment-configurations/gpu-rocm.md"
Scott Toddd8103002023-09-01 08:54:36 -0700141 - GPU - Metal: "guides/deployment-configurations/gpu-metal.md"
Scott Toddc121b862024-02-12 16:32:05 -0800142 - "General topics":
143 - "guides/parameters.md"
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700144 - "Reference":
Scott Toddef52dbf2023-06-08 09:04:48 -0700145 - "reference/index.md"
146 - "API bindings":
147 - "reference/bindings/index.md"
Scott Toddbe8437f2023-07-17 13:09:22 -0700148 - C API: "reference/bindings/c-api.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700149 - Python: "reference/bindings/python.md"
Scott Todd7ca13e32023-06-22 09:05:18 -0700150 - "MLIR dialects":
151 - "reference/mlir-dialects/index.md"
152 # Note: these files are generated by generate_extra_files.sh.
Scott Todddeb69a22023-07-13 13:24:35 -0700153 - "Internal dialects":
154 - Check: "reference/mlir-dialects/Check.md"
155 - Flow: "reference/mlir-dialects/Flow.md"
156 - HAL: "reference/mlir-dialects/HAL.md"
Ben Vanik11ced0c2023-11-03 14:24:08 -0700157 - HAL/Inline: "reference/mlir-dialects/HALInline.md"
158 - HAL/Loader: "reference/mlir-dialects/HALLoader.md"
159 - IO/Parameters: "reference/mlir-dialects/IOParameters.md"
Han-Chung Wang2fe29752024-02-22 12:02:47 -0800160 - LinalgExt: "reference/mlir-dialects/LinalgExt.md"
Scott Todddeb69a22023-07-13 13:24:35 -0700161 - Stream: "reference/mlir-dialects/Stream.md"
162 - Util: "reference/mlir-dialects/Util.md"
163 - VM: "reference/mlir-dialects/VM.md"
164 - VMVX: "reference/mlir-dialects/VMVX.md"
165 # Dialects from llvm-external-projects/iree-dialects/
166 - "Public dialects":
167 - IREEInput: "reference/mlir-dialects/IREEInput.md"
Scott Todd63b929d2023-11-16 09:03:21 -0800168 - IREEVectorExt: "reference/mlir-dialects/IREEVectorExt.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700169 - "Other topics":
170 - Glossary: "reference/glossary.md"
171 - Optimization options: "reference/optimization-options.md"
172 - Extensions: "reference/extensions.md"
Scott Todd573f5e92023-11-03 08:31:57 -0700173 - "Developers":
174 - "developers/index.md"
175 - "General development topics":
176 - "developers/general/contributing.md"
177 - "developers/general/developer-overview.md"
178 - "developers/general/developer-tips.md"
179 - "developers/general/release-management.md"
180 - "developers/general/testing-guide.md"
181 - "Building":
182 - "developers/building/bazel.md"
183 - "developers/building/emscripten.md"
Scott Todde94f3cb2023-11-06 09:03:30 -0800184 - "developers/building/cmake-options.md"
Scott Todd573f5e92023-11-03 08:31:57 -0700185 - "developers/building/cmake-with-ccache.md"
186 - "Debugging":
187 - "developers/debugging/android-with-lldb.md"
188 - "developers/debugging/compile-time-regressions.md"
Lei Zhang59297e02023-11-28 13:55:54 -0800189 - "developers/debugging/gpu.md"
Scott Todd573f5e92023-11-03 08:31:57 -0700190 - "developers/debugging/integration-tests.md"
191 - "developers/debugging/releases.md"
192 - "developers/debugging/sanitizers.md"
193 - "Performance":
194 - "developers/performance/benchmarking.md"
195 - "developers/performance/benchmark-suites.md"
196 - "developers/performance/profiling.md"
197 - "developers/performance/profiling-cpu-events.md"
198 - "developers/performance/profiling-gpu-vulkan.md"
199 - "developers/performance/profiling-with-tracy.md"
200 - "Design docs":
Scott Todd573f5e92023-11-03 08:31:57 -0700201 - "developers/design-docs/design-roadmap.md"
202 - "developers/design-docs/function-abi.md"
203 - "developers/design-docs/invocation-execution-model.md"
Lei Zhanga8c1e172024-01-30 13:57:06 -0800204 - "developers/design-docs/cuda-hal-driver.md"
Nithin Meganathan41e312a2024-04-01 15:55:22 -0700205 - "developers/design-docs/hip-hal-driver.md"
Lei Zhanga8c1e172024-01-30 13:57:06 -0800206 - "developers/design-docs/metal-hal-driver.md"
Scott Todd573f5e92023-11-03 08:31:57 -0700207 - "Other topics":
208 - "developers/usage-best-practices.md"
209 - "developers/vulkan-environment-setup.md"
Geoffrey Martin-Nobleb22c9312022-07-28 08:47:29 -0700210 - "Community":
211 - "community/index.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700212 - "Blog":
213 - "community/blog/index.md"
Scott Toddeadbfcb2023-08-25 11:04:32 -0700214 - "community/tags.md"
Scott Todd63b929d2023-11-16 09:03:21 -0800215
216# https://www.mkdocs.org/user-guide/configuration/#hooks
217hooks:
218 - custom_edit_url.py
219
Scott Toddef52dbf2023-06-08 09:04:48 -0700220plugins:
Scott Toddeadbfcb2023-08-25 11:04:32 -0700221 # https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/
222 - blog:
223 blog_dir: "community/blog"
224 blog_toc: true
225 post_url_date_format: yyyy-MM-dd
226 post_url_format: "{date}-{slug}"
227
Scott Toddef52dbf2023-06-08 09:04:48 -0700228 # https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
229 - search
230
Scott Todd6a87b032023-06-08 12:57:03 -0700231 # https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/
Scott Toddeadbfcb2023-08-25 11:04:32 -0700232 - tags:
233 tags_file: community/tags.md
Scott Todd6a87b032023-06-08 12:57:03 -0700234
Scott Toddef52dbf2023-06-08 09:04:48 -0700235 # https://github.com/mkdocs/mkdocs-redirects
236 - redirects:
237 redirect_maps: # old -> new
238 "extensions/index.md": "reference/extensions.md"
239
240 # "getting-started/" moved under "guides/ml-frameworks/"
241 "getting-started/index.md": "guides/ml-frameworks/index.md"
242 "getting-started/tensorflow.md": "guides/ml-frameworks/tensorflow.md"
243 "getting-started/tflite.md": "guides/ml-frameworks/tflite.md"
244 "getting-started/jax.md": "guides/ml-frameworks/jax.md"
245 "getting-started/pytorch.md": "guides/ml-frameworks/pytorch.md"
246
247 # "deployment-configurations/" moved under "guides/"
248 "deployment-configurations/index.md": "guides/deployment-configurations/index.md"
249 "deployment-configurations/cpu.md": "guides/deployment-configurations/cpu.md"
250 "deployment-configurations/bare-metal.md": "guides/deployment-configurations/bare-metal.md"
251 "deployment-configurations/gpu-vulkan.md": "guides/deployment-configurations/gpu-vulkan.md"
Scott Todd87a1cc62023-10-17 14:55:23 -0700252 "deployment-configurations/gpu-cuda-rocm.md": "guides/deployment-configurations/gpu-cuda.md"
253 # The CUDA/ROCm page split into two pages
254 "guides/deployment-configurations/gpu-cuda-rocm.md": "guides/deployment-configurations/gpu-cuda.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700255
256 # "bindings/" moved under "reference/"
257 "bindings/index.md": "reference/bindings/index.md"
258 "bindings/c-api.md": "reference/bindings/c-api.md"
259 "bindings/python.md": "reference/bindings/python.md"
Scott Toddef52dbf2023-06-08 09:04:48 -0700260
261 # "blog/" moved under "community/"
262 "blog/index.md": "community/blog/index.md"
Scott Toddeadbfcb2023-08-25 11:04:32 -0700263 "blog/2021-07-19-tflite-tosa.md": "community/blog/posts/tflite-tosa.md"
264 "blog/2021-10-13-mmt4d.md": "community/blog/posts/mmt4d.md"
265 "blog/2021-10-15-cuda-backend.md": "community/blog/posts/cuda-backend.md"
266 # Some blog post names/paths changed when setting up the blog plugin
267 "community/blog/2021-07-19-tflite-tosa.md": "community/blog/posts/tflite-tosa.md"
268 "community/blog/2021-10-13-mmt4d.md": "community/blog/posts/mmt4d.md"
Scott Todd573f5e92023-11-03 08:31:57 -0700269
270 # "Developers" section was added
271 "guides/developer-tips.md": "developers/general/developer-tips.md"
Scott Todde94f3cb2023-11-06 09:03:30 -0800272 "developers/building/cmake-options-and-variables.md": "developers/building/cmake-options.md"