This commit is contained in:
parent
07329039cf
commit
d0c7ea1ff7
3 changed files with 36 additions and 4 deletions
6
docs/javascripts/tablesort.js
Normal file
6
docs/javascripts/tablesort.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
document$.subscribe(function() {
|
||||||
|
var tables = document.querySelectorAll("article table:not([class])")
|
||||||
|
tables.forEach(function(table) {
|
||||||
|
new Tablesort(table)
|
||||||
|
})
|
||||||
|
})
|
33
mkdocs.yml
33
mkdocs.yml
|
@ -87,6 +87,7 @@ plugins:
|
||||||
enabled: !ENV [CI, false]
|
enabled: !ENV [CI, false]
|
||||||
- optimize:
|
- optimize:
|
||||||
enabled: !ENV [CI, false]
|
enabled: !ENV [CI, false]
|
||||||
|
- typeset
|
||||||
- blog:
|
- blog:
|
||||||
archive: false
|
archive: false
|
||||||
- git-revision-date-localized:
|
- git-revision-date-localized:
|
||||||
|
@ -141,21 +142,45 @@ extra:
|
||||||
# Extensions
|
# Extensions
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- abbr
|
- abbr
|
||||||
|
- admonition
|
||||||
- attr_list
|
- attr_list
|
||||||
|
- def_list
|
||||||
|
- footnotes
|
||||||
- md_in_html
|
- md_in_html
|
||||||
- pymdownx.betterem
|
- pymdownx.betterem
|
||||||
- pymdownx.blocks.caption
|
- pymdownx.blocks.caption
|
||||||
- pymdownx.caret
|
- pymdownx.caret
|
||||||
|
- pymdownx.details
|
||||||
|
- pymdownx.emoji:
|
||||||
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
||||||
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
||||||
- pymdownx.mark
|
- pymdownx.mark
|
||||||
- pymdownx.tilde
|
- pymdownx.tilde
|
||||||
- pymdownx.critic
|
- pymdownx.critic
|
||||||
- pymdownx.details
|
- pymdownx.details
|
||||||
- pymdownx.highlight
|
- pymdownx.highlight:
|
||||||
- pymdownx.superfences
|
anchor_linenums: true
|
||||||
|
line_spans: __span
|
||||||
|
pygments_lang_class: true
|
||||||
|
- pymdownx.inlinehilite
|
||||||
|
- pymdownx.superfences:
|
||||||
|
custom_fences:
|
||||||
|
- name: mermaid
|
||||||
|
class: mermaid
|
||||||
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
||||||
- pymdownx.keys
|
- pymdownx.keys
|
||||||
- pymdownx.smartsymbols
|
- pymdownx.smartsymbols
|
||||||
- pymdownx.tabbed
|
- pymdownx.snippets
|
||||||
- pymdownx.tasklist
|
- pymdownx.tabbed:
|
||||||
|
alternate_style: true
|
||||||
|
- pymdownx.tasklist:
|
||||||
|
custom_checkbox: true
|
||||||
|
- tables
|
||||||
|
|
||||||
|
# Extra Javascript
|
||||||
|
extra_javascript:
|
||||||
|
- https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
||||||
|
- javascripts/tablesort.js
|
||||||
|
|
||||||
# Page tree
|
# Page tree
|
||||||
nav:
|
nav:
|
||||||
|
|
|
@ -26,6 +26,7 @@ mkdocs~=1.6
|
||||||
mkdocs-material-extensions~=1.3
|
mkdocs-material-extensions~=1.3
|
||||||
pygments~=2.16
|
pygments~=2.16
|
||||||
pymdown-extensions~=10.2
|
pymdown-extensions~=10.2
|
||||||
|
mkdocs-material[imaging]
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
mkdocs-exporter~=6.2.0
|
mkdocs-exporter~=6.2.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue