You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec-proposals/scripts
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.
6 years ago
..
continuserv Merge pull request #1358 from uhoreg/ignore-emacs-tmp 6 years ago
contrib Add a nix-shell environment suitable for building 8 years ago
css Small grammatical and stylistic fixes 6 years ago
speculator Add a bunch more people to the speculator trusted list 6 years ago
templating Render a warning if the spec is unstable 6 years ago
dump-swagger.py use python3 in dump-swagger.py 6 years ago
gendoc.py Merge remote-tracking branch 'matrix-org/master' into travis/general/r0-prep 6 years ago
generate-matrix-org-assets Don't generate proposals.rst in Circle CI 6 years ago
proposals.py Merge pull request #1340 from matrix-org/benparsons/prdefence 6 years ago
requirements.txt Use towncrier 18.6.0 final 6 years ago
swagger-http-server.py Convert build scripts to python 3 6 years ago
test-and-build.sh Advertise python 3.4 support and use that in Travis CI 6 years ago