From 96a3b47ac7121a8670ba0b311f99b0ac9ea50ee7 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 19 Oct 2020 13:31:26 +0900 Subject: [PATCH] Replace gt --- Home.md | 10 +++++----- Linux > ビルド.md => Linux > ビルド.md | 0 ...ド > buildbrain.md => U‐Boot > ビルド > buildbrain.md | 0 ...oot > ビルド > 手動.md => U‐Boot > ビルド > 手動.md | 0 U‐Boot > 起動 (EBOOT).md => U‐Boot > 起動 (EBOOT).md | 0 ... (USB Recovery).md => U‐Boot > 起動 (USB Recovery).md | 0 _Sidebar.md | 10 +++++----- gen.py | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) rename Linux > ビルド.md => Linux > ビルド.md (100%) rename U‐Boot > ビルド > buildbrain.md => U‐Boot > ビルド > buildbrain.md (100%) rename U‐Boot > ビルド > 手動.md => U‐Boot > ビルド > 手動.md (100%) rename U‐Boot > 起動 (EBOOT).md => U‐Boot > 起動 (EBOOT).md (100%) rename U‐Boot > 起動 (USB Recovery).md => U‐Boot > 起動 (USB Recovery).md (100%) diff --git a/Home.md b/Home.md index 69b4a1a..1fe6205 100644 --- a/Home.md +++ b/Home.md @@ -4,10 +4,10 @@ - [Wikiの管理](Wiki%E3%81%AE%E7%AE%A1%E7%90%86) # Linux - - [ビルド](Linux---%E3%83%93%E3%83%AB%E3%83%89) + - [ビルド](Linux-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89) # U‐Boot - - [起動 (EBOOT)](U%E2%80%90Boot---%E8%B5%B7%E5%8B%95-%28EBOOT%29) - - [起動 (USB Recovery)](U%E2%80%90Boot---%E8%B5%B7%E5%8B%95-%28USB-Recovery%29) + - [起動 (EBOOT)](U%E2%80%90Boot-%EF%BC%9E-%E8%B5%B7%E5%8B%95-%28EBOOT%29) + - [起動 (USB Recovery)](U%E2%80%90Boot-%EF%BC%9E-%E8%B5%B7%E5%8B%95-%28USB-Recovery%29) ### ビルド - - [buildbrain](U%E2%80%90Boot---%E3%83%93%E3%83%AB%E3%83%89---buildbrain) - - [手動](U%E2%80%90Boot---%E3%83%93%E3%83%AB%E3%83%89---%E6%89%8B%E5%8B%95) + - [buildbrain](U%E2%80%90Boot-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89-%EF%BC%9E-buildbrain) + - [手動](U%E2%80%90Boot-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89-%EF%BC%9E-%E6%89%8B%E5%8B%95) diff --git a/Linux > ビルド.md b/Linux > ビルド.md similarity index 100% rename from Linux > ビルド.md rename to Linux > ビルド.md diff --git a/U‐Boot > ビルド > buildbrain.md b/U‐Boot > ビルド > buildbrain.md similarity index 100% rename from U‐Boot > ビルド > buildbrain.md rename to U‐Boot > ビルド > buildbrain.md diff --git a/U‐Boot > ビルド > 手動.md b/U‐Boot > ビルド > 手動.md similarity index 100% rename from U‐Boot > ビルド > 手動.md rename to U‐Boot > ビルド > 手動.md diff --git a/U‐Boot > 起動 (EBOOT).md b/U‐Boot > 起動 (EBOOT).md similarity index 100% rename from U‐Boot > 起動 (EBOOT).md rename to U‐Boot > 起動 (EBOOT).md diff --git a/U‐Boot > 起動 (USB Recovery).md b/U‐Boot > 起動 (USB Recovery).md similarity index 100% rename from U‐Boot > 起動 (USB Recovery).md rename to U‐Boot > 起動 (USB Recovery).md diff --git a/_Sidebar.md b/_Sidebar.md index 680f10f..13d3fcb 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -4,10 +4,10 @@ - [Wikiの管理](Wiki%E3%81%AE%E7%AE%A1%E7%90%86) # Linux - - [ビルド](Linux---%E3%83%93%E3%83%AB%E3%83%89) + - [ビルド](Linux-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89) # U‐Boot - - [起動 (EBOOT)](U%E2%80%90Boot---%E8%B5%B7%E5%8B%95-%28EBOOT%29) - - [起動 (USB Recovery)](U%E2%80%90Boot---%E8%B5%B7%E5%8B%95-%28USB-Recovery%29) + - [起動 (EBOOT)](U%E2%80%90Boot-%EF%BC%9E-%E8%B5%B7%E5%8B%95-%28EBOOT%29) + - [起動 (USB Recovery)](U%E2%80%90Boot-%EF%BC%9E-%E8%B5%B7%E5%8B%95-%28USB-Recovery%29) ### ビルド - - [buildbrain](U%E2%80%90Boot---%E3%83%93%E3%83%AB%E3%83%89---buildbrain) - - [手動](U%E2%80%90Boot---%E3%83%93%E3%83%AB%E3%83%89---%E6%89%8B%E5%8B%95) + - [buildbrain](U%E2%80%90Boot-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89-%EF%BC%9E-buildbrain) + - [手動](U%E2%80%90Boot-%EF%BC%9E-%E3%83%93%E3%83%AB%E3%83%89-%EF%BC%9E-%E6%89%8B%E5%8B%95) diff --git a/gen.py b/gen.py index d96d357..0cb5144 100644 --- a/gen.py +++ b/gen.py @@ -12,14 +12,14 @@ def main(): if fn.name in {'Home.md', '_Sidebar.md', '_Footer.md'}: continue - fn_tokens = fn.name[:-3].split(' > ') + fn_tokens = fn.name[:-3].split(' > ') ptr = fn_tree for t in fn_tokens: ptr[t] = ptr.get(t, dict()) ptr = ptr[t] normalized = normalize('NFC', fn.name[:-3]) - idfn[id(ptr)] = quote(normalized.replace(' ', '-').replace('>', '-'), encoding='utf-8') + idfn[id(ptr)] = quote(normalized.replace(' ', '-'), encoding='utf-8') md = markdown.Markdown(extensions=['toc'])