forked from medusajs/medusa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
418 changed files
with
76,265 additions
and
16,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
docs-util/typedoc-plugins/typedoc-frontmatter-plugin/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# typedoc-frontmatter-plugin | ||
|
||
A Typedoc plugin that allows inserting frontmatter key-value pairs at the top of the exported Markdown files. | ||
|
||
## Configurations | ||
|
||
The following options are optional and can be used to customize the configurations of the plugin. | ||
|
||
### frontmatterData | ||
|
||
`frontmatterData` is an object of key-value pairs. If none provided, no frontmatter variables will be added to the Markdown files. | ||
|
||
An example of passing it in a JavaScript configuration file: | ||
|
||
```js | ||
frontmatterData: { | ||
displayed_sidebar: "jsClientSidebar", | ||
}, | ||
``` | ||
|
||
If passing the option in the command line the value should be a JSON object. | ||
|
||
### pagesPattern | ||
|
||
`pagesPattern` is a string that contains a regular expression. This allows you to limit the pages the frontmatter variables should be added to. | ||
|
||
By default, the frontmatter variables will be added to all files. | ||
|
||
An example of passing it in a JavaScript configuration file: | ||
|
||
```js | ||
frontmatterData: { | ||
pagesPattern: "internal\\.", | ||
}, | ||
``` |
49 changes: 49 additions & 0 deletions
49
docs-util/typedoc-plugins/typedoc-frontmatter-plugin/dist/index.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
docs-util/typedoc-plugins/typedoc-frontmatter-plugin/dist/index.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
docs-util/typedoc-plugins/typedoc-frontmatter-plugin/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "typedoc-frontmatter-plugin", | ||
"version": "1.0.0", | ||
"description": "Plugin to add frontmatter key-values at the top of pages", | ||
"main": "./dist/index.js", | ||
"exports": "./dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "Shahed Nasser", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsc" | ||
}, | ||
"peerDependencies": { | ||
"typedoc": "0.22.x" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^16.11.10", | ||
"typedoc": "^0.22.10", | ||
"@typescript-eslint/eslint-plugin": "5.6.0", | ||
"@typescript-eslint/parser": "5.6.0", | ||
"typescript": "4.5.2" | ||
}, | ||
"keywords": [ | ||
"typedocplugin", | ||
"packages", | ||
"monorepo", | ||
"lerna", | ||
"typedoc" | ||
] | ||
} |
Oops, something went wrong.