contents/glyph/book/stats/bookmarks.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
----- title: "Glyph - Bookmark Statistics" content-type: page ----- <nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav> <section class="section"> <header> <h3 id="h_72" class="toc">Displaying stats about all bookmarks</h1> </header> <p>To display statistics about all bookmarks, execute <code>glyph stats --bookmarks</code>. Glyph displays something like this:</p> <div class="CodeRay"> <div class="code"> <pre><span class="line-numbers"> <a href="#n1" name="n1">1</a></span>===== Bookmarks <span class="line-numbers"> <a href="#n2" name="n2">2</a></span>-- Total Bookmarks: 241 <span class="line-numbers"> <a href="#n3" name="n3">3</a></span>-- Total Referenced Bookmarks: 89 <span class="line-numbers"> <a href="#n4" name="n4">4</a></span>-- Total Unreferenced Bookmarks: 155 <span class="line-numbers"> <a href="#n5" name="n5">5</a></span>-- Bookmarks: <span class="line-numbers"> <a href="#n6" name="n6">6</a></span> attribute_intro auto_regeneration c_add c_compile c_config <span class="line-numbers"> <a href="#n7" name="n7">7</a></span> c_help c_init c_outline c_todo cfg <span class="line-numbers"> <a href="#n8" name="n8">8</a></span> cfg_document cfg_filters cfg_ref cmd_ref compile <span class="line-numbers"> <a href="#n9" name="n9">9</a></span>[...] <span class="line-numbers"><strong><a href="#n10" name="n10">10</a></strong></span>-- Referenced Bookmarks: <span class="line-numbers"><a href="#n11" name="n11">11</a></span> - attribute_intro (1) <span class="line-numbers"><a href="#n12" name="n12">12</a></span> - auto_regeneration (2) <span class="line-numbers"><a href="#n13" name="n13">13</a></span> - c_add (2) <span class="line-numbers"><a href="#n14" name="n14">14</a></span> - c_compile (10) <span class="line-numbers"><a href="#n15" name="n15">15</a></span> - c_config (6) <span class="line-numbers"><a href="#n16" name="n16">16</a></span> - c_init (1) <span class="line-numbers"><a href="#n17" name="n17">17</a></span> - c_outline (1) <span class="line-numbers"><a href="#n18" name="n18">18</a></span>[...] <span class="line-numbers"><a href="#n19" name="n19">19</a></span>-- Unreferenced Bookmarks: <span class="line-numbers"><strong><a href="#n20" name="n20">20</a></strong></span> c_help cmd_ref expanded_values extending h_1 <span class="line-numbers"><a href="#n21" name="n21">21</a></span> h_10 h_102 h_105 h_107 h_109 <span class="line-numbers"><a href="#n22" name="n22">22</a></span> h_111 h_112 h_114 h_115 h_117 <span class="line-numbers"><a href="#n23" name="n23">23</a></span>[...]</pre> </div> </div> <section class="section"> <header> <h3 id="h_73" class="toc">Remarks</h1> </header> <ul> <li>All the automatically-generated bookmarks (like headers, starting with <code>h_</code>) are included as well. </li> </ul> </section> </section> <section class="section"> <header> <h3 id="h_74" class="toc">Displaying stats about a single bookmark</h1> </header> <p>To display statistics about a single bookmark (e.g. <code>rubydoc</code>), execute <code>glyph stats --bookmark=c_config</code>. Glyph displays something like this:</p> <div class="CodeRay"> <div class="code"> <pre><span class="line-numbers"><a href="#n1" name="n1">1</a></span>===== Bookmark 'c_config' (header) <span class="line-numbers"><a href="#n2" name="n2">2</a></span>-- Defined in: text/ref_commands.glyph <span class="line-numbers"><a href="#n3" name="n3">3</a></span>-- Referenced in: <span class="line-numbers"><a href="#n4" name="n4">4</a></span> - text/changelog.glyph (2) <span class="line-numbers"><a href="#n5" name="n5">5</a></span> - text/getting_started/configuration.glyph (1) <span class="line-numbers"><a href="#n6" name="n6">6</a></span> - text/troubleshooting/errors_command.glyph (3)</pre> </div> </div> <section class="section"> <header> <h3 id="h_75" class="toc">Remarks</h1> </header> <ul> <li>Do not prepend the bookmark ID with <code>#</code>.</li> </ul> </section> </section> <nav class="navigation"><a href="/glyph/book/stats/snippets.html">← Snippet Statistics</a> | <a href="/glyph/book/index.html">Contents</a> | <a href="/glyph/book/stats/links.html">Link Statistics →</a></nav> |