Skip to content

Commit

Permalink
MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemilla committed Jul 9, 2024
2 parents e436edc + 9a450c5 commit 34943ac
Show file tree
Hide file tree
Showing 21 changed files with 209 additions and 233 deletions.
19 changes: 9 additions & 10 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
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 @@ -14,7 +14,6 @@ types:
# navigation
tabs: optional<map<TabId, TabConfig>>
versions: optional<list<VersionConfig>>
landing-page: optional<PageConfiguration>
navigation:
type: optional<NavigationConfig>
docs: The navigation config is skipped when multiple versions are present.
Expand Down Expand Up @@ -164,7 +163,6 @@ types:
VersionFileConfig:
properties:
tabs: optional<map<TabId, TabConfig>>
landing-page: optional<PageConfiguration>
navigation: NavigationConfig

NavigationConfig:
Expand Down Expand Up @@ -422,10 +420,6 @@ types:
SectionConfiguration:
properties:
section: string
path:
type: optional<string>
docs: |
The relative path to the markdown file that will be displayed when the section is clicked.
contents: list<NavigationItem>
collapsed: optional<boolean>
slug: optional<string>
Expand Down
4 changes: 1 addition & 3 deletions packages/cli/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,20 @@
},
"dependencies": {
"@fern-api/core-utils": "workspace:*",
"@fern-api/fdr-sdk": "0.98.9-3b3a3fe5f",
"@fern-api/fdr-sdk": "0.98.4-bf08716d8",
"@fern-api/fs-utils": "workspace:*",
"@fern-api/task-context": "workspace:*",
"@fern-fern/fiddle-sdk": "0.0.584",
"dockerode": "^4.0.2",
"find-up": "^6.3.0",
"js-yaml": "^4.1.0",
"lodash-es": "^4.17.21",
"tinycolor2": "^1.6.0",
"zod": "^3.22.3"
},
"devDependencies": {
"@types/dockerode": "^3.3.9",
"@types/jest": "^29.0.3",
"@types/js-yaml": "^4.0.8",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/tinycolor2": "^1.4.6",
"depcheck": "^1.4.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface ParsedDocsConfiguration {
pages: Record<RelativeFilePath, string>;

/* navigation */
landingPage: DocsNavigationItem.Page | undefined;
// tabs?: Record<RelativeFilePath, TabConfig>;
navigation: DocsNavigationConfiguration;
navbarLinks: DocsV1Write.NavbarLink[] | undefined;
footerLinks: DocsV1Write.FooterLink[] | undefined;
Expand Down Expand Up @@ -131,7 +131,7 @@ export interface VersionedDocsNavigation {
}

export interface VersionInfo {
landingPage: DocsNavigationItem.Page | undefined;
// tabs?: Record<RelativeFilePath, TabConfig>;
navigation: UntabbedDocsNavigation | TabbedDocsNavigation;
version: string;
availability: VersionAvailability | undefined;
Expand Down Expand Up @@ -200,7 +200,6 @@ export declare namespace DocsNavigationItem {
slug: string | undefined;
hidden: boolean | undefined;
skipUrlSlug: boolean | undefined;
overviewAbsolutePath: AbsoluteFilePath | undefined;
}

export interface ApiSection {
Expand All @@ -211,7 +210,7 @@ export declare namespace DocsNavigationItem {
audiences: Audiences;
showErrors: boolean;
snippetsConfiguration: SnippetsConfiguration | undefined;
overviewAbsolutePath: AbsoluteFilePath | undefined;
summaryAbsolutePath: AbsoluteFilePath | undefined;
navigation: ParsedApiReferenceLayoutItem[];
hidden: boolean | undefined;
slug: string | undefined;
Expand Down Expand Up @@ -256,7 +255,7 @@ export declare namespace ParsedApiReferenceLayoutItem {
type: "section";
title: string; // title
referencedSubpackages: string[]; // subpackage IDs
overviewAbsolutePath: AbsoluteFilePath | undefined;
summaryAbsolutePath: AbsoluteFilePath | undefined;
contents: ParsedApiReferenceLayoutItem[];
slug: string | undefined;
hidden: boolean | undefined;
Expand All @@ -267,7 +266,7 @@ export declare namespace ParsedApiReferenceLayoutItem {
type: "package";
title: string | undefined; // defaults to subpackage title
package: string; // subpackage ID
overviewAbsolutePath: AbsoluteFilePath | undefined;
summaryAbsolutePath: AbsoluteFilePath | undefined;
contents: ParsedApiReferenceLayoutItem[];
slug: string | undefined;
hidden: boolean | undefined;
Expand Down
Loading

0 comments on commit 34943ac

Please sign in to comment.