Derek Cormier
8678550a94
build(bazel): create targets for aio docs tests
...
This replaces the docs-test npm script
2022-11-22 13:51:16 -07:00
George Kalpakas
39800c1768
build(docs-infra): update remark-html to 13.0.2 ( #43435 )
...
NOTE:
This [version][1] includes a breaking fix ([commit b0b1ba5c5][2]), which
turns sanitization on by default. Since, we don't need sanitization (the
HTML is authored by docs authors and tooling and should be safe), this
commit restores the old behavior by setting the [sanitize][3] option to
`false`.
[1]: https://github.com/remarkjs/remark-html/releases/tag/13.0.2
[2]: b0b1ba5c55
[3]: https://github.com/remarkjs/remark-html#optionssanitize
PR Close #43435
2021-09-14 08:29:50 -07:00
George Kalpakas
d42019d412
build(docs-infra): update eslint and eslint-plugin-jasmine to latest versions ( #41429 )
...
This commit updates the `eslint` and `eslint-plugin-jasmine` packages to
latest versions to take advantage of latest fixes and improvements.
PR Close #41429
2021-04-06 10:22:53 -07:00
George Kalpakas
1bcd58cee8
refactor(docs-infra): remove linenums=false since it is now the default ( #31674 )
...
PR Close #31674
2019-07-24 14:38:54 -07:00
Pete Bacon Darwin
46c03bd866
build(docs-infra): never show linenums for triple-backticked code blocks ( #31493 )
...
PR Close #31493
2019-07-16 13:00:55 -04:00
Pete Bacon Darwin
77309e2ea4
build(aio): map H3 headings into H4 headings for certain templates ( #24000 )
...
The sections such as methods and decorator options are already headed
by a H3 heading so we need to map the H3 headings in the API doc source
down to H4 headings.
This commit includes general heading mapping functionality accessible via
the `marked` Nunjucks filter.
PR Close #24000
2018-06-13 16:47:40 -07:00
Peter Bacon Darwin
5057e16874
build(aio): throw an error if a code-example tag is not closed
2017-05-04 15:52:17 -07:00
Peter Bacon Darwin
f32bfcdbe5
build(aio): convert triple backtick blocks to code-example tags
...
Closes #16246
2017-04-30 09:07:28 -07:00
Peter Bacon Darwin
de25cfc0cb
build(aio): move autolink-headings to post-processing ( #16336 )
...
The autolinking is now done on the `renderedContent` which means it also
captures and autolinks headings that were generated outside of markdown.
PR Close #16336
2017-04-27 23:42:04 -05:00
Peter Bacon Darwin
1e848d696b
feat(aio): add GH-style anchor links to headings ( #16161 )
...
Closes #16126
PR Close #16161
2017-04-19 22:34:46 -05:00
Peter Bacon Darwin
abecf3eb6d
build(aio): move the transforms folder into the tools folder
2017-04-16 22:05:23 +01:00