mirror of
https://github.com/brain-hackers/README
synced 2025-07-06 03:24: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! -->
|
||||
|
||||
# Linux
|
||||
- [ビルド](Linux_%E3%83%93%E3%83%AB%E3%83%89.md)
|
||||
- [ビルド](Linux_%E3%83%93%E3%83%AB%E3%83%89)
|
||||
# U-Boot
|
||||
- [起動 (EBOOT)](U-Boot_%E8%B5%B7%E5%8B%95%20%28EBOOT%29.md)
|
||||
- [起動 (USB Recovery)](U-Boot_%E8%B5%B7%E5%8B%95%20%28USB%20Recovery%29.md)
|
||||
## ビルド
|
||||
- [buildbrain](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_buildbrain.md)
|
||||
- [手動](U-Boot_%E3%83%93%E3%83%AB%E3%83%89_%E6%89%8B%E5%8B%95.md)
|
||||
- [起動 (EBOOT)](U-Boot_%E8%B5%B7%E5%8B%95-%28EBOOT%29)
|
||||
- [起動 (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)
|
||||
- [手動](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 = ptr[t]
|
||||
|
||||
idfn[id(ptr)] = quote(fn.name)
|
||||
idfn[id(ptr)] = quote(fn.name[:-3].replace(' ', '-'))
|
||||
|
||||
md = markdown.Markdown(extensions=['toc'])
|
||||
|
||||
@ -40,7 +40,7 @@ def recurse(f, d, idfn, level=1):
|
||||
for k, child_dict in d.items():
|
||||
if not child_dict:
|
||||
continue
|
||||
f.write(f'#'*level + f' {k}\n')
|
||||
f.write('#' + '##' * (level-1) + f' {k}\n')
|
||||
recurse(f, child_dict, idfn, level=level+1)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user