Skip to content

Improved Debug/Documentation Information

Pre-release
Pre-release
Compare
Choose a tag to compare
@fralau fralau released this 24 Feb 20:17
· 256 commits to master since this release

The purpose of this new version is to improve the usability and documentation (as in php).

A rendering error no longer stop the mkdocs server, but results in the error and traceback being displayed in the page.

A new command {{ macros_infos() }} displays detailed information on the environment, and all variables, functions and filters available. This should be the go-to for questions on "is information XY available, and where?".

The config and page objects are now included.

To facilitate debugging and documentation, an environment object is available out of the box, with information of platform and software versions. If the website is under a git repository, the git version is also indicated.

A function now() has been added for timestamps and other operations related to time.

Let me know how this version works for you.