Matthieu Riegler
1339f06ebe
docs(docs-infra): Improve markdown generation for code examples. ( #60408 )
...
Markdown requires code blocks (```) to start without white spaces. With this change we ensure that `@example` blocks with leading spaces are well supported.
fixes #60407
PR Close #60408
2025-03-21 14:35:19 -07:00
Matthieu Riegler
0d88463a66
docs(docs-infra): inline example in description ( #59908 )
...
fixes #59905
PR Close #59908
2025-02-12 09:21:49 -08:00
hawkgs
77a0ee85c1
feat(docs-infra): use angular-ts and angular-html shiki highlighting ( #59004 )
...
Use `angular-ts` instead of `typescript` and `angular-html` instead of `html`.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
0a399e7f9c
refactor(docs-infra): update comments ( #59004 )
...
Add missing file header comments and update others.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
d40967c356
fix(docs-infra): minor bug fixes ( #59004 )
...
Minor bug fixes found and implemented during testing.
PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs
9ca8ddb265
fix(docs-infra): markdown code block highlighting for the different file types ( #59004 )
...
Set the code block language highlighting based on the file type.
PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs
e1009f09c0
fix(docs-infra): handle regions overlap and multiple-regions examples ( #59004 )
...
It seems that there are overlapping region markers and an example can be composed by multiple regions.
PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs
e0beb27581
fix(docs-infra): interpolation script nesting ( #59004 )
...
Add support for nested #docregion-s and modify the examples caching.
PR Close #59004
2024-12-04 18:05:58 +01:00
hawkgs
8b93e3c90d
feat(docs-infra): implement interpolation script ( #59004 )
...
The script substitutes the JSDoc example tags with the respective code sample.
PR Close #59004
2024-12-04 18:05:58 +01:00