my_help 0.8.6 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/'../test'/.my_help/.my_help_conf.yml +2 -0
  3. data/'../test'/.my_help/emacs.org +50 -0
  4. data/{lib/templates → '../test'/.my_help}/org.org +0 -0
  5. data/{lib/templates → '../test'/.my_help}/todo.org +0 -0
  6. data/.gitignore +7 -0
  7. data/.my_help/example2.org +9 -0
  8. data/.rspec +1 -2
  9. data/.rspec_status +13 -0
  10. data/.yardoc/checksums +3 -3
  11. data/.yardoc/object_types +0 -0
  12. data/.yardoc/objects/root.dat +0 -0
  13. data/Gemfile +10 -5
  14. data/Gemfile.lock +61 -88
  15. data/README.org +35 -47
  16. data/Rakefile +25 -14
  17. data/doc/MyHelp/Control.html +443 -221
  18. data/doc/MyHelp.html +7 -7
  19. data/doc/OrgToYaml.html +12 -10
  20. data/doc/_index.html +7 -7
  21. data/doc/class_list.html +2 -2
  22. data/doc/css/style.css +3 -2
  23. data/doc/file.README.html +29 -29
  24. data/doc/file_list.html +2 -2
  25. data/doc/frames.html +2 -2
  26. data/doc/index.html +29 -29
  27. data/doc/js/app.js +14 -3
  28. data/doc/method_list.html +24 -8
  29. data/doc/top-level-namespace.html +6 -6
  30. data/docs/README.html +218 -0
  31. data/docs/README.org +202 -0
  32. data/docs/old_docs/16b_nasu.pdf +0 -0
  33. data/docs/old_docs/17b_oyagi.pdf +0 -0
  34. data/docs/old_docs/19b_okabata.pdf +0 -0
  35. data/docs/old_docs/19b_yamaguchi.pdf +0 -0
  36. data/docs/old_docs/features/delete.feature +7 -0
  37. data/docs/old_docs/features/edit.feature +7 -0
  38. data/docs/old_docs/features/list.feature +6 -0
  39. data/docs/old_docs/features/new.feature +7 -0
  40. data/docs/old_docs/features/step_definitions/delete_spec.rb +12 -0
  41. data/docs/old_docs/features/step_definitions/edit_spec.rb +14 -0
  42. data/docs/old_docs/features/step_definitions/list_spec.rb +10 -0
  43. data/docs/old_docs/features/step_definitions/new_spec.rb +12 -0
  44. data/docs/old_docs/features/support/env.rb +3 -0
  45. data/docs/old_docs/fukumori_symp/18_human_interface_fukumori_workshop.pdf +0 -0
  46. data/docs/old_docs/fukumori_symp/memo_perp_magician.pdf +0 -0
  47. data/docs/old_docs/fukumori_symp//347/237/245/350/255/230/343/201/256/347/233/264/344/272/244/350/243/234/347/251/272/351/226/223.png +0 -0
  48. data/exe/my_help +1 -142
  49. data/lib/my_help/cli.rb +106 -0
  50. data/lib/my_help/config.rb +70 -0
  51. data/lib/my_help/git_cli.rb +40 -0
  52. data/lib/my_help/init.rb +28 -0
  53. data/lib/my_help/list.rb +76 -0
  54. data/lib/my_help/md2hash.rb +54 -0
  55. data/lib/my_help/modify.rb +33 -0
  56. data/lib/my_help/org2hash.rb +45 -0
  57. data/lib/my_help/org2yml.rb +14 -14
  58. data/lib/my_help/version.rb +3 -1
  59. data/lib/my_help.rb +23 -7
  60. data/lib/templates/emacs.org +13 -14
  61. data/lib/templates/example.md +17 -0
  62. data/lib/templates/example.org +9 -0
  63. data/my_help.gemspec +26 -22
  64. data/tmp.txt +14 -0
  65. metadata +51 -25
  66. data/README.html +0 -443
  67. data/README.rdoc +0 -6
  68. data/bin/my_help_thor +0 -66
  69. data/exe/my_help_gli +0 -82
  70. data/lib/my_help/my_help_controll.rb +0 -222
  71. data/lib/my_help/tomo_help_controll.rb +0 -0
  72. data/lib/templates/help_template.org +0 -8
data/doc/MyHelp.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: MyHelp
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
9
+ &mdash; my_help
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "MyHelp";
19
19
  relpath = '';
