File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
apps/api-documenter/src/plugin Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { MarkdownDocumenterAccessor } from './MarkdownDocumenterAccessor';
77
88/**
99 * Context object for {@link MarkdownDocumenterFeature}.
10+ * Exposes various services that can be used by a plugin.
1011 *
1112 * @public
1213 */
@@ -45,7 +46,8 @@ export interface IMarkdownDocumenterFeatureOnBeforeWritePageArgs {
4546 readonly apiItem : ApiItem ;
4647
4748 /**
48- * The page content. The onBeforeWritePage() handler can reassign this string to customize the page appearance.
49+ * The page content. The {@link MarkdownDocumenterFeature.onBeforeWritePage} handler can reassign this
50+ * string to customize the page appearance.
4951 */
5052 pageContent : string ;
5153
@@ -69,6 +71,7 @@ export interface IMarkdownDocumenterFeatureOnFinishedArgs {
6971 * @public
7072 */
7173export class MarkdownDocumenterFeature extends PluginFeature {
74+ /** {@inheritdoc PluginFeature.context } */
7275 public context : MarkdownDocumenterFeatureContext ;
7376
7477 /**
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export class PluginFeatureInitialization {
2121
2222/**
2323 * Context object for {@link PluginFeature}.
24+ * Exposes various services that can be used by a plugin.
2425 *
2526 * @public
2627 */
@@ -32,11 +33,14 @@ export class PluginFeatureContext {
3233 * @public
3334 */
3435export abstract class PluginFeature {
36+ /**
37+ * Exposes various services that can be used by a plugin.
38+ */
3539 public context : PluginFeatureContext ;
3640
3741 /**
3842 * The subclass should pass the `initialization` through to the base class.
39- * Do not put custom initialization code in the constructor. Insteadm perform your initialization in the
43+ * Do not put custom initialization code in the constructor. Instead perform your initialization in the
4044 * `onInitialized()` event function.
4145 * @internal
4246 */
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ export class MarkdownDocumenterAccessor {
4444
4545// @public
4646export class MarkdownDocumenterFeature extends PluginFeature {
47- // (undocumented)
4847 context: MarkdownDocumenterFeatureContext ;
4948 // @virtual
5049 onBeforeWritePage(eventArgs : IMarkdownDocumenterFeatureOnBeforeWritePageArgs ): void ;
@@ -65,7 +64,6 @@ export class MarkdownDocumenterFeatureContext {
6564export abstract class PluginFeature {
6665 // @internal
6766 constructor (initialization : PluginFeatureInitialization );
68- // (undocumented)
6967 context: PluginFeatureContext ;
7068 // @virtual
7169 onInitialized(): void ;
You can’t perform that action at this time.
0 commit comments