UNPKG

943 BTypeScriptView Raw
1import type { ApiModel } from '@microsoft/api-extractor-model';
2import type { IYamlTocItem } from '../yaml/IYamlTocFile';
3import type { IYamlItem } from '../yaml/IYamlApiFile';
4import { YamlDocumenter } from './YamlDocumenter';
5/**
6 * Extends YamlDocumenter with some custom logic that is specific to Office Add-ins.
7 */
8export declare class OfficeYamlDocumenter extends YamlDocumenter {
9 private _snippets;
10 private _snippetsAll;
11 private _apiSetUrlDefault;
12 private _apiSetUrls;
13 constructor(apiModel: ApiModel, inputFolder: string, newDocfxNamespaces?: boolean);
14 /** @override */
15 generateFiles(outputFolder: string): void;
16 /** @override */
17 protected onGetTocRoot(): IYamlTocItem;
18 /** @override */
19 protected onCustomizeYamlItem(yamlItem: IYamlItem): void;
20 private _fixupApiSet;
21 private _getApiSetUrl;
22 private _generateExampleSnippetText;
23}
24//# sourceMappingURL=OfficeYamlDocumenter.d.ts.map
\No newline at end of file