summaryrefslogtreecommitdiffhomepage
path: root/services/blog/public/posts/2021-10-02
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-04 19:14:54 +0900
committernsfisis <nsfisis@gmail.com>2025-07-04 19:14:54 +0900
commit80f0ab31aceec35c9fd04a6387b14349b806f713 (patch)
tree6d9c3e47fe988f211e8598cbedd2031c09ca54cb /services/blog/public/posts/2021-10-02
parent98db243a59fb6a409b3677f2195e96da6fd39564 (diff)
downloadnsfisis.dev-80f0ab31aceec35c9fd04a6387b14349b806f713.tar.gz
nsfisis.dev-80f0ab31aceec35c9fd04a6387b14349b806f713.tar.zst
nsfisis.dev-80f0ab31aceec35c9fd04a6387b14349b806f713.zip
feat(blog/nuldoc): implement TOC
Diffstat (limited to 'services/blog/public/posts/2021-10-02')
-rw-r--r--services/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html2
-rw-r--r--services/blog/public/posts/2021-10-02/python-unbound-local-error/index.html2
-rw-r--r--services/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html2
-rw-r--r--services/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html25
-rw-r--r--services/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html16
-rw-r--r--services/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html24
-rw-r--r--services/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html33
7 files changed, 97 insertions, 7 deletions
diff --git a/services/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/services/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
index 905cc23f..c4f1304a 100644
--- a/services/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/services/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【C++】 属性構文の属性名にはキーワードが使える|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
diff --git a/services/blog/public/posts/2021-10-02/python-unbound-local-error/index.html b/services/blog/public/posts/2021-10-02/python-unbound-local-error/index.html
index c9f0ab44..1beb05c2 100644
--- a/services/blog/public/posts/2021-10-02/python-unbound-local-error/index.html
+++ b/services/blog/public/posts/2021-10-02/python-unbound-local-error/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Python】 クロージャとUnboundLocalError: local variable &apos;x&apos; referenced before assignment|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
diff --git a/services/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html b/services/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
index 00f707c0..795fefa2 100644
--- a/services/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
+++ b/services/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Ruby】 自身を実行している処理系の種類を判定する|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
diff --git a/services/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/services/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
index 4b563c25..20585686 100644
--- a/services/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
+++ b/services/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Ruby】 then キーワードと case in|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
@@ -52,6 +52,29 @@
</li>
</ul>
</header>
+ <nav class="toc">
+ <h2>目次</h2>
+ <ul>
+ <li>
+ <a href="#section--tl-dr">TL; DR</a>
+ </li>
+ <li>
+ <a href="#section--what-is-then-keyword"> とは</a>
+ </li>
+ <li>
+ <a href="#section--why-then-is-usually-unnecessary">なぜ普段は書かなくてもよいのか</a>
+ </li>
+ <li>
+ <a href="#section--why-then-or-linebreak-is-needed">なぜ や や改行が必要か</a>
+ </li>
+ <li>
+ <a href="#section--then-in-case-in"> - における </a>
+ </li>
+ <li>
+ <a href="#section--outro">まとめ</a>
+ </li>
+ </ul>
+ </nav>
<div class="post-content">
<section id="changelog">
<h2><a href="#changelog">更新履歴</a></h2>
diff --git a/services/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html b/services/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
index 49749ebc..396e2dde 100644
--- a/services/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
+++ b/services/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Rust のプリミティブ型はどこからやって来るか|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
@@ -49,6 +49,20 @@
</li>
</ul>
</header>
+ <nav class="toc">
+ <h2>目次</h2>
+ <ul>
+ <li>
+ <a href="#section--intro">前置き</a>
+ </li>
+ <li>
+ <a href="#section--code-reading">調査</a>
+ </li>
+ <li>
+ <a href="#section--outro">まとめ</a>
+ </li>
+ </ul>
+ </nav>
<div class="post-content">
<section id="changelog">
<h2><a href="#changelog">更新履歴</a></h2>
diff --git a/services/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/services/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
index ae6b52cc..e4496ea1 100644
--- a/services/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
+++ b/services/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>【Vim】 autocmd events の BufWrite/BufWritePre の違い|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
@@ -49,6 +49,28 @@
</li>
</ul>
</header>
+ <nav class="toc">
+ <h2>目次</h2>
+ <ul>
+ <li>
+ <a href="#section--tl-dr">TL; DR</a>
+ </li>
+ <li>
+ <a href="#section--code-reading">調査記録</a>
+ <ul>
+ <li>
+ <a href="#section--code-reading--vim">vim のソースコード</a>
+ </li>
+ <li>
+ <a href="#section--code-reading--neovim">neovim のソースコード</a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <a href="#section--outro">まとめ</a>
+ </li>
+ </ul>
+ </nav>
<div class="post-content">
<section id="changelog">
<h2><a href="#changelog">更新履歴</a></h2>
diff --git a/services/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html b/services/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
index 96dc3b4e..27eb273e 100644
--- a/services/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
+++ b/services/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
@@ -15,7 +15,7 @@
<meta name="Hatena::Bookmark" content="nocomment">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<title>Vimで選択した行の順番を入れ替える|REPL: Rest-Eat-Program Loop</title>
- <link rel="stylesheet" href="/style.css?h=899271ae83285479ca025cc358975c53">
+ <link rel="stylesheet" href="/style.css?h=f4a12de8fc55ef1668e211e6c6db4ade">
</head>
<body class="single">
<header class="header">
@@ -49,6 +49,37 @@
</li>
</ul>
</header>
+ <nav class="toc">
+ <h2>目次</h2>
+ <ul>
+ <li>
+ <a href="#section--tl-dr">TL; DR</a>
+ </li>
+ <li>
+ <a href="#section--version">バージョン情報</a>
+ </li>
+ <li>
+ <a href="#section--existing-solution">よく紹介されている手法</a>
+ <ul>
+ <li>
+ <a href="#section--existing-solution--external-commands"> / </a>
+ </li>
+ <li>
+ <a href="#section--existing-solution--global-command"></a>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <a href="#section--problem-of-global-command"> の問題点</a>
+ </li>
+ <li>
+ <a href="#section--solution">解決策</a>
+ </li>
+ <li>
+ <a href="#section--solution-revised">解決策 (改訂版)</a>
+ </li>
+ </ul>
+ </nav>
<div class="post-content">
<section id="changelog">
<h2><a href="#changelog">更新履歴</a></h2>