20
20
  </script>
@@ -107,7 +107,7 @@
107
107
  <dt id="VERSION-constant" class="">VERSION =
108
108
 
109
109
  </dt>
110
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.7.4</span><span class='tstring_end'>&quot;</span></span></pre></dd>
110
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.8.6</span><span class='tstring_end'>&quot;</span></span></pre></dd>
111
111
 
112
112
  </dl>
113
113
 
@@ -123,9 +123,9 @@
123
123
  </div>
124
124
 
125
125
  <div id="footer">
126
- Generated on Fri Apr 26 13:03:28 2019 by
126
+ Generated on Thu Apr 1 16:20:44 2021 by
127
127
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
128
- 0.9.19 (ruby-2.4.3).
128
+ 0.9.26 (ruby-2.7.2).
129
129
  </div>
130
130
 
131
131
  </div>
data/doc/OrgToYaml.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: OrgToYaml
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
9
+ &mdash; my_help
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "OrgToYaml";
19
19
  relpath = '';
20
20
  </script>
@@ -256,7 +256,7 @@
256
256
  </h3><div class="docstring">
257
257
  <div class="discussion">
258
258
 
259
- <p>Returns a new instance of OrgToYaml</p>
259
+ <p>Returns a new instance of OrgToYaml.</p>
260
260
 
261
261
 
262
262
  </div>
@@ -312,7 +312,7 @@
312
312
  </h3><div class="docstring">
313
313
  <div class="discussion">
314
314
 
315
- <p>Returns the value of attribute help_cont</p>
315
+ <p>Returns the value of attribute help_cont.</p>
316
316
 
317
317
 
318
318
  </div>
@@ -460,14 +460,16 @@
460
460
  44
461
461
  45
462
462
  46
463
- 47</pre>
463
+ 47
464
+ 48</pre>
464
465
  </td>
465
466
  <td>
466
467
  <pre class="code"><span class="info file"># File 'lib/my_help/org2yml.rb', line 38</span>
467
468
 
468
469
  <span class='kw'>def</span> <span class='id identifier rubyid_org_to_yaml'>org_to_yaml</span><span class='lparen'>(</span><span class='id identifier rubyid_lines'>lines</span><span class='rparen'>)</span>
469
470
  <span class='id identifier rubyid_lines'>lines</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_line'>line</span><span class='op'>|</span>
470
- <span class='kw'>if</span> <span class='id identifier rubyid_m'>m</span> <span class='op'>=</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^\* (.+)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
471
+ <span class='id identifier rubyid_m'>m</span> <span class='op'>=</span> <span class='id identifier rubyid_line'>line</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span><span class='lparen'>(</span><span class='const'>Encoding</span><span class='op'>::</span><span class='const'>UTF_8</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>^\* (.+)</span><span class='regexp_end'>/u</span></span><span class='rparen'>)</span>
472
+ <span class='kw'>if</span> <span class='id identifier rubyid_m'>m</span>
471
473
  <span class='id identifier rubyid_next_cont'>next_cont</span> <span class='id identifier rubyid_m'>m</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span>
472
474
  <span class='kw'>else</span>
473
475
  <span class='ivar'>@conts</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_line'>line</span>
@@ -485,9 +487,9 @@
485
487
  </div>
486
488
 
487
489
  <div id="footer">
488
- Generated on Fri Apr 26 13:03:28 2019 by
490
+ Generated on Thu Apr 1 16:20:44 2021 by
489
491
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
- 0.9.19 (ruby-2.4.3).
492
+ 0.9.26 (ruby-2.7.2).
491
493
  </div>
492
494
 
493
495
  </div>
data/doc/_index.html CHANGED
@@ -4,15 +4,15 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.19
7
+ my_help
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
14
 
15
- <script type="text/javascript" charset="utf-8">
15
+ <script type="text/javascript">
16
16
  pathId = null;
17
17
  relpath = '';
18
18
  </script>
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.19</h1>
55
+ <div id="content"><h1 class="noborder title">my_help</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Fri Apr 26 13:03:28 2019 by
128
+ Generated on Thu Apr 1 16:20:44 2021 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.19 (ruby-2.4.3).
130
+ 0.9.26 (ruby-2.7.2).
131
131
  </div>
132
132
 
133
133
  </div>
