-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmkdocs.yml
63 lines (57 loc) · 2.36 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
site_name: FreeTensor
theme:
name: "readthedocs"
logo: "resource/logo-light.png"
plugins:
- search
- mkdocstrings:
handlers:
python:
selection: # Merge to `options:` when using the new python handler
docstring_style: numpy
inherited_members: True
rendering: # Merge to `options:` when using the new python handler
show_object_full_path: True
show_source: False # If true, it would be hard to use Ctrl+F to search in the doc
# (it will search in the code!)
# New options only affective with the new python handler
#options:
# show_submodules: True
# docstring_section_style: list
watch:
- python/
# We cannot watch build/. Reload mkdocs manually after rebuilding
extra_javascript:
# The followings are required by MathJax
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
markdown_extensions:
- admonition
- toc:
permalink: true
toc_depth: "2-5" # Show Level 2-5 in the TOC of each page, but hide Level 2-5 from the side
# nav-bar. (But hiding from the nav-bar is inconvenient for the API page.
# How to fix it?)
- pymdownx.arithmatex:
generic: true # Required by MathJax
nav:
- 'FreeTensor':
- 'Home': 'index.md'
- 'GitHub': 'https://github.com/roastduck/FreeTensor'
- 'User Guide':
- 'Get Started': 'guide/index.md'
- 'Build and Run': 'guide/build-and-run.md'
- 'Your First Program with FreeTenor': 'guide/first-program.md'
- 'Optimize a Program with Schedules': 'guide/schedules.md'
- 'Optimize a Program with Hints': 'guide/hint.md'
- 'Running on a GPU': 'guide/gpu.md'
- 'Automatic Differentiation': 'guide/ad.md'
- 'API Reference':
- 'Python API': 'api.md'
- 'Internal C++ Interface': 'doxygen/html/index.html'
- 'About':
- 'Contributing': 'about/contrib.md'
- 'Publication': 'about/pub.md'
- 'License': 'https://github.com/roastduck/FreeTensor/blob/master/LICENSE'
extra_css: [extra.css]