Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ctf-wiki/ctf-wiki
/ functions
Functions
20 in github.com/ctf-wiki/ctf-wiki
⨍
Functions
20
◇
Types & classes
0
↓ 4 callers
Function
get_lang_paths
()
scripts/docs.py:35
↓ 3 callers
Function
get_file_to_nav_map
(nav: list)
scripts/docs.py:426
↓ 2 callers
Function
generate_readme_content
()
scripts/docs.py:233
↓ 2 callers
Function
get_base_lang_config
(lang: str)
scripts/docs.py:56
↓ 2 callers
Function
get_default_config
()
scripts/docs.py:31
↓ 2 callers
Function
get_text_with_translate_missing
(text: str)
scripts/docs.py:416
↓ 2 callers
Function
update_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 callers
Function
update_single_lang
(lang: str)
scripts/docs.py:290
↓ 1 callers
Function
get_key_section
( *, key_to_section: Dict[Tuple[str, ...], list], key: Tuple[str, ...] )
scripts/docs.py:401
↓ 1 callers
Function
get_sections
(nav: list)
scripts/docs.py:440
↓ 1 callers
Function
update_config
(lang: str)
scripts/docs.py:361
Function
build_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
Function
build_lang
Build the docs for a language, filling missing pages with translation notifications.
scripts/docs.py:123
Function
complete_existing_lang
(incomplete: str)
scripts/docs.py:49
Function
generate_readme
Generate README.md content from main index.md
scripts/docs.py:240
Function
lang_callback
(lang: Optional[str])
scripts/docs.py:39
Function
live
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
Function
new_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
Function
serve
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
Function
verify_readme
Verify README.md content from main index.md
scripts/docs.py:251