rstidx.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <!-- This file is generated by Nim. -->
  4. <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en" data-theme="auto">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>packages/docutils/rstidx</title>
  9. <!-- Google fonts -->
  10. <link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
  11. <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
  12. <!-- Favicon -->
  13. <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
  14. <link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
  15. <!-- CSS -->
  16. <link rel="stylesheet" type="text/css" href="nimdoc.out.css?v=2.3.1">
  17. <!-- JS -->
  18. <script type="text/javascript" src="dochack.js?v=2.3.1"></script>
  19. </head>
  20. <body>
  21. <div class="document" id="documentId">
  22. <div class="container">
  23. <h1 class="title">packages/docutils/rstidx</h1>
  24. <div class="row">
  25. <div class="three columns">
  26. <div class="theme-select-wrapper">
  27. <label for="theme-select">Theme:&nbsp;</label>
  28. <select id="theme-select" onchange="setTheme(this.value)">
  29. <option value="auto">🌗 Match OS</option>
  30. <option value="dark">🌑 Dark</option>
  31. <option value="light">🌕 Light</option>
  32. </select>
  33. </div>
  34. <div id="global-links">
  35. <ul class="simple-boot">
  36. <li><a href="manual.html">Manual</a></li>
  37. <li><a href="lib.html">Standard library</a></li>
  38. <li> <a id="indexLink" href="theindex.html">Index</a></li>
  39. <li><a href="compiler/theindex.html">Compiler docs</a></li>
  40. <li><a href="https://nim-lang.github.io/fusion/theindex.html">Fusion docs</a></li>
  41. <li><a href="https://nim-lang.github.io/Nim/">devel</a>, <a href="https://nim-lang.org/documentation.html">stable</a></li>
  42. </ul>
  43. </div>
  44. <div id="searchInputDiv">
  45. Search: <input type="search" id="searchInput"
  46. oninput="search()" />
  47. </div>
  48. <ul class="simple simple-toc" id="toc-list">
  49. <li>
  50. <a class="reference reference-toplevel" href="#6" id="56">Imports</a>
  51. </li>
  52. <li>
  53. <details open>
  54. <summary><a class="reference reference-toplevel" href="#7" id="57">Types</a></summary>
  55. <ul class="simple simple-toc-section">
  56. <li><a class="reference" href="#IndexEntry" title="IndexEntry = object
  57. kind*: IndexEntryKind ## 0.
  58. keyword*: string ## 1.
  59. link*: string ## 2.
  60. linkTitle*: string ## 3. contains a prettier text for the href
  61. linkDesc*: string ## 4. the title attribute of the final href
  62. line*: int ## 5.
  63. module*: string ## origin file, NOT a field in ``.idx`` file
  64. aux*: string ## auxuliary field, NOT a field in ``.idx`` file">IndexEntry</a></li>
  65. <li><a class="reference" href="#IndexEntryKind" title="IndexEntryKind = enum
  66. ieMarkupTitle = &quot;markupTitle&quot;, ## RST/Markdown title, text in `keyword` +
  67. ## HTML text in `linkTitle`
  68. ieNimTitle = &quot;nimTitle&quot;, ## Nim title
  69. ieHeading = &quot;heading&quot;, ## RST/Markdown markup heading, escaped
  70. ieIdxRole = &quot;idx&quot;, ## RST :idx: definition, escaped
  71. ieNim = &quot;nim&quot;, ## Nim symbol, unescaped
  72. ieNimGroup = &quot;nimgrp&quot; ## Nim overload group, unescaped">IndexEntryKind</a></li>
  73. </ul>
  74. </details>
  75. </li>
  76. <li>
  77. <details open>
  78. <summary><a class="reference reference-toplevel" href="#12" id="62">Procs</a></summary>
  79. <ul class="simple simple-toc-section">
  80. <ul class="simple nested-toc-section">$
  81. <li><a class="reference" href="#%24%2CIndexEntry" title="`$`(e: IndexEntry): string">`$`(e: IndexEntry): string</a></li>
  82. </ul>
  83. <ul class="simple nested-toc-section">cmp
  84. <li><a class="reference" href="#cmp%2CIndexEntry%2CIndexEntry" title="cmp(a, b: IndexEntry): int">cmp(a, b: IndexEntry): int</a></li>
  85. </ul>
  86. <ul class="simple nested-toc-section">formatIndexEntry
  87. <li><a class="reference" href="#formatIndexEntry%2CIndexEntryKind%2Cstring%2Cstring%2Cstring%2Cstring%2Cstring%2Cint" title="formatIndexEntry(kind: IndexEntryKind;
  88. htmlFile, id, term, linkTitle, linkDesc: string; line: int): tuple[
  89. entry: string, isTitle: bool]">formatIndexEntry(kind: IndexEntryKind;
  90. htmlFile, id, term, linkTitle, linkDesc: string; line: int): tuple[
  91. entry: string, isTitle: bool]</a></li>
  92. </ul>
  93. <ul class="simple nested-toc-section">hash
  94. <li><a class="reference" href="#hash%2CIndexEntry" title="hash(x: IndexEntry): Hash">hash(x: IndexEntry): Hash</a></li>
  95. </ul>
  96. <ul class="simple nested-toc-section">isDocumentationTitle
  97. <li><a class="reference" href="#isDocumentationTitle%2Cstring" title="isDocumentationTitle(hyperlink: string): bool">isDocumentationTitle(hyperlink: string): bool</a></li>
  98. </ul>
  99. <ul class="simple nested-toc-section">parseIdxFile
  100. <li><a class="reference" href="#parseIdxFile%2Cstring" title="parseIdxFile(path: string): tuple[fileEntries: seq[IndexEntry],
  101. title: IndexEntry]">parseIdxFile(path: string): tuple[fileEntries: seq[IndexEntry],
  102. title: IndexEntry]</a></li>
  103. </ul>
  104. <ul class="simple nested-toc-section">unquoteIndexColumn
  105. <li><a class="reference" href="#unquoteIndexColumn%2Cstring" title="unquoteIndexColumn(text: string): string">unquoteIndexColumn(text: string): string</a></li>
  106. </ul>
  107. </ul>
  108. </details>
  109. </li>
  110. </ul>
  111. </div>
  112. <div class="nine columns" id="content">
  113. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L1" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  114. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L1" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  115. <div id="tocRoot"></div>
  116. <p class="module-desc">Nim <span id="idx_1">idx</span> file format related definitions.</p>
  117. <div class="section" id="6">
  118. <h1><a class="toc-backref" href="#6">Imports</a></h1>
  119. <dl class="item">
  120. <a class="reference external" href="strutils.html">strutils</a>, <a class="reference external" href="syncio.html">syncio</a>, <a class="reference external" href="hashes.html">hashes</a>, <a class="reference external" href="os.html">os</a>
  121. </dl>
  122. </div>
  123. <div class="section" id="7">
  124. <h1><a class="toc-backref" href="#7">Types</a></h1>
  125. <dl class="item">
  126. <div id="IndexEntry">
  127. <dt><pre><a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  128. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="rstidx.html#IndexEntryKind"><span class="Identifier">IndexEntryKind</span></a> <span class="Comment">## 0.</span>
  129. <span class="Identifier">keyword</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## 1.</span>
  130. <span class="Identifier">link</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## 2.</span>
  131. <span class="Identifier">linkTitle</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## 3. contains a prettier text for the href</span>
  132. <span class="Identifier">linkDesc</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## 4. the title attribute of the final href</span>
  133. <span class="Identifier">line</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#int"><span class="Identifier">int</span></a> <span class="Comment">## 5.</span>
  134. <span class="Identifier">module</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## origin file, NOT a field in ``.idx`` file</span>
  135. <span class="Identifier">aux</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> <span class="Comment">## auxuliary field, NOT a field in ``.idx`` file</span></pre></dt>
  136. <dd>
  137. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L24" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  138. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L24" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  139. </dd>
  140. </div>
  141. <div id="IndexEntryKind">
  142. <dt><pre><a href="rstidx.html#IndexEntryKind"><span class="Identifier">IndexEntryKind</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
  143. <span class="Identifier">ieMarkupTitle</span> <span class="Other">=</span> <span class="StringLit">&quot;markupTitle&quot;</span><span class="Other">,</span> <span class="Comment">## RST/Markdown title, text in `keyword` +</span>
  144. <span class="Comment">## HTML text in `linkTitle`</span>
  145. <span class="Identifier">ieNimTitle</span> <span class="Other">=</span> <span class="StringLit">&quot;nimTitle&quot;</span><span class="Other">,</span> <span class="Comment">## Nim title</span>
  146. <span class="Identifier">ieHeading</span> <span class="Other">=</span> <span class="StringLit">&quot;heading&quot;</span><span class="Other">,</span> <span class="Comment">## RST/Markdown markup heading, escaped</span>
  147. <span class="Identifier">ieIdxRole</span> <span class="Other">=</span> <span class="StringLit">&quot;idx&quot;</span><span class="Other">,</span> <span class="Comment">## RST :idx: definition, escaped</span>
  148. <span class="Identifier">ieNim</span> <span class="Other">=</span> <span class="StringLit">&quot;nim&quot;</span><span class="Other">,</span> <span class="Comment">## Nim symbol, unescaped</span>
  149. <span class="Identifier">ieNimGroup</span> <span class="Other">=</span> <span class="StringLit">&quot;nimgrp&quot;</span> <span class="Comment">## Nim overload group, unescaped</span></pre></dt>
  150. <dd>
  151. discriminator tag
  152. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L14" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  153. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L14" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  154. </dd>
  155. </div>
  156. </dl>
  157. </div>
  158. <div class="section" id="12">
  159. <h1><a class="toc-backref" href="#12">Procs</a></h1>
  160. <dl class="item">
  161. <div id="$-procs-all">
  162. <div id="$,IndexEntry">
  163. <dt><pre><span class="Keyword">proc</span> <a href="#%24%2CIndexEntry"><span class="Identifier">`$`</span></a><span class="Other">(</span><span class="Identifier">e</span><span class="Other">:</span> <a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ValueError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  164. <dd>
  165. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L41" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  166. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L41" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  167. </dd>
  168. </div>
  169. </div>
  170. <div id="cmp-procs-all">
  171. <div id="cmp,IndexEntry,IndexEntry">
  172. <dt><pre><span class="Keyword">proc</span> <a href="#cmp%2CIndexEntry%2CIndexEntry"><span class="Identifier">cmp</span></a><span class="Other">(</span><span class="Identifier">a</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#int"><span class="Identifier">int</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  173. <dd>
  174. Sorts two <tt class="docutils literal"><span class="pre">IndexEntry</span></tt> first by <tt class="docutils literal"><span class="pre"><span class="Identifier">keyword</span></span></tt> field, then by <tt class="docutils literal"><span class="pre"><span class="Identifier">link</span></span></tt>.
  175. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L128" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  176. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L128" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  177. </dd>
  178. </div>
  179. </div>
  180. <div id="formatIndexEntry-procs-all">
  181. <div id="formatIndexEntry,IndexEntryKind,string,string,string,string,string,int">
  182. <dt><pre><span class="Keyword">proc</span> <a href="#formatIndexEntry%2CIndexEntryKind%2Cstring%2Cstring%2Cstring%2Cstring%2Cstring%2Cint"><span class="Identifier">formatIndexEntry</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <a href="rstidx.html#IndexEntryKind"><span class="Identifier">IndexEntryKind</span></a><span class="Other">;</span>
  183. <span class="Identifier">htmlFile</span><span class="Other">,</span> <span class="Identifier">id</span><span class="Other">,</span> <span class="Identifier">term</span><span class="Other">,</span> <span class="Identifier">linkTitle</span><span class="Other">,</span> <span class="Identifier">linkDesc</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a><span class="Other">;</span> <span class="Identifier">line</span><span class="Other">:</span> <a href="system.html#int"><span class="Identifier">int</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">tuple</span><span class="Other">[</span>
  184. <span class="Identifier">entry</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a><span class="Other">,</span> <span class="Identifier">isTitle</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a><span class="Other">]</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  185. <dd>
  186. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L68" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  187. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L68" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  188. </dd>
  189. </div>
  190. </div>
  191. <div id="hash-procs-all">
  192. <div id="hash,IndexEntry">
  193. <dt><pre><span class="Keyword">proc</span> <a href="#hash%2CIndexEntry"><span class="Identifier">hash</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a><span class="Other">)</span><span class="Other">:</span> <a href="hashes.html#Hash"><span class="Identifier">Hash</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  194. <dd>
  195. <p>Returns the hash for the combined fields of the type.</p>
  196. <p>The hash is computed as the chained hash of the individual string hashes.</p>
  197. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L134" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  198. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L134" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  199. </dd>
  200. </div>
  201. </div>
  202. <div id="isDocumentationTitle-procs-all">
  203. <div id="isDocumentationTitle,string">
  204. <dt><pre><span class="Keyword">proc</span> <a href="#isDocumentationTitle%2Cstring"><span class="Identifier">isDocumentationTitle</span></a><span class="Other">(</span><span class="Identifier">hyperlink</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  205. <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  206. <dd>
  207. <p>Returns true if the hyperlink is actually a documentation title.</p>
  208. <p>Documentation titles lack the hash. See <a class="reference external" href="#mergeIndexes,string">mergeIndexes()</a> for a more detailed explanation.</p>
  209. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L34" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  210. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L34" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  211. </dd>
  212. </div>
  213. </div>
  214. <div id="parseIdxFile-procs-all">
  215. <div id="parseIdxFile,string">
  216. <dt><pre><span class="Keyword">proc</span> <a href="#parseIdxFile%2Cstring"><span class="Identifier">parseIdxFile</span></a><span class="Other">(</span><span class="Identifier">path</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">fileEntries</span><span class="Other">:</span> <a href="system.html#seq"><span class="Identifier">seq</span></a><span class="Other">[</span><a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a><span class="Other">]</span><span class="Other">,</span>
  217. <span class="Identifier">title</span><span class="Other">:</span> <a href="rstidx.html#IndexEntry"><span class="Identifier">IndexEntry</span></a><span class="Other">]</span> {.
  218. <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  219. <dd>
  220. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L97" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  221. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L97" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  222. </dd>
  223. </div>
  224. </div>
  225. <div id="unquoteIndexColumn-procs-all">
  226. <div id="unquoteIndexColumn,string">
  227. <dt><pre><span class="Keyword">proc</span> <a href="#unquoteIndexColumn%2Cstring"><span class="Identifier">unquoteIndexColumn</span></a><span class="Other">(</span><span class="Identifier">text</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  228. <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
  229. <dd>
  230. Returns the unquoted version generated by <tt class="docutils literal"><span class="pre">quoteIndexColumn</span></tt>.
  231. <a href="https://github.com/nim-lang/Nim/tree/devel/lib/packages/docutils/rstidx.nim#L64" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
  232. <a href="https://github.com/nim-lang/Nim/edit/devel/lib/packages/docutils/rstidx.nim#L64" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
  233. </dd>
  234. </div>
  235. </div>
  236. </dl>
  237. </div>
  238. </div>
  239. </div>
  240. <div class="twelve-columns footer">
  241. <span class="nim-sprite"></span>
  242. <br>
  243. <small style="color: var(--hint);">Made with Nim. Generated: 2025-03-15 14:13:39 UTC</small>
  244. </div>
  245. </div>
  246. </div>
  247. <script defer data-domain="nim-lang.org" src="https://plausible.io/js/plausible.js"></script>
  248. </body>
  249. </html>