docs-matrix-spec/scripts/templating/matrix_templates
Travis Ralston 98a445890c Render a warning if the spec is unstable
Fixes https://github.com/matrix-org/matrix-doc/issues/1499

This is done by using magic variables in the RST. The magic variables are generated based on the substitutions available, making them available for use at build-time. 

Magic variables were chosen because it allows people to continue working on the spec and release process without having to worry about removing a chunk of text from the top of the file. Originally, this was attempted by using jinja2 if-statements, however the substitutions are replaced *after* the template is executed, so the condition would never match. 

The format of the variable is to make the templating happy. Using colons or percent signs results in the templator thinking something else is going on, and then complaining about format.
2018-08-30 15:05:50 -06:00
..
templates Rename the presence EDU files to be accurate to their types; Misc cleanup of titles 2018-08-17 10:53:47 -06:00
__init__.py Convert build scripts to python 3 2018-07-06 15:21:07 -06:00
sections.py Render a warning if the spec is unstable 2018-08-30 15:05:50 -06:00
units.py Render a warning if the spec is unstable 2018-08-30 15:05:50 -06:00