Skip to content

Commit 2d8deaa

Browse files
committed
update
1 parent 77f52f5 commit 2d8deaa

10 files changed

Lines changed: 40 additions & 0 deletions

File tree

docs/cppmap_styles.css

206 Bytes
Binary file not shown.
43.2 KB
Loading
40.4 KB
Loading
22 KB
Loading
28.9 KB
Loading
113 KB
Loading
63.6 KB
Loading
108 KB
Loading

docs/standardization/npaperbot.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
description: C++ 標準化委員会の文書検索に便利なツール「npaperbot」の紹介
2+
3+
# C++ 文書検索 bot
4+
5+
**npaperbot** は、C++ 標準化委員会の文書や Issues List を「番号」や「タイトルのキーワード」で検索できる Slack bot です。[Cpplang Slack](https://cppmap.github.io/learn/communities/#cpplang-slack) 上で稼働しています。
6+
7+
## 使い方
8+
9+
1. [Cpplang Slack](https://cppmap.github.io/learn/communities/#cpplang-slack) に登録します
10+
2. Cpplang Slack の検索ボックスから npaperbot アプリを探して開きます
11+
12+
![](images/npaperbot-1.png)
13+
14+
3. npaperbot とのダイレクトメッセージのやり取りができるようになります(ここでチャットした内容は他人には見えません)
15+
16+
![](images/npaperbot-2.png)
17+
18+
4. `-h` でコマンドの使い方を表示します
19+
20+
![](images/npaperbot-3.png)
21+
22+
23+
5. `Nxxxx` のように文書番号を入力すると、最新のリビジョンへのリンク、著者情報、日付、GitHub Issue で進捗が管理されている最近の文書であればそのリンクを回答してくれます
24+
25+
![](images/npaperbot-4.png)
26+
27+
28+
6. `search` で文書タイトルのキーワード検索ができます。次の例では `nullptr` という語をタイトルに含む文書を検索し、8 件が見つかりました。一番古い N1488 は `nullptr` という用語が初めて登場した 2003 年の文書です。
29+
30+
![](images/npaperbot-5.png)
31+
32+
7. `search` は完全一致検索なので、必要に応じて異なるパターンを試しましょう(`nullptr` では "null pointer" というタイトルは見つかりません)
33+
34+
![](images/npaperbot-6.png)
35+
36+
8. デフォルトの `search` の検索対象はペーパーですが、`search issue` を使うと Issues List から、`search everything` を使うとペーパー・Issues 両方からの検索ができます。
37+
38+
![](images/npaperbot-7.png)
39+

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ nav:
6161
- 処理系の対応状況: standardization/status.md
6262
- C++ 規格書: standardization/working-drafts.md
6363
- C++ 標準ライブラリ: standardization/header.md
64+
- C++ 文書検索 bot: standardization/npaperbot.md
6465
- 記事:
6566
- コメントアウトのトリック: articles/comment-tricks.md
6667
- なぜかコンパイルできる: articles/it-compiles.md

0 commit comments

Comments
 (0)