File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ copyright: Copyright © Virtuozzo, Inc.
77# theme_center_lead: false
88
99
10- theme_dir : ' ./theme/readthedocs'
10+ theme :
11+ name : null
12+ custom_dir : ' theme/readthedocs'
1113repo_url : ' https://github.com/virtuozzo/cloudscripting-docs/edit/master/docs/'
1214
1315markdown_extensions :
@@ -32,7 +34,7 @@ markdown_extensions:
3234 - pymdownx.tasklist(custom_checkbox=true)
3335 - pymdownx.tilde
3436
35- pages :
37+ nav :
3638
3739- GETTING STARTED :
3840 - Overview : index.md
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ def run(self, lines):
3838 return new_lines
3939
4040class TabsExtension (Extension ):
41- def extendMarkdown (self , md , md_globals ):
41+ # Compatible with Markdown 2.x (md, md_globals) and 3.x (md) signatures
42+ def extendMarkdown (self , md , md_globals = None ):
4243 md .registerExtension (self )
44+ # Old-style assignment still works; no need for md.preprocessors.register here
4345 md .preprocessors ["tabs" ] = TabsPreprocessor ()
44- pass
4546
4647
4748def makeExtension (* args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments