2024-04-16 14:59:51 +08:00
|
|
|
# pip install mkdocs mkdocs-material mkdocstrings[python]
|
|
|
|
site_name: tinygrad docs
|
|
|
|
site_url: https://docs.tinygrad.org/
|
2024-05-28 03:45:54 +08:00
|
|
|
repo_url: https://github.com/tinygrad/tinygrad/
|
2024-04-16 14:59:51 +08:00
|
|
|
nav:
|
2024-05-28 05:32:09 +08:00
|
|
|
- Home:
|
|
|
|
- index.md
|
|
|
|
- Quickstart: quickstart.md
|
|
|
|
- Showcase: showcase.md
|
|
|
|
- MNIST Tutorial: mnist.md
|
|
|
|
- API Reference:
|
2024-05-29 02:03:52 +08:00
|
|
|
- Tensor:
|
|
|
|
- tensor/index.md
|
2024-08-08 00:57:24 +08:00
|
|
|
- Properties: tensor/properties.md
|
2024-05-29 02:03:52 +08:00
|
|
|
- Creation: tensor/creation.md
|
|
|
|
- Movement: tensor/movement.md
|
2024-08-08 00:57:24 +08:00
|
|
|
- Elementwise: tensor/elementwise.md
|
|
|
|
- Complex Ops: tensor/ops.md
|
2024-05-28 05:32:09 +08:00
|
|
|
- dtypes: dtypes.md
|
|
|
|
- nn (Neural Networks): nn.md
|
|
|
|
- Environment Variables: env_vars.md
|
2024-07-28 04:21:54 +08:00
|
|
|
- Runtime: runtime.md
|
2024-07-16 02:31:11 +08:00
|
|
|
- Developer:
|
2024-07-28 04:21:54 +08:00
|
|
|
- Intro: developer/developer.md
|
|
|
|
- Function (autodiff): developer/function.md
|
2024-08-29 20:22:39 +08:00
|
|
|
- UOp: developer/uop.md
|
2024-07-16 02:31:11 +08:00
|
|
|
- Runtime:
|
2024-07-28 04:21:54 +08:00
|
|
|
- developer/runtime.md
|
|
|
|
- HCQ: developer/hcq.md
|
2024-06-21 08:04:45 +08:00
|
|
|
- tinybox: tinybox.md
|
2024-04-16 14:59:51 +08:00
|
|
|
#- tinygrad: reference/
|
|
|
|
|
|
|
|
#extra_css:
|
|
|
|
#- css/tinygrad.css
|
|
|
|
|
2024-08-11 03:58:48 +08:00
|
|
|
validation:
|
|
|
|
links:
|
|
|
|
anchors: warn
|
|
|
|
|
2024-04-16 14:59:51 +08:00
|
|
|
markdown_extensions:
|
|
|
|
- attr_list
|
|
|
|
- admonition
|
|
|
|
- callouts
|
|
|
|
- footnotes
|
|
|
|
- pymdownx.details
|
|
|
|
- pymdownx.emoji:
|
|
|
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
|
|
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
|
|
|
- pymdownx.highlight:
|
|
|
|
pygments_lang_class: true
|
|
|
|
- pymdownx.inlinehilite:
|
|
|
|
style_plain_text: python
|
|
|
|
- pymdownx.magiclink
|
|
|
|
- pymdownx.snippets:
|
|
|
|
base_path: [!relative $config_dir]
|
|
|
|
check_paths: true
|
|
|
|
- pymdownx.superfences
|
|
|
|
- pymdownx.tabbed:
|
|
|
|
alternate_style: true
|
|
|
|
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
|
|
|
kwds:
|
|
|
|
case: lower
|
|
|
|
- pymdownx.tasklist:
|
|
|
|
custom_checkbox: true
|
|
|
|
- pymdownx.tilde
|
|
|
|
- toc:
|
|
|
|
permalink: "¤"
|
|
|
|
|
|
|
|
theme:
|
|
|
|
name: material
|
2024-05-25 02:33:12 +08:00
|
|
|
logo: logo_tiny_dark.svg
|
2024-05-28 05:32:09 +08:00
|
|
|
favicon: favicon.svg
|
2024-04-16 14:59:51 +08:00
|
|
|
features:
|
|
|
|
- announce.dismiss
|
|
|
|
- content.action.edit
|
|
|
|
- content.action.view
|
|
|
|
- content.code.annotate
|
|
|
|
- content.code.copy
|
|
|
|
- content.tooltips
|
|
|
|
- navigation.footer
|
|
|
|
- navigation.indexes
|
|
|
|
- navigation.sections
|
2024-05-28 06:03:31 +08:00
|
|
|
- navigation.expand
|
2024-04-16 14:59:51 +08:00
|
|
|
- navigation.top
|
2024-05-29 02:03:52 +08:00
|
|
|
- navigation.path
|
2024-04-16 14:59:51 +08:00
|
|
|
- search.highlight
|
|
|
|
- search.suggest
|
|
|
|
- toc.follow
|
2024-05-28 05:32:09 +08:00
|
|
|
- toc.integrate
|
2024-04-16 14:59:51 +08:00
|
|
|
palette:
|
|
|
|
scheme: slate
|
|
|
|
primary: black
|
|
|
|
accent: lime
|
2024-05-28 05:32:09 +08:00
|
|
|
palette:
|
|
|
|
- media: "(prefers-color-scheme)"
|
|
|
|
accent: lime
|
|
|
|
primary: black
|
|
|
|
toggle:
|
|
|
|
icon: material/brightness-auto
|
|
|
|
name: Switch to light mode
|
|
|
|
- media: "(prefers-color-scheme: light)"
|
|
|
|
scheme: default
|
|
|
|
accent: lime
|
|
|
|
primary: black
|
|
|
|
toggle:
|
|
|
|
icon: material/brightness-7
|
|
|
|
name: Switch to dark mode
|
|
|
|
- media: "(prefers-color-scheme: dark)"
|
|
|
|
scheme: slate
|
|
|
|
accent: lime
|
|
|
|
primary: black
|
|
|
|
toggle:
|
|
|
|
icon: material/brightness-4
|
|
|
|
name: Switch to system preference
|
2024-04-16 14:59:51 +08:00
|
|
|
plugins:
|
|
|
|
- search
|
|
|
|
- mkdocstrings:
|
|
|
|
handlers:
|
|
|
|
python:
|
|
|
|
import:
|
|
|
|
- https://docs.python.org/3/objects.inv
|
|
|
|
paths: [tinygrad]
|
|
|
|
options:
|
|
|
|
docstring_options:
|
|
|
|
ignore_init_summary: true
|
|
|
|
docstring_section_style: list
|
|
|
|
filters: ["!^_"]
|
|
|
|
heading_level: 3
|
|
|
|
inherited_members: false
|
|
|
|
merge_init_into_class: true
|
|
|
|
separate_signature: true
|
|
|
|
show_root_heading: true
|
|
|
|
show_root_full_path: false
|
|
|
|
show_signature_annotations: true
|
|
|
|
show_symbol_type_heading: true
|
|
|
|
show_symbol_type_toc: true
|
|
|
|
show_source: true
|
|
|
|
signature_crossrefs: true
|
|
|
|
summary: true
|
2024-04-21 20:34:08 +08:00
|
|
|
- markdown-exec
|
2024-04-16 14:59:51 +08:00
|
|
|
#- gen-files:
|
|
|
|
# scripts:
|
|
|
|
# - docs/gen_ref_pages.py
|
|
|
|
#- literate-nav:
|
2024-04-21 20:34:08 +08:00
|
|
|
# nav_file: SUMMARY.md
|