Add documentation to the macrocache module (#17431)

* Add docs to macrocache

* use hint

* Use incl in the incl example

* add macrocache to lib

* consistency

* Update doc/lib.rst

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

* apply suggestions

* clarify the warning

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
This commit is contained in:
Danil Yarantsev 2021-03-21 12:34:10 +03:00 • committed by GitHub
commit c5b109233a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 179 additions and 15 deletions

View file

@ -64,6 +64,9 @@ Core
* `locks <locks.html>`_
Locks and condition variables for Nim.
* `macrocache <macrocache.html>`_
Provides an API for macros to collect compile-time information across modules.
* `macros <macros.html>`_
Contains the AST API and documentation of Nim for writing macros.