diff --git a/fern/products/docs/pages/customization/what-is-docs-yml.mdx b/fern/products/docs/pages/customization/what-is-docs-yml.mdx index 802c0a456..dace23f66 100644 --- a/fern/products/docs/pages/customization/what-is-docs-yml.mdx +++ b/fern/products/docs/pages/customization/what-is-docs-yml.mdx @@ -1,7 +1,7 @@ --- -title: "Docs.yml" -subtitle: "Customize your documentation using the docs.yml file" -description: "Learn how to configure your Fern documentation site with the docs.yml file. Customize colors, typography, layout, analytics and more." +title: Docs.yml +subtitle: 'Customize your documentation using the docs.yml file. Hey this is deep! ' +description: Learn how to configure your Fern documentation site with the docs.yml file. Customize colors, typography, layout, analytics and more. --- ### YAML Schema Validation @@ -129,7 +129,7 @@ instances: If specified, adds an "Edit this page" link to the bottom of each page that links to the given public GitHub repository. Learn more about the [`edit-this-page` configuration](#github-configuration). -## Colors configuration +## Colors configuration ```yaml docs.yml colors: @@ -286,8 +286,7 @@ background-image: Relative filepath to the dark-mode background image. - -## Typography configuration +## Typography configuration ```yaml docs.yml typography: @@ -329,43 +328,35 @@ typography: ### Font configuration - -```yaml -typography: - bodyFont: - name: Inter-Regular - path: fonts/Inter-Regular.woff2 - style: normal -``` - - - + ```yaml -typography: - headingsFont: - name: Inter-Variable - paths: - - path: ./fonts/Inter-Variable.woff2 - weight: 400 700 # Supports range of weights - style: normal +instances: + - url: plantstore.docs.buildwithfern.com + edit-this-page: + github: + owner: fern + repo: plant-store-docs + branch: main ``` - + ```yaml -typography: - headingsFont: - name: Inter - paths: - - path: ./fonts/Inter-Regular.woff2 - weight: 400 - style: normal - - path: ./fonts/Inter-Bold.woff2 - weight: 700 - style: normal - - path: ./fonts/Inter-Italic.woff2 - weight: 400 - style: italic +# Configure edit-this-page per instance +instances: + - url: plantstore.docs.buildwithfern.com + custom-domain: docs.plantstore.com + edit-this-page: + github: + owner: fern + repo: plant-store-docs + branch: production + - url: plantstore-staging.docs.buildwithfern.com + edit-this-page: + github: + owner: fern + repo: plant-store-docs + branch: staging ``` @@ -391,7 +382,7 @@ typography: A list of font files for particular weights. Each element in the list includes a `path`, `weight`, and `style` property. -## Layout configuration +## Layout configuration ```yaml docs.yml layout: @@ -557,4 +548,4 @@ analytics: Your PostHog project API key. Defaults to the api-host of "https://us.i.posthog.com". - + diff --git a/fern/products/docs/pages/getting-started/overview.mdx b/fern/products/docs/pages/getting-started/overview.mdx index 30ead9ab6..f8a58ce79 100644 --- a/fern/products/docs/pages/getting-started/overview.mdx +++ b/fern/products/docs/pages/getting-started/overview.mdx @@ -155,4 +155,4 @@ subtitle: A website builder for beautiful agent and developer-friendly docs. - \ No newline at end of file + diff --git a/fern/products/home/pages/welcome.mdx b/fern/products/home/pages/welcome.mdx index 527d670e2..476980d0e 100644 --- a/fern/products/home/pages/welcome.mdx +++ b/fern/products/home/pages/welcome.mdx @@ -6,7 +6,6 @@ hide-toc: true layout: custom --- - import { FernFooter } from "../../../components/FernFooter";
@@ -377,4 +376,4 @@ import { FernFooter } from "../../../components/FernFooter";
- \ No newline at end of file +