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]
|
||||
- optimize:
|
||||
enabled: !ENV [CI, false]
|
||||
- typeset
|
||||
- blog:
|
||||
archive: false
|
||||
- git-revision-date-localized:
|
||||
|
@ -141,21 +142,45 @@ extra:
|
|||
# Extensions
|
||||
markdown_extensions:
|
||||
- abbr
|
||||
- admonition
|
||||
- attr_list
|
||||
- def_list
|
||||
- footnotes
|
||||
- md_in_html
|
||||
- pymdownx.betterem
|
||||
- pymdownx.blocks.caption
|
||||
- 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.tilde
|
||||
- pymdownx.critic
|
||||
- pymdownx.details
|
||||
- pymdownx.highlight
|
||||
- pymdownx.superfences
|
||||
- pymdownx.highlight:
|
||||
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.smartsymbols
|
||||
- pymdownx.tabbed
|
||||
- pymdownx.tasklist
|
||||
- pymdownx.snippets
|
||||
- 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
|
||||
nav:
|
||||
|
|
|
@ -26,6 +26,7 @@ mkdocs~=1.6
|
|||
mkdocs-material-extensions~=1.3
|
||||
pygments~=2.16
|
||||
pymdown-extensions~=10.2
|
||||
mkdocs-material[imaging]
|
||||
|
||||
# Plugins
|
||||
mkdocs-exporter~=6.2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue