Skip to content

Commit

Permalink
atualiza documentação para 3 plugins do mkdocs-material (tables-charts)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrelamor committed Oct 9, 2023
1 parent fc191f1 commit b156129
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
28 changes: 28 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,30 @@ markdown_extensions:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_div_format
- name: vegalite
class: vegalite
format: !!python/name:mkdocs_charts_plugin.fences.fence_vegalite
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.snippets:
url_download: true
auto_append:
- abbreviations.md
- tables

extra_css:
- assets/style.css
- https://unpkg.com/[email protected]/dist/mermaid.css
extra_javascript:
- assets/style.js
- https://unpkg.com/[email protected]/dist/mermaid.min.js
- https://cdn.jsdelivr.net/npm/vega@5
- https://cdn.jsdelivr.net/npm/vega-lite@5
- https://cdn.jsdelivr.net/npm/vega-embed@6
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- javascripts/tablesort.js


extra: # Footer
social:
Expand Down Expand Up @@ -120,3 +130,21 @@ plugins:
# video_controls: True
# css_style:
# width: "50%"
- charts
- table-reader

## add https://timvink.github.io/mkdocs-charts-plugin/

#plugins:
# - search
# - charts
#extra_javascript:
# - https://cdn.jsdelivr.net/npm/vega@5
# - https://cdn.jsdelivr.net/npm/vega-lite@5
# - https://cdn.jsdelivr.net/npm/vega-embed@6
#markdown_extensions:
# - pymdownx.superfences:
# custom_fences:
# - name: vegalite
# class: vegalite
# format: !!python/name:mkdocs_charts_plugin.fences.fence_vegalite
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ mkdocs-material==9.2.6
mkdocs-git-revision-date-localized-plugin==1.2.0
tzdata==2023.3
mkdocs-video==1.5.0
mkdocs-charts-plugin==0.0.10
mkdocs-table-reader-plugin==2.0.1
numpy==1.26.0
pandas==2.1.1
tabulate==0.9.0


0 comments on commit b156129

Please sign in to comment.