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
|
{#
Template for the macro_info() command
(C) Laurent Franceschetti 2019
#}
## Macros Plugin Environment
### General List
All available variables and filters within the macros plugin:
{{ context() | pretty }}
### Config Information
Standard MkDocs configuration information. Do not try to modify.
e.g. {{ "`{{ config.docs_dir }}`" }}
See also the [MkDocs documentation on the config object](https://www.MkDocs.org/user-guide/custom-themes/#config).
{{ context(config)| pretty }}
### Macros
These macros have been defined programmatically for this environment
(module or pluglets).
{{ context(macros)| pretty }}
### Git Information
Information available on the last commit and the git repository containing the
documentation project:
e.g. {{ "`{{ git.message }}`" }}
{{ context(git)| pretty }}
### Page Attributes
Provided by MkDocs. These attributes change for every page
(the attributes shown are for this page).
e.g. {{ "`{{ page.title }}`" }}
See also the [MkDocs documentation on the page object](https://www.MkDocs.org/user-guide/custom-themes/#page).
{{ context(page)| pretty }}
To have all titles of all pages, use:
```
{% raw %}
{% for page in navigation.pages %}
- {{ page.title }}
{% endfor %}
{% endraw %}
```
### Plugin Filters
These filters are provided as a standard by the macros plugin.
{{ context(filters)| pretty }}
### Builtin Jinja2 Filters
These filters are provided by Jinja2 as a standard.
See also the [Jinja2 documentation on builtin filters](https://jinja.palletsprojects.com/en/3.1.x/templates/#builtin-filterss).
{{ context(filters_builtin) | pretty }}
|