docs: update override price selection strategy documentation (#5438)
* docs: update override price selection strategy documentation * fix eslint errors
This commit is contained in:
@@ -11,11 +11,31 @@ module.exports = {
|
||||
tsconfig: path.join(pathPrefix, "packages/medusa/tsconfig.json"),
|
||||
name: "Entities Reference",
|
||||
indexTitle: "Entities Reference",
|
||||
entryDocument: "index.md",
|
||||
entryDocument: "_index.mdx",
|
||||
hideInPageTOC: true,
|
||||
hideBreadcrumbs: true,
|
||||
plugin: [...globalTypedocOptions.plugin, "typedoc-plugin-frontmatter"],
|
||||
plugin: ["typedoc-plugin-markdown-medusa", "typedoc-plugin-frontmatter"],
|
||||
frontmatterData: {
|
||||
displayed_sidebar: "entitiesSidebar",
|
||||
},
|
||||
formatting: {
|
||||
"*": {
|
||||
showCommentsAsHeader: true,
|
||||
sections: {
|
||||
member_sources_definedIn: false,
|
||||
reflection_hierarchy: false,
|
||||
},
|
||||
parameterStyle: "component",
|
||||
parameterComponent: "ParameterTypes",
|
||||
mdxImports: [
|
||||
`import ParameterTypes from "@site/src/components/ParameterTypes"`,
|
||||
],
|
||||
reflectionGroups: {
|
||||
Constructors: false,
|
||||
Methods: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
objectLiteralTypeDeclarationStyle: "component",
|
||||
mdxOutput: true,
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports = {
|
||||
tsconfig: path.join(pathPrefix, "packages/medusa-js/tsconfig.json"),
|
||||
name: "JS Client Reference",
|
||||
indexTitle: "JS Client Reference",
|
||||
entryDocument: "index.md",
|
||||
entryDocument: "_index.mdx",
|
||||
hideInPageTOC: true,
|
||||
hideBreadcrumbs: true,
|
||||
plugin: [
|
||||
|
||||
@@ -86,7 +86,6 @@ module.exports = ({
|
||||
"typedoc-plugin-rename-defaults",
|
||||
"typedoc-plugin-frontmatter",
|
||||
],
|
||||
hideMembersSymbol: true,
|
||||
formatting,
|
||||
allReflectionsHaveOwnDocument: true,
|
||||
objectLiteralTypeDeclarationStyle: "component",
|
||||
|
||||
@@ -71,7 +71,7 @@ export function load(app: Application) {
|
||||
help: "[Markdown Plugin] Do not add special symbols for class members.",
|
||||
name: "hideMembersSymbol",
|
||||
type: ParameterType.Boolean,
|
||||
defaultValue: false,
|
||||
defaultValue: true,
|
||||
})
|
||||
|
||||
app.options.addDeclaration({
|
||||
|
||||
Reference in New Issue
Block a user