@tinymce/moxiedoc
Advanced tools
Comparing version 0.3.0-feature.20220823042626526.sha7947b6a to 0.3.0-feature.20220823043006583.shacb1c7bd
@@ -12,3 +12,3 @@ # Changelog | ||
### Added | ||
- New `structure` option for specifying `legacy` nested structure for antora docs, or `default` file structure. | ||
- New `structure` option for specifying `legacy` nested structure for antora docs. | ||
@@ -15,0 +15,0 @@ ## 0.2.1 - 2022-04-29 |
{ | ||
"name": "@tinymce/moxiedoc", | ||
"version": "0.3.0-feature.20220823042626526.sha7947b6a", | ||
"version": "0.3.0-feature.20220823043006583.shacb1c7bd", | ||
"description": "A tool for generating API documentation", | ||
@@ -5,0 +5,0 @@ "author": "Tiny Technologies, Inc", |
@@ -206,4 +206,8 @@ import * as fs from 'fs'; | ||
const legacyIndexToAdoc = | ||
(namespace: NavFile, template: HandlebarsTemplateDelegate, descriptions: Record<string, string>, structure: ExportStructure): string => { | ||
const legacyIndexToAdoc = ( | ||
namespace: NavFile, | ||
template: HandlebarsTemplateDelegate, | ||
descriptions: Record<string, string>, | ||
structure: ExportStructure | ||
): string => { | ||
const keywords = [ getApiFromFullName(namespace.title) ]; | ||
@@ -240,4 +244,8 @@ const indexPageLines = [ | ||
const generateLegacyIndexPages = | ||
(indexPage: NavFile, sortedTypes: Type[], memberTemplate: HandlebarsTemplateDelegate, structure: ExportStructure): PageOutput[] => { | ||
const generateLegacyIndexPages = ( | ||
indexPage: NavFile, | ||
sortedTypes: Type[], | ||
memberTemplate: HandlebarsTemplateDelegate, | ||
structure: ExportStructure | ||
): PageOutput[] => { | ||
const newNavPages = [] as PageOutput[]; | ||
@@ -244,0 +252,0 @@ const descriptions = getDescriptionsFromTypes(sortedTypes); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6951
367363