Skip to content

Commit

Permalink
Changes mkdocs settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaquet committed Mar 13, 2024
1 parent 1637672 commit 47c266d
Showing 1 changed file with 29 additions and 41 deletions.
70 changes: 29 additions & 41 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@ theme:
favicon: cw_logo.svg
version: V30
palette:
- scheme: slate
primary: "light-blue"
accent: "pink"
toggle:
icon: material/brightness-4
name: Switch to light mode
- scheme: default
primary: "light-blue"
accent: "pink"
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- search.suggest
- search.highlight
Expand All @@ -51,8 +47,8 @@ nav:
- Rhino Export Options: documentation/rhino_export_options.md
- BREP data: documentation/brep_data.md
- IFC:
- IFC2x3 Element Type: documentation/ifc_2x3_element_type.md
- IFC Options: documentation/ifc_options.md
- IFC2x3 Element Type: documentation/ifc_2x3_element_type.md
- IFC Options: documentation/ifc_options.md
- Camera: documentation/camera_data.md
- Layer Settings: documentation/layer_settings.md
- Text Object Options: documentation/text_object_options.md
Expand All @@ -71,7 +67,6 @@ nav:
- Shop Drawing Controller: documentation/shop_drawing_controller.md
- Utility Controller: documentation/utility_controller.md
- Visualization Controller: documentation/visualization_controller.md

- Examples:
- Geometry: examples/geometry.md
- Attribute Controller: examples/attribute_example.md
Expand Down Expand Up @@ -102,45 +97,38 @@ nav:
- Release Notes: release_notes.md

markdown_extensions:
- md_in_html
- attr_list
- admonition
- pymdownx.inlinehilite
- pymdownx.keys
- attr_list
- footnotes
- md_in_html
- pymdownx.arithmatex:
generic: true
- pymdownx.emoji:
emoji_index: !!python/name:pymdownx.emoji.gemoji
emoji_generator: !!python/name:pymdownx.emoji.to_alt
- pymdownx.highlight:
linenums: true
linenums_style: pymdownx-inline
- pymdownx.keys
- pymdownx.superfences:
- footnotes:
SEPARATOR: _footnote_
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.magiclink:
repo_url_shorthand: true
user: cwapi3d
repo: cwapi3dpython
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format

#extra_css:
# - stylesheets/extra.css

extra_css:
- stylesheets/extra.css
extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- js/mathjax.js
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- javascripts/tablesort.js
- js/tablesort.js

plugins:
- search:
separator: '[\s\-/\\]+' # \s\-\.\_
- mkdocstrings:
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
default_handler: python
handlers:
python:
setup_commands:
- import sys
- sys.path.append('src/')
options:
show_root_heading: true
show_source: true
- mkdocstrings
- search
# - privacy

extra:
social:
Expand Down

0 comments on commit 47c266d

Please sign in to comment.