Limits
This theme tries to support the output of the python handler first. We do not know how it behaves with other languages.
Installation
pip install 'mkdocstrings[python]'
uv add 'mkdocstrings[python]'
poetry add 'mkdocstrings[python]'
Configuration
# mkdocs.yml
plugins:
- mkdocstrings
You can look at all the available options in the python handler documentation.
Important
If you do not define show_root_heading
, the theme sets it to true
by default.
Syntax
::: shadcn.plugins.excalidraw.ExcalidrawPlugin
options:
members: true
heading_level: 3
docstring_section_style: table
shadcn.plugins.excalidraw.ExcalidrawPlugin
Bases: RouterMixin
, BasePlugin[ExcalidrawPluginConfig]
This plugin enabled the real time edition of excalidraw scenes in development mode
Source code in shadcn/plugins/excalidraw.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
|
is_dev_server = False
class-attribute
instance-attribute
Internal flag to detect if we are in development mode.
on_config(config, **kwargs)
Three operations are performed:
- detect and create the excalidraw directory
- load the internal excalidraw markdown extension
- inject the HTTP routes needed to handle excalidraw scenes and SVGs
Source code in shadcn/plugins/excalidraw.py
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
|
on_startup(*, command, dirty)
Detect if the server is running in development mode.
Source code in shadcn/plugins/excalidraw.py
93 94 95 |
|