mirror of
https://github.com/brain-hackers/README
synced 2025-07-06 19:44:12 +09:00
Fix
parent
7f3ee3f52f
commit
1a1b79c70f
12
_Sidebar.md
12
_Sidebar.md
@ -1,10 +1,10 @@
|
|||||||
<!-- This file is generated by generate_toc.py. DO NOT EDIT MANUALLY! -->
|
<!-- This file is generated by generate_toc.py. DO NOT EDIT MANUALLY! -->
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
- [ビルド](Linux_%E3%83%93%E3%83%AB%E3%83%89.md)
|
- [ビルド](Linux_%E3%83%93%E3%83%AB%E3%83%89)
|
||||||
# U-Boot
|
# U-Boot
|
||||||
- [起動 (EBOOT)](U-Boot_%E8%B5%B7%E5%8B%95%20%28EBOOT%29.md)
|
- [起動 (EBOOT)](U-Boot_%E8%B5%B7%E5%8B%95-%28EBOOT%29)
|
||||||
- [起動 (USB Recovery)](U-Boot_%E8%B5%B7%E5%8B%95%20%28USB%20Recovery%29.md)
|
- [起動 (USB Recovery)](U-Boot_%E8%B5%B7%E5%8B%95-%28USB-Recovery%29)
|
||||||
## ビルド
|
### ビルド
|
||||||
- [buildbrain](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_buildbrain.md)
|
- [buildbrain](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_buildbrain)
|
||||||
- [手動](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_%E6%89%8B%E5%8B%95.md)
|
- [手動](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_%E6%89%8B%E5%8B%95)
|
||||||
|
@ -17,7 +17,7 @@ def main():
|
|||||||
ptr[t] = ptr.get(t, dict())
|
ptr[t] = ptr.get(t, dict())
|
||||||
ptr = ptr[t]
|
ptr = ptr[t]
|
||||||
|
|
||||||
idfn[id(ptr)] = quote(fn.name)
|
idfn[id(ptr)] = quote(fn.name[:-3].replace(' ', '-'))
|
||||||
|
|
||||||
md = markdown.Markdown(extensions=['toc'])
|
md = markdown.Markdown(extensions=['toc'])
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ def recurse(f, d, idfn, level=1):
|
|||||||
for k, child_dict in d.items():
|
for k, child_dict in d.items():
|
||||||
if not child_dict:
|
if not child_dict:
|
||||||
continue
|
continue
|
||||||
f.write(f'#'*level + f' {k}\n')
|
f.write('#' + '##' * (level-1) + f' {k}\n')
|
||||||
recurse(f, child_dict, idfn, level=level+1)
|
recurse(f, child_dict, idfn, level=level+1)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user