File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ============================================================================ #
22# #
3- # Title: Title #
4- # Purpose: Purpose #
3+ # Title: Shortcodes and Hooks for MkDocs Material Documentation #
4+ # Purpose: Provide custom shortcodes and hooks for enhancing the docs. #
55# Notes: Created with reference to MkDocs Material hooks and shortcodes. #
66# https://github.com/squidfunk/mkdocs-material/blob/master/src/overrides/hooks/shortcodes.py
77# #
3333from mkdocs .structure .files import File , Files
3434from mkdocs .structure .pages import Page
3535
36+ # ## Local First Party Imports ----
37+ from toolbox_python .types import str_list
3638
37- ## --------------------------------------------------------------------------- #
38- ## Exports ####
39- ## --------------------------------------------------------------------------- #
40-
41-
42- __all__ : str_list = [...]
4339
44-
45- ## --------------------------------------------------------------------------- #
46- ## Constants ####
4740## --------------------------------------------------------------------------- #
48-
49-
50- CONSTANT = ...
51-
52-
53- ## --------------------------------------------------------------------------- #
54- ## Types ####
41+ ## Exports ####
5542## --------------------------------------------------------------------------- #
5643
5744
58- TYPE = ...
59-
60-
61- # ---------------------------------------------------------------------------- #
62- # #
63- # Hooks ####
64- # #
65- # ---------------------------------------------------------------------------- #
45+ __all__ : str_list = ["on_page_markdown" , "flag" , "option" , "setting" ]
6646
6747
6848## --------------------------------------------------------------------------- #
You can’t perform that action at this time.
0 commit comments