MCPcopy Create free account

hub / github.com/ctf-wiki/ctf-wiki / functions

Functions20 in github.com/ctf-wiki/ctf-wiki

↓ 4 callersFunctionget_lang_paths
()
scripts/docs.py:35
↓ 3 callersFunctionget_file_to_nav_map
(nav: list)
scripts/docs.py:426
↓ 2 callersFunctiongenerate_readme_content
()
scripts/docs.py:233
↓ 2 callersFunctionget_base_lang_config
(lang: str)
scripts/docs.py:56
↓ 2 callersFunctionget_default_config
()
scripts/docs.py:31
↓ 2 callersFunctionget_text_with_translate_missing
(text: str)
scripts/docs.py:416
↓ 2 callersFunctionupdate_languages
Update the mkdocs.yml file Languages section including all the available languages. The LANG argument is a 2-letter language code. If it's n
scripts/docs.py:297
↓ 2 callersFunctionupdate_single_lang
(lang: str)
scripts/docs.py:290
↓ 1 callersFunctionget_key_section
( *, key_to_section: Dict[Tuple[str, ...], list], key: Tuple[str, ...] )
scripts/docs.py:401
↓ 1 callersFunctionget_sections
(nav: list)
scripts/docs.py:440
↓ 1 callersFunctionupdate_config
(lang: str)
scripts/docs.py:361
Functionbuild_all
Build mkdocs site for default language, and then build each language inside, end result is located at directory ./site/ with each language in
scripts/docs.py:268
Functionbuild_lang
Build the docs for a language, filling missing pages with translation notifications.
scripts/docs.py:123
Functioncomplete_existing_lang
(incomplete: str)
scripts/docs.py:49
Functiongenerate_readme
Generate README.md content from main index.md
scripts/docs.py:240
Functionlang_callback
(lang: Optional[str])
scripts/docs.py:39
Functionlive
Serve with livereload a docs site for a specific language. This only shows the actual translated files, not the placeholders created with
scripts/docs.py:340
Functionnew_lang
Generate a new docs translation directory for the language LANG. LANG should be a 2-letter language code, like: en, es, de, pt, etc.
scripts/docs.py:88
Functionserve
A quick server to preview a built site with translations. For development, prefer the command live (or just mkdocs serve). This is here
scripts/docs.py:317
Functionverify_readme
Verify README.md content from main index.md
scripts/docs.py:251