Commit Graph

8 Commits

Author SHA1 Message Date
Martin Taillefer 48c8a28968
Prepare for 1.5. (#5689) 2019-11-14 13:01:31 -08:00
Martin Taillefer 34727cba6d
Update reference docs. (#5666) 2019-11-13 15:15:11 -08:00
Martin Taillefer 5effeb4c3c
Update reference docs. (#5526) 2019-11-08 15:53:54 -08:00
Martin Taillefer 08189f25ef
Update reference docs. (#5392) 2019-11-05 12:03:41 -08:00
Martin Taillefer 68c6ee0b84
Update reference docs. (#5269) 2019-10-28 14:42:16 -07:00
Martin Taillefer e8f8b4feb8
Improve snippet logic. (#5205)
- Support snippets that specify the body syntax and output
syntax of the snippet.

- Snippets with bash syntax triggered an incorrect error message.

- No error message was produced for a misnamed snippet

- Convert a security task to use snippets to populate its
many preformatted blocks.
2019-10-20 16:27:51 -07:00
Martin Taillefer b322ba16c2
Add test files for text block tests. (#3726) 2019-03-17 08:22:03 -07:00
Martin Taillefer 8c0cb431ce
Add support for snippets and file content insertion. (#1567)
- You can now use {{< file_content >}} to pull in files from the doc repo
into generated documentation. If you include the `snippet` attribute, you can
pull in only pieces of the file instead. This makes it possible to annotate
scripts and yaml files and extract those annotated bits and pieces into the
docs. This should let us have fully tested examples which are then incorporated
into the docs

- The previous {{< file_content >}} feature that lets you dynamically pull
content from a URL has been renamed to {{< fetch_content >}} instead.
2018-06-21 09:56:22 -07:00