-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.base.yml
90 lines (86 loc) · 2.85 KB
/
mkdocs.base.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
87
88
89
90
theme:
name: readthedocs
language: en
logo: /img/tacc-logo-with-words.svg
nav_redirects: [] # TACC Feature
collapse_navigation: false
highlightjs: true
hljs_languages:
- bash
- plaintext
# for known clients
- python # (DesignSafe/DS-User-Guide)
- json # (DesignSafe/DS-User-Guide)
hljs_aliases: # TACC Feature
- name: cmd-line
lang: bash
- name: job-script
lang: bash
- name: syntax
lang: plaintext
custom_dir: themes/tacc-readthedocs
# These must be modules
# SEE: /themes/readthedocs/main.html @ "block scripts"
tacc_javascript:
- js/core/modules/setTargetForExternalLinks.js
- js/core/modules/styleLinksOutsideMainContent.js
- js/core/modules/swapImgSvgWithRawSvg.js
- js/core/modules/removeThemeClasses.js
- js/core/modules/changeNavMarkup.js
extra_css:
- css/core/bootstrap.css
- css/core/core-styles.css
- css/core/tacc-docs.css
- css/core/highlight-js.css
- css/core/permalink.css
# To load custom global JavaScript (not recommended)
# FAQ: Use JS modules when possible (see theme.tacc_javascript)
extra_javascript:
- js/core/autoScrollNav.js
- js/core/addPageId.js
- js/core/redirectNavLinks.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js
# Python-Markdown extensions
# https://python-markdown.github.io/extensions/
markdown_extensions:
- footnotes
- def_list
- admonition
- attr_list
- abbr
# Enabled by MkDocs by default
# https://github.com/mkdocs/mkdocs/blob/1.4.2/docs/user-guide/configuration.md#markdown_extensions
# - meta
- toc:
permalink: "" # i.e. `true` but without "¶"
permalink_class: headerlink fa fa-link
permalink_title: Link to Heading
# WARNING: Requires MkDocs v1.5
# https://github.com/mkdocs/mkdocs/blob/1.5.0/pyproject.toml#L39
# permalink_leading: true
# - tables
# - fenced_code
# Extensions from PyMdown
# https://facelessuser.github.io/pymdown-extensions
- pymdownx.superfences
- pymdownx.inlinehilite
- pymdownx.saneheaders
- pymdownx.blocks.details
- pymdownx.blocks.tab
# There is an alternative style that supports experimental mobile UX
# SEE: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style
- pymdownx.blocks.html
# FAQ: The `pymdownx.highlight` is useful only if Pygments is installed
# because Pygments would offer:
# - build-time syntax highlight markup
# - custom language tags and formatters
# WARNING: Installing Pygments causes MkDocs build error
# - pymdownx.highlight
# use_pygments: true
- pymdownx.arithmatex:
generic: true
plugins:
- search
- awesome-pages
- macros # allows {% include ... %} (and macros)