Skip to content

Commit

Permalink
chore(global): docs updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed Apr 29, 2024
1 parent 2e5959c commit 79ff27e
Show file tree
Hide file tree
Showing 24 changed files with 224 additions and 306 deletions.
40 changes: 0 additions & 40 deletions devtools/scripts/generate-schema/generate-schema.ts

This file was deleted.

88 changes: 44 additions & 44 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions docs/pages/api-docs/Class.MarkdownThemeContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ Partials are categorised by their use:

`string`

##### footer()

> **footer**: () => `string`
###### Returns

`string`

##### header()

> **header**: () => `string`
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/api-docs/Interface.TextContentMappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ Describes the keys available to replace static text.
***

### header.readme

> **header.readme**: `string`
***

### header.docs

> **header.docs**: `string`
Expand All @@ -28,6 +22,12 @@ Describes the keys available to replace static text.
***

### footer.text

> **footer.text**: `string`
***

### title.indexPage

> **title.indexPage**: `string`
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Visit the dedicated examples repository of examples showcasing the output genera
title="View on GitHub"
icon={<FontAwesomeIcon icon={faGithub} />}
arrow={true}
href="https://github.com/typedoc-plugin-markdown/typedoc-plugin-markdown-examples"
href="https://github.com/typedoc2md/typedoc-plugin-markdown-examples"
target="_blank"
/>
</Cards>
10 changes: 5 additions & 5 deletions docs/pages/docs/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,10 @@ The `{version}` placeholder requires the TypeDoc option [`includeVersion`](https

Keys are categorised with the following namespace conventions:

- `header.*` defines text in the page header (if displayed).
- `breadcrumbs.*` defines breadcrumbs in page header (if displayed).
- `title.*` defines text in main page titles.
- `label.*` other text in page content, including content headings and table headers.
- `kind.*` defines text mappings to TypeDoc's `ReflectionKind` definitions.
- `header.*`, `breadcrumbs.*`,`footer.*`: Text in main page elements (if displayed).
- `title.*`: Text in main page titles.
- `label.*` Text in page content, including content headings and table headers.
- `kind.*` Text mappings to TypeDoc's `ReflectionKind` definitions.

Only keys that require translation need to be added to the object.

Expand All @@ -515,6 +514,7 @@ Only keys that require translation need to be added to the object.
"header.title": "{projectName} {version}",
"header.docs": "Docs",
"breadcrumbs.home": "{projectName} {version}",
"footer.text": "",
"title.indexPage": "{projectName} {version}",
"title.modulePage": "{name}",
"title.memberPage": "{kind}: {name}",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/plugins/frontmatter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Please see the [option guide](/plugins/frontmatter/options) for available config
title="View on GitHub"
icon={<FontAwesomeIcon icon={faGithub} />}
arrow={true}
href="https://github.com/typedoc-plugin-markdown/typedoc-plugin-markdown-examples/tree/main/examples/08-frontmatter-example#readme"
href="https://github.com/typedoc2md/typedoc-plugin-markdown-examples/tree/main/examples/08-frontmatter-example#readme"
target="_blank"
/>
</Cards>
4 changes: 2 additions & 2 deletions docs/pages/plugins/github-wiki.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ The following is a simple example of a GithubWiki project running TypeDoc.
title="View Wiki on Github"
icon={<FontAwesomeIcon icon={faGithub} />}
arrow={true}
href="https://github.com/typedoc-plugin-markdown/typedoc-plugin-markdown-examples/wiki"
href="https://github.com/typedoc2md/typedoc-plugin-markdown-examples/wiki"
target="_blank"
/>
<Cards.Card
title="View Source on Github"
icon={<FontAwesomeIcon icon={faGithub} />}
arrow={true}
href="https://github.com/typedoc-plugin-markdown/typedoc-plugin-markdown-examples/tree/main/examples/07-typedoc-github-wiki-theme"
href="https://github.com/typedoc2md/typedoc-plugin-markdown-examples/tree/main/examples/07-typedoc-github-wiki-theme"
target="_blank"
/>
</Cards>
2 changes: 1 addition & 1 deletion docs/pages/plugins/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Utility plugins that can be used to provide metadata or adjust the output of the

<Cards num={2}>
<Cards.Card
title="Frontmatter"
title="typedoc-plugin-frontmatter"
icon={<FontAwesomeIcon icon={faBook} />}
arrow={true}
href="plugins/frontmatter"
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/plugins/remark.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm install typedoc-plugin-remark@next --save-dev
title="View on GitHub"
icon={<FontAwesomeIcon icon={faGithub} />}
arrow={true}
href="https://github.com/typedoc-plugin-markdown/typedoc-plugin-markdown-examples/tree/main/examples/09-remark-example#readme"
href="https://github.com/typedoc2mdn/typedoc-plugin-markdown-examples/tree/main/examples/09-remark-example#readme"
target="_blank"
/>
</Cards>
10 changes: 5 additions & 5 deletions docs/public/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"properties": {
"anchorPrefix": {
"type": "string",
"description": "[typedoc-plugin-markdown] Custom anchor prefix"
"description": "[typedoc-plugin-markdown] Custom anchor prefix when anchoring to in-page symbols."
},
"entryFileName": {
"type": "string",
Expand Down Expand Up @@ -167,15 +167,15 @@
"header.title": {
"type": "string"
},
"header.readme": {
"type": "string"
},
"header.docs": {
"type": "string"
},
"breadcrumbs.home": {
"type": "string"
},
"footer.text": {
"type": "string"
},
"title.indexPage": {
"type": "string"
},
Expand Down Expand Up @@ -366,9 +366,9 @@
"description": "[typedoc-plugin-markdown] Provides a mechanism to change the content of text used in documentation.",
"default": {
"header.title": "{projectName} {version}",
"header.readme": "Readme",
"header.docs": "Docs",
"breadcrumbs.home": "{projectName} {version}",
"footer.text": "",
"title.indexPage": "{projectName} {version}",
"title.modulePage": "{name}",
"title.memberPage": "{kind}: {name}",
Expand Down
2 changes: 1 addition & 1 deletion docs/theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
</div>
),
project: {
link: 'https://github.com/tgreyuk/typedoc-plugin-markdown/tree/next',
link: 'https://github.com/typedoc2md/typedoc-plugin-markdown/tree/next',
},
sidebar: {
defaultMenuCollapseLevel: 1,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"test-all": "npm run test --workspaces --if-present",
"prerelease": "npm run build-all",
"release": "npx changeset publish",
"schema": "ts-node ./devtools/scripts/generate-schema/generate-schema.ts",
"prepare": "husky"
},
"devDependencies": {
Expand Down

0 comments on commit 79ff27e

Please sign in to comment.