data/doc/class_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
data/doc/css/style.css CHANGED
@@ -52,6 +52,7 @@ body {
52
52
  background: #fff;
53
53
  padding: 1.2em;
54
54
  padding-top: 0.2em;
55
+ box-sizing: border-box;
55
56
  }
56
57
 
57
58
  @media (max-width: 920px) {
@@ -422,8 +423,8 @@ li.r2 { background: #fafafa; }
422
423
  #toc ol { padding-left: 1.8em; }
423
424
  #toc li { font-size: 1.1em; line-height: 1.7em; }
424
425
  #toc > ol > li { font-size: 1.1em; font-weight: bold; }
425
- #toc ol > ol { font-size: 0.9em; }
426
- #toc ol ol > ol { padding-left: 2.3em; }
426
+ #toc ol > li > ol { font-size: 0.9em; }
427
+ #toc ol ol > li > ol { padding-left: 2.3em; }
427
428
  #toc ol + li { margin-top: 0.3em; }
428
429
  #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
429
430
  #toc.hidden:hover { background: #fafafa; }
data/doc/file.README.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
9
+ &mdash; my_help
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "README";
19
19
  relpath = '';
20
20
  </script>
@@ -379,10 +379,10 @@ RPGでレベル上げとかアイテムを貯めるようにして,
379
379
  <div id="outline-container-org3ddc9ea" class="outline-3">
380
380
  <h3 id="org3ddc9ea"><span class="section-number-3">4.1</span> インストール</h3>
381
381
  <div class="outline-text-3" id="text-4-1">
382
- <pre class="example">
382
+ <pre class="code ruby"><code class="ruby">
383
383
  $ gem install my_help
384
384
 
385
- </pre>
385
+ </code></pre>
386
386
  <p>
387
387
  です.
388
388
  </p>
@@ -395,7 +395,7 @@ $ gem install my_help
395
395
  <p>
396
396
  まずは,
397
397
  </p>
398
- <pre class="example">
398
+ <pre class="code ruby"><code class="ruby">
399
399
  &gt; my_help
400
400
  NAME
401
401
  my_help - make own help and list.
@@ -416,29 +416,29 @@ COMMANDS
416
416
  help - Shows a list of commands or help for one command
417
417
  list - list all helps, specific HELP, or item
418
418
  new - make new HELP_NAME
419
- </pre>
419
+ </code></pre>
420
420
  <p>
421
421
  としてください.このlistにargsやitemを加えて行くとわかると思います.
422
422
  </p>
423
423
 
424
- <pre class="example">
425
- my_help list
426
- my_help list emacs
427
- my_help list emacs -f
428
- my_help list emacs file
424
+ <pre class="code ruby"><code class="ruby">
425
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span>
426
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span>
427
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span> <span class='op'>-</span><span class='id identifier rubyid_f'>f</span>
428
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span> <span class='id identifier rubyid_file'>file</span>
429
429
 
430
- </pre>
430
+ </code></pre>
431
431
  <p>
432
432
  として動かしてみてください.
433
433
  </p>
434
434
 
435
435
 
436
- <pre class="example">
436
+ <pre class="code ruby"><code class="ruby">
437
437
  - emacsのキーバインド
438
438
  -
439
439
  特殊キー操作
440
- - C-f, controlキーを押しながら 'f'
441
- - M-f, escキーを押した後一度離して'f'
440
+ - C-f, controlキーを押しながら &#39;f&#39;
441
+ - M-f, escキーを押した後一度離して&#39;f&#39;
442
442
  - 操作の中断C-g, 操作の取り消し(Undo) C-x u
443
443
  , head : head
444
444
  , license : license
@@ -454,7 +454,7 @@ my_help list emacs file
454
454
  , query_replace : query_replace
455
455
  -r, ruby-mode : ruby-mode
456
456
  -d, dired : ファイラとして使う
457
- </pre>
457
+ </code></pre>
458
458
  </div>
459
459
  </div>
460
460
 
@@ -465,26 +465,26 @@ my_help list emacs file
465
465
  さて,独自のhelpを作る方法です.まずは,
466
466
  </p>
467
467
 
468
- <pre class="example">
469
- my_help new new_help
468
+ <pre class="code ruby"><code class="ruby">
469
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_new_help'>new_help</span>
470
470
 
471
- </pre>
471
+ </code></pre>
472
472
 
473
473
  <p>
474
474
  で,new_helpというtemplateが用意されます.
475
475
  </p>
476
- <pre class="example">
477
- my_help edit new_help
476
+ <pre class="code ruby"><code class="ruby">
477
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_edit'>edit</span> <span class='id identifier rubyid_new_help'>new_help</span>
478
478
 
479
- </pre>
479
+ </code></pre>
480
480
  <p>
481
481
  で編集してください. emacs org形式で,格納されています.
482
482
  </p>
483
483
 
484
- <pre class="example">
485
- my_help delete new_help
484
+ <pre class="code ruby"><code class="ruby">
485
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_delete'>delete</span> <span class='id identifier rubyid_new_help'>new_help</span>
486
486
 
487
- </pre>
487
+ </code></pre>
488
488
 
489
489
  <p>
490
490
  すると消されます.
@@ -502,9 +502,9 @@ my_help delete new_help
502
502
  </html></div></div>
503
503
 
504
504
  <div id="footer">
505
- Generated on Fri Apr 26 13:03:28 2019 by
505
+ Generated on Thu Apr 1 16:20:44 2021 by
506
506
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
507
- 0.9.19 (ruby-2.4.3).
507
+ 0.9.26 (ruby-2.7.2).
508
508
  </div>
509
509
 
510
510
  </div>
data/doc/file_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
data/doc/frames.html CHANGED
@@ -2,9 +2,9 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.19</title>
5
+ <title>my_help</title>
6
6
  </head>
7
- <script type="text/javascript" charset="utf-8">
7
+ <script type="text/javascript">
8
8
  var match = unescape(window.location.hash).match(/^#!(.+)/);
9
9
  var name = match ? match[1] : 'index.html';
10
10
  name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
data/doc/index.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
9
+ &mdash; my_help
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "README";
19
19
  relpath = '';
20
20
  </script>
@@ -379,10 +379,10 @@ RPGでレベル上げとかアイテムを貯めるようにして,
379
379
  <div id="outline-container-org3ddc9ea" class="outline-3">
380
380
  <h3 id="org3ddc9ea"><span class="section-number-3">4.1</span> インストール</h3>
381
381
  <div class="outline-text-3" id="text-4-1">
382
- <pre class="example">
382
+ <pre class="code ruby"><code class="ruby">
383
383
  $ gem install my_help
384
384
 
385
- </pre>
385
+ </code></pre>
386
386
  <p>
387
387
  です.
388
388
  </p>
@@ -395,7 +395,7 @@ $ gem install my_help
395
395
  <p>
396
396
  まずは,
397
397
  </p>
398
- <pre class="example">
398
+ <pre class="code ruby"><code class="ruby">
399
399
  &gt; my_help
400
400
  NAME
401
401
  my_help - make own help and list.
@@ -416,29 +416,29 @@ COMMANDS
416
416
  help - Shows a list of commands or help for one command
417
417
  list - list all helps, specific HELP, or item
418
418
  new - make new HELP_NAME
419
- </pre>
419
+ </code></pre>
420
420
  <p>
421
421
  としてください.このlistにargsやitemを加えて行くとわかると思います.
422
422
  </p>
423
423
 
424
- <pre class="example">
425
- my_help list
426
- my_help list emacs
427
- my_help list emacs -f
428
- my_help list emacs file
424
+ <pre class="code ruby"><code class="ruby">
425
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span>
426
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span>
427
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span> <span class='op'>-</span><span class='id identifier rubyid_f'>f</span>
428
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_emacs'>emacs</span> <span class='id identifier rubyid_file'>file</span>
429
429
 
430
- </pre>
430
+ </code></pre>
431
431
  <p>
432
432
  として動かしてみてください.
433
433
  </p>
434
434
 
435
435
 
436
- <pre class="example">
436
+ <pre class="code ruby"><code class="ruby">
437
437
  - emacsのキーバインド
438
438
  -
439
439
  特殊キー操作
440
- - C-f, controlキーを押しながら 'f'
441
- - M-f, escキーを押した後一度離して'f'
440
+ - C-f, controlキーを押しながら &#39;f&#39;
441
+ - M-f, escキーを押した後一度離して&#39;f&#39;
442
442
  - 操作の中断C-g, 操作の取り消し(Undo) C-x u
443
443
  , head : head
444
444
  , license : license
@@ -454,7 +454,7 @@ my_help list emacs file
454
454
  , query_replace : query_replace
455
455
  -r, ruby-mode : ruby-mode
456
456
  -d, dired : ファイラとして使う
457
- </pre>
457
+ </code></pre>
458
458
  </div>
459
459
  </div>
460
460
 
@@ -465,26 +465,26 @@ my_help list emacs file
465
465
  さて,独自のhelpを作る方法です.まずは,
466
466
  </p>
467
467
 
468
- <pre class="example">
469
- my_help new new_help
468
+ <pre class="code ruby"><code class="ruby">
469
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_new_help'>new_help</span>
470
470
 
471
- </pre>
471
+ </code></pre>
472
472
 
473
473
  <p>
474
474
  で,new_helpというtemplateが用意されます.
475
475
  </p>
476
- <pre class="example">
477
- my_help edit new_help
476
+ <pre class="code ruby"><code class="ruby">
477
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_edit'>edit</span> <span class='id identifier rubyid_new_help'>new_help</span>
478
478
 
479
- </pre>
479
+ </code></pre>
480
480
  <p>
481
481
  で編集してください. emacs org形式で,格納されています.
482
482
  </p>
483
483
 
484
- <pre class="example">
485
- my_help delete new_help
484
+ <pre class="code ruby"><code class="ruby">
485
+ <span class='id identifier rubyid_my_help'>my_help</span> <span class='id identifier rubyid_delete'>delete</span> <span class='id identifier rubyid_new_help'>new_help</span>
486
486
 
487
- </pre>
487
+ </code></pre>
488
488
 
489
489
  <p>
490
490
  すると消されます.
@@ -502,9 +502,9 @@ my_help delete new_help
502
502
  </html></div></div>
503
503
 
504
504
  <div id="footer">
505
- Generated on Fri Apr 26 13:03:28 2019 by
505
+ Generated on Thu Apr 1 16:20:44 2021 by
506
506
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
507
- 0.9.19 (ruby-2.4.3).
507
+ 0.9.26 (ruby-2.7.2).
508
508
  </div>
509
509
 
510
510
  </div>
data/doc/js/app.js CHANGED
@@ -171,6 +171,7 @@ function generateTOC() {
171
171
  var counter = 0;
172
172
  var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
173
173
  var i;
174
+ var curli;
174
175
  if ($('#filecontents h1').length > 1) tags.unshift('h1');
175
176
  for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
176
177
  var lastTag = parseInt(tags[0][1], 10);
@@ -190,15 +191,25 @@ function generateTOC() {
190
191
  }
191
192
  if (thisTag > lastTag) {
192
193
  for (i = 0; i < thisTag - lastTag; i++) {
193
- var tmp = $('<ol/>'); toc.append(tmp); toc = tmp;
194
+ if ( typeof(curli) == "undefined" ) {
195
+ curli = $('<li/>');
196
+ toc.append(curli);
197
+ }
198
+ toc = $('<ol/>');
199
+ curli.append(toc);
200
+ curli = undefined;
194
201
  }
195
202
  }
196
203
  if (thisTag < lastTag) {
197
- for (i = 0; i < lastTag - thisTag; i++) toc = toc.parent();
204
+ for (i = 0; i < lastTag - thisTag; i++) {
205
+ toc = toc.parent();
206
+ toc = toc.parent();
207
+ }
198
208
  }
199
209
  var title = $(this).attr('toc-title');
200
210
  if (typeof(title) == "undefined") title = $(this).text();
201
- toc.append('<li><a href="#' + this.id + '">' + title + '</a></li>');
211
+ curli =$('<li><a href="#' + this.id + '">' + title + '</a></li>');
212
+ toc.append(curli);
202
213
  lastTag = thisTag;
203
214
  });
204
215
  if (!show) return;
data/doc/method_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
@@ -54,7 +54,7 @@
54
54
 
55
55
  <li class="even ">
56
56
  <div class="item">
57
- <span class='object_link'><a href="MyHelp/Control.html#disp_opts-instance_method" title="MyHelp::Control#disp_opts (method)">#disp_opts</a></span>
57
+ <span class='object_link'><a href="MyHelp/Control.html#edit_help-instance_method" title="MyHelp::Control#edit_help (method)">#edit_help</a></span>
58
58
  <small>MyHelp::Control</small>
59
59
  </div>
60
60
  </li>
@@ -62,7 +62,7 @@
62
62
 
63
63
  <li class="odd ">
64
64
  <div class="item">
65
- <span class='object_link'><a href="MyHelp/Control.html#edit_help-instance_method" title="MyHelp::Control#edit_help (method)">#edit_help</a></span>
65
+ <span class='object_link'><a href="MyHelp/Control.html#editor-instance_method" title="MyHelp::Control#editor (method)">#editor</a></span>
66
66
  <small>MyHelp::Control</small>
67
67
  </div>
68
68
  </li>
@@ -116,6 +116,22 @@
116
116
  </li>
117
117
 
118
118
 
119
+ <li class="even ">
120
+ <div class="item">
121
+ <span class='object_link'><a href="MyHelp/Control.html#load_conf-instance_method" title="MyHelp::Control#load_conf (method)">#load_conf</a></span>
122
+ <small>MyHelp::Control</small>
123
+ </div>
124
+ </li>
125
+
126
+
127
+ <li class="odd ">
128
+ <div class="item">
129
+ <span class='object_link'><a href="MyHelp/Control.html#local_help_dir-instance_method" title="MyHelp::Control#local_help_dir (method)">#local_help_dir</a></span>
130
+ <small>MyHelp::Control</small>
131
+ </div>
132
+ </li>
133
+
134
+
119
135
  <li class="even ">
120
136
  <div class="item">
121
137
  <span class='object_link'><a href="OrgToYaml.html#make_options-instance_method" title="OrgToYaml#make_options (method)">#make_options</a></span>
@@ -142,7 +158,7 @@
142
158
 
143
159
  <li class="odd ">
144
160
  <div class="item">
145
- <span class='object_link'><a href="MyHelp/Control.html#select_item-instance_method" title="MyHelp::Control#select_item (method)">#select_item</a></span>
161
+ <span class='object_link'><a href="MyHelp/Control.html#search_help-instance_method" title="MyHelp::Control#search_help (method)">#search_help</a></span>
146
162
  <small>MyHelp::Control</small>
147
163
  </div>
148
164
  </li>
@@ -150,7 +166,7 @@
150
166
 
151
167
  <li class="even ">
152
168
  <div class="item">
153
- <span class='object_link'><a href="MyHelp/Control.html#set_help_dir_if_not_exists-instance_method" title="MyHelp::Control#set_help_dir_if_not_exists (method)">#set_help_dir_if_not_exists</a></span>
169
+ <span class='object_link'><a href="MyHelp/Control.html#set_editor-instance_method" title="MyHelp::Control#set_editor (method)">#set_editor</a></span>
154
170
  <small>MyHelp::Control</small>
155
171
  </div>
156
172
  </li>
@@ -158,7 +174,7 @@
158
174
 
159
175
  <li class="odd ">
160
176
  <div class="item">
161
- <span class='object_link'><a href="MyHelp/Control.html#show_item-instance_method" title="MyHelp::Control#show_item (method)">#show_item</a></span>
177
+ <span class='object_link'><a href="MyHelp/Control.html#set_help_dir_if_not_exists-instance_method" title="MyHelp::Control#set_help_dir_if_not_exists (method)">#set_help_dir_if_not_exists</a></span>
162
178
  <small>MyHelp::Control</small>
163
179
  </div>
164
180
  </li>
@@ -166,7 +182,7 @@
166
182
 
167
183
  <li class="even ">
168
184
  <div class="item">
169
- <span class='object_link'><a href="MyHelp/Control.html#upload_help-instance_method" title="MyHelp::Control#upload_help (method)">#upload_help</a></span>
185
+ <span class='object_link'><a href="MyHelp/Control.html#show_item-instance_method" title="MyHelp::Control#show_item (method)">#show_item</a></span>
170
186
  <small>MyHelp::Control</small>
171
187
  </div>
172
188
  </li>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.9.19
9
+ &mdash; my_help
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "";
19
19
  relpath = '';
20
20
  </script>
@@ -102,9 +102,9 @@
102
102
  </div>
103
103
 
104
104
  <div id="footer">
105
- Generated on Fri Apr 26 13:03:28 2019 by
105
+ Generated on Thu Apr 1 16:20:44 2021 by
106
106
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
- 0.9.19 (ruby-2.4.3).
107
+ 0.9.26 (ruby-2.7.2).
108
108
  </div>
109
109
 
110
110
  </div>