Skip to content

Commit

Permalink
chore(all): updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed May 7, 2024
1 parent 1e5b897 commit 8758ef7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/pages/docs/options.mdx
Expand Up @@ -485,6 +485,12 @@ For a packages index page (when `--entryPointStrategy` equals `packages`), the p

> Accepts a key/value object.
<Callout type="warning">
**Please note TypeDoc 0.26 will be introducing a native i18n implementation.
This option will likely be deprecated in favour of utilizing the native
implementation when it 0.26 is released.**
</Callout>

This option enables changing static text rendered to the documentation.
Useful if an alternative English phrase is preferred or to translate English text to another language.
This option does not attempt to address translating text within code comments.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/typedoc-usage.mdx
Expand Up @@ -67,7 +67,7 @@ You can utilize the provided JSON schema at https://typedoc-plugin-markdown.org/

### JavaScript Files

For JavaScript files, the `PluginOptions` interface that can be imported to a `typedoc.config.js` file with a `@type` annotation.
For JavaScript files, the `PluginOptions` interface can be imported to a `typedoc.config.js` file with a `@type` annotation.

You can use intersection types to combine the TypeDoc options with the plugin options.

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/plugins/docusaurus.mdx
@@ -1,5 +1,5 @@
import { Cards } from 'nextra/components';
import pjson from '../../../packages/typedoc-plugin-frontmatter/package.json';
import pjson from '../../../packages/docusaurus-plugin-typedoc/package.json';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faGithub } from '@fortawesome/free-brands-svg-icons';
import { faBolt } from '@fortawesome/free-solid-svg-icons';
Expand Down
2 changes: 1 addition & 1 deletion docs/theme.config.jsx
Expand Up @@ -16,7 +16,7 @@ export default {
<div
style={{
marginLeft: '6px',
fontSize: '13px',
fontSize: '14px',
fontWeight: 'bold',
}}
>
Expand Down
4 changes: 4 additions & 0 deletions packages/typedoc-plugin-markdown/src/options/declarations.ts
Expand Up @@ -385,6 +385,10 @@ export const indexFormat: Partial<DeclarationOption> = {
};

/**
* <Callout type="warning">
* **Please note TypeDoc 0.26 will be introducing a native i18n implementation. This option will likely be deprecated in favour of utilizing the native implementation when 0.26 is released.**
* </Callout>
*
* This option enables changing static text rendered to the documentation.
* Useful if an alternative English phrase is preferred or to translate English text to another language.
* This option does not attempt to address translating text within code comments.
Expand Down

0 comments on commit 8758ef7

Please sign in to comment.