mkdocs.yml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. # pip install mkdocs mkdocs-material mkdocstrings[python]
  2. site_name: tinygrad docs
  3. site_url: https://docs.tinygrad.org/
  4. repo_url: https://github.com/tinygrad/tinygrad/
  5. nav:
  6. - Home:
  7. - index.md
  8. - Quickstart: quickstart.md
  9. - Showcase: showcase.md
  10. - MNIST Tutorial: mnist.md
  11. - API Reference:
  12. - Tensor:
  13. - tensor/index.md
  14. - Creation: tensor/creation.md
  15. - Movement: tensor/movement.md
  16. - Ops: tensor/ops.md
  17. - Function: function.md
  18. - dtypes: dtypes.md
  19. - nn (Neural Networks): nn.md
  20. - Environment Variables: env_vars.md
  21. - Developer:
  22. - developer.md
  23. - Runtime:
  24. - runtime/overview.md
  25. - HCQ: runtime/hcq.md
  26. - tinybox: tinybox.md
  27. #- tinygrad: reference/
  28. #extra_css:
  29. #- css/tinygrad.css
  30. markdown_extensions:
  31. - attr_list
  32. - admonition
  33. - callouts
  34. - footnotes
  35. - pymdownx.details
  36. - pymdownx.emoji:
  37. emoji_index: !!python/name:material.extensions.emoji.twemoji
  38. emoji_generator: !!python/name:material.extensions.emoji.to_svg
  39. - pymdownx.highlight:
  40. pygments_lang_class: true
  41. - pymdownx.inlinehilite:
  42. style_plain_text: python
  43. - pymdownx.magiclink
  44. - pymdownx.snippets:
  45. base_path: [!relative $config_dir]
  46. check_paths: true
  47. - pymdownx.superfences
  48. - pymdownx.tabbed:
  49. alternate_style: true
  50. slugify: !!python/object/apply:pymdownx.slugs.slugify
  51. kwds:
  52. case: lower
  53. - pymdownx.tasklist:
  54. custom_checkbox: true
  55. - pymdownx.tilde
  56. - toc:
  57. permalink: "¤"
  58. theme:
  59. name: material
  60. logo: logo_tiny_dark.svg
  61. favicon: favicon.svg
  62. features:
  63. - announce.dismiss
  64. - content.action.edit
  65. - content.action.view
  66. - content.code.annotate
  67. - content.code.copy
  68. - content.tooltips
  69. - navigation.footer
  70. - navigation.indexes
  71. - navigation.sections
  72. - navigation.expand
  73. - navigation.top
  74. - navigation.path
  75. - search.highlight
  76. - search.suggest
  77. - toc.follow
  78. - toc.integrate
  79. palette:
  80. scheme: slate
  81. primary: black
  82. accent: lime
  83. palette:
  84. - media: "(prefers-color-scheme)"
  85. accent: lime
  86. primary: black
  87. toggle:
  88. icon: material/brightness-auto
  89. name: Switch to light mode
  90. - media: "(prefers-color-scheme: light)"
  91. scheme: default
  92. accent: lime
  93. primary: black
  94. toggle:
  95. icon: material/brightness-7
  96. name: Switch to dark mode
  97. - media: "(prefers-color-scheme: dark)"
  98. scheme: slate
  99. accent: lime
  100. primary: black
  101. toggle:
  102. icon: material/brightness-4
  103. name: Switch to system preference
  104. plugins:
  105. - search
  106. - mkdocstrings:
  107. handlers:
  108. python:
  109. import:
  110. - https://docs.python.org/3/objects.inv
  111. paths: [tinygrad]
  112. options:
  113. docstring_options:
  114. ignore_init_summary: true
  115. docstring_section_style: list
  116. filters: ["!^_"]
  117. heading_level: 3
  118. inherited_members: false
  119. merge_init_into_class: true
  120. separate_signature: true
  121. show_root_heading: true
  122. show_root_full_path: false
  123. show_signature_annotations: true
  124. show_symbol_type_heading: true
  125. show_symbol_type_toc: true
  126. show_source: true
  127. signature_crossrefs: true
  128. summary: true
  129. - markdown-exec
  130. #- gen-files:
  131. # scripts:
  132. # - docs/gen_ref_pages.py
  133. #- literate-nav:
  134. # nav_file: SUMMARY.md