Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Jun 14, 2024
1 parent 9f6cc39 commit 4524fdc
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 33 deletions.
6 changes: 0 additions & 6 deletions packages/cli/configuration/fern/definition/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,6 @@ types:
- PageConfiguration
- LinkConfiguration

SubpackageOrSubpackages:
discriminated: false
union:
- string
- list<string>

ApiReferenceSectionConfiguration:
properties:
section:
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/configuration/src/docs-yml/getAllPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function getAllPagesFromApiReferenceLayoutItem({
await readFile(item.absolutePath)
).toString()
};
} else if (item.type === "package") {
} else if (item.type === "package" || item.type === "section") {
const toRet = combineMaps(
await Promise.all(
item.contents.map(async (subItem) => {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export * from "./PageConfiguration";
export * from "./SectionConfiguration";
export * from "./ApiReferenceConfiguration";
export * from "./ApiReferenceLayoutItem";
export * from "./SubpackageOrSubpackages";
export * from "./ApiReferenceSectionConfiguration";
export * from "./ApiReferencePackageConfiguration";
export * from "./ApiReferencePackageConfigurationWithOptions";
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export * from "./PageConfiguration";
export * from "./SectionConfiguration";
export * from "./ApiReferenceConfiguration";
export * from "./ApiReferenceLayoutItem";
export * from "./SubpackageOrSubpackages";
export * from "./ApiReferenceSectionConfiguration";
export * from "./ApiReferencePackageConfiguration";
export * from "./ApiReferencePackageConfigurationWithOptions";
Expand Down

0 comments on commit 4524fdc

Please sign in to comment.