docs-util: added a namespaces plugin (#8500)

Added a namespaces plugin that allows generating namespaces and automatically adds reflections in a path pattern to the namespace.

This is particularly useful for the workflows reference, as workflows under the `**/packages/core/core-flows/**/workflows/**` path pattern are shown under a Workflows title, and steps under the path pattern `**/packages/core/core-flows/**/steps/**` are shown under a Steps title.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-08-08 13:03:42 +00:00
1 parent c21407afbe
commit fe200e0bb3
7 files changed
+110 -266

No files matched your search

+10
View File
@@ -3906,6 +3906,15 @@ __metadata:
languageName: node
linkType: hard
"minimatch@npm:^10.0.1":
version: 10.0.1
resolution: "minimatch@npm:10.0.1"
dependencies:
brace-expansion: ^2.0.1
checksum: e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d
languageName: node
linkType: hard
"minimatch@npm:^3.0.2, minimatch@npm:^3.0.3, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -5374,6 +5383,7 @@ __metadata:
"@types/node": ^16.11.10
eslint: ^8.53.0
glob: ^10.3.10
minimatch: ^10.0.1
types: "*"
typescript: 5.5
utils: "*"