diff --git a/doc/lib.rst b/doc/lib.rst index d00591e10..6cb933f8a 100644 --- a/doc/lib.rst +++ b/doc/lib.rst @@ -336,23 +336,23 @@ Parsers This is a low level module that implements an extremely efficient buffering scheme for lexers and parsers. This is used by the diverse parsing modules. -* `highlite `_ +* `packages/docutils/highlite `_ Source highlighter for programming or markup languages. Currently only few languages are supported, other languages may be added. The interface supports one language nested in another. -* `rst `_ +* `packages/docutils/rst `_ This module implements a reStructuredText parser. A large subset is implemented. Some features of the markdown wiki syntax are also supported. -* `rstast `_ +* `packages/docutils/rstast `_ This module implements an AST for the reStructuredText parser. -* `rstgen `_ +* `packages/docutils/rstgen `_ This module implements a generator of HTML/Latex from reStructuredText. -* `sexp `_ +* `packages/docutils/sexp `_ High performance sexp parser and generator, mainly for communication with emacs. @@ -388,7 +388,7 @@ Cryptography and Hashing * `base64 `_ This module implements a base64 encoder and decoder. -* `sha1 `_ +* `std/sha1 `_ This module implements a sha1 encoder and decoder. diff --git a/lib/packages/docutils/highlite.nim b/lib/packages/docutils/highlite.nim index 4d444603e..614b7176f 100644 --- a/lib/packages/docutils/highlite.nim +++ b/lib/packages/docutils/highlite.nim @@ -10,6 +10,8 @@ ## Source highlighter for programming or markup languages. ## Currently only few languages are supported, other languages may be added. ## The interface supports one language nested in another. +## +## **Note:** Import ``packages/docutils/highlite`` to use this module import strutils diff --git a/lib/packages/docutils/rst.nim b/lib/packages/docutils/rst.nim index 023b159a0..615119135 100644 --- a/lib/packages/docutils/rst.nim +++ b/lib/packages/docutils/rst.nim @@ -10,6 +10,8 @@ ## This module implements a `reStructuredText`:idx: parser. A large ## subset is implemented. Some features of the `markdown`:idx: wiki syntax are ## also supported. +## +## **Note:** Import ``packages/docutils/rst`` to use this module import os, strutils, rstast diff --git a/lib/packages/docutils/rstast.nim b/lib/packages/docutils/rstast.nim index fee824b09..044ea2c14 100644 --- a/lib/packages/docutils/rstast.nim +++ b/lib/packages/docutils/rstast.nim @@ -8,6 +8,8 @@ # ## This module implements an AST for the `reStructuredText`:idx: parser. +## +## **Note:** Import ``packages/docutils/rstast`` to use this module import strutils, json diff --git a/lib/packages/docutils/rstgen.nim b/lib/packages/docutils/rstgen.nim index 766ce6ffd..85b40af4a 100644 --- a/lib/packages/docutils/rstgen.nim +++ b/lib/packages/docutils/rstgen.nim @@ -22,6 +22,8 @@ ## other lower level methods to finally build complete documents. This requires ## many options and tweaking, but you are not limited to snippets and can ## generate `LaTeX documents `_ too. +## +## **Note:** Import ``packages/docutils/rstgen`` to use this module import strutils, os, hashes, strtabs, rstast, rst, highlite, tables, sequtils, algorithm, parseutils diff --git a/nimsuggest/sexp.nim b/nimsuggest/sexp.nim index e0983467f..8f92e9098 100644 --- a/nimsuggest/sexp.nim +++ b/nimsuggest/sexp.nim @@ -7,6 +7,8 @@ # distribution, for details about the copyright. # +## **Note:** Import ``nimsuggest/sexp`` to use this module + import hashes, strutils, lexbase, streams, unicode, macros