Skip to content

Commit 95bf55b

Browse files
committed
Add some missing docs
1 parent 05695d0 commit 95bf55b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

apps/api-documenter/src/plugin/MarkdownDocumenterFeature.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/
7173
export class MarkdownDocumenterFeature extends PluginFeature {
74+
/** {@inheritdoc PluginFeature.context} */
7275
public context: MarkdownDocumenterFeatureContext;
7376

7477
/**

apps/api-documenter/src/plugin/PluginFeature.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/
3435
export 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
*/

common/reviews/api/api-documenter.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export class MarkdownDocumenterAccessor {
4444

4545
// @public
4646
export class MarkdownDocumenterFeature extends PluginFeature {
47-
// (undocumented)
4847
context: MarkdownDocumenterFeatureContext;
4948
// @virtual
5049
onBeforeWritePage(eventArgs: IMarkdownDocumenterFeatureOnBeforeWritePageArgs): void;
@@ -65,7 +64,6 @@ export class MarkdownDocumenterFeatureContext {
6564
export abstract class PluginFeature {
6665
// @internal
6766
constructor(initialization: PluginFeatureInitialization);
68-
// (undocumented)
6967
context: PluginFeatureContext;
7068
// @virtual
7169
onInitialized(): void;

0 commit comments

Comments
 (0)