Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pingcap/docs-cn
/ merge_by_toc.py
File
merge_by_toc.py
scripts/merge_by_toc.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
# coding: utf8
3
#
4
# Generate all-in-one Markdown file for ``doc-cn``
Callers
nothing calls this directly
Calls
7
load_variables
Function · 0.85
replace_variables
Function · 0.85
replace_link_wrap
Function · 0.85
remove_sticky_header_table
Function · 0.85
extract_custom_ids_and_clean
Function · 0.85
replace_custom_id_links
Function · 0.85
replace_heading_func
Function · 0.85
Tested by
no test coverage detected