-
Notifications
You must be signed in to change notification settings - Fork 7
Clarify relative path resolution across all docs configuration references #4649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fe00deb
04d35c0
677ac10
2baacd5
eafc5c3
7387982
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,7 +61,7 @@ navbar-links: | |
| </ParamField> | ||
|
|
||
| <ParamField path="favicon" type="string" required={false} toc={true}> | ||
| Relative filepath to the favicon. | ||
| Relative filepath to the favicon. The path is relative to the YAML file where it is set (e.g., `docs.yml`). | ||
| </ParamField> | ||
|
|
||
| <ParamField path="colors" type="objects" required={true} toc={true}> | ||
|
|
@@ -234,11 +234,11 @@ logo: | |
| </ParamField> | ||
|
|
||
| <ParamField path="logo.dark" type="string" required={false} toc={true}> | ||
| Path to your dark mode logo file, relative to the docs root. SVG format is recommended for optimal quality. Example: `assets/images/logo-dark.svg` | ||
| Path to your dark mode logo file, relative to the YAML file where it is set (e.g., `docs.yml`). SVG format is recommended for optimal quality. Example: `assets/images/logo-dark.svg` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="logo.light" type="string" required={false} toc={true}> | ||
| Path to your light mode logo file, relative to the docs root. SVG format is recommended for optimal quality. Example: `assets/images/logo-light.svg` | ||
| Path to your light mode logo file, relative to the YAML file where it is set (e.g., `docs.yml`). SVG format is recommended for optimal quality. Example: `assets/images/logo-light.svg` | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="logo.right-text" type="string" required={false} toc={true}> | ||
|
|
@@ -436,11 +436,11 @@ background-image: | |
| ``` | ||
|
|
||
| <ParamField path="background-image.light" type="string" required={false} toc={true}> | ||
| Relative filepath to the light-mode background image. | ||
| Relative filepath to the light-mode background image. The path is relative to the YAML file where it is set (e.g., `docs.yml`). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="background-image.dark" type="string" required={false} toc={true}> | ||
| Relative filepath to the dark-mode background image. | ||
| Relative filepath to the dark-mode background image. The path is relative to the YAML file where it is set (e.g., `docs.yml`). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
|
|
||
|
|
@@ -534,7 +534,7 @@ typography: | |
| </ParamField> | ||
|
|
||
| <ParamField path="path" type="string" required={false} toc={true}> | ||
| The path to your font file, relative to your docs folder. Use this when you have a single font file. For multiple font files (like separate files for bold, italic etc), use `paths` instead. | ||
| The path to your font file, relative to the YAML file where it is set (e.g., `docs.yml`). Use this when you have a single font file. For multiple font files (like separate files for bold, italic etc), use `paths` instead. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="weight" type="string | number" required={false} toc={true}> | ||
|
|
@@ -947,7 +947,7 @@ landing-page: | |
| </ParamField> | ||
|
|
||
| <ParamField path="path" type="string" required={true}> | ||
| Relative filepath to the desired landing page Markdown file. | ||
| Relative filepath to the desired landing page Markdown file. The path is relative to the YAML file where it is set (e.g., `docs.yml`). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="slug" type="string" required={false} toc={true}> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,7 +113,7 @@ theme: | |
| </ParamField> | ||
|
|
||
| <ParamField path="changelog" type="string"> | ||
| Path to a [changelog](/learn/docs/configuration/changelogs) folder relative to the `fern` directory | ||
| Path to a [changelog](/learn/docs/configuration/changelogs) folder, relative to the YAML file where it is set (e.g., `docs.yml`) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
| </ParamField> | ||
|
|
||
| <ParamField path="viewers" type="string | list"> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Icons can be in three formats: | ||
| - **Font Awesome icons**: Use icon names like `fa-solid fa-rocket`. Pro and Brand Icons from Font Awesome are supported. | ||
| - **Custom image files**: Use relative paths to image files (e.g., `./assets/icons/my-icon.svg` or `../assets/icons/my-icon.png`). Paths are relative to the `docs.yml` file. | ||
| - **Inline SVG**: Provide an SVG string wrapped in quotes (e.g., `"<svg>...</svg>"`). | ||
| - **Custom image files**: Use relative paths to image files (e.g., `./assets/icons/my-icon.svg` or `../assets/icons/my-icon.png`). Paths are relative to the YAML file where the icon is referenced (e.g., `docs.yml`). For example, if you set an icon in `fern/products/my-product.yml`, the path `./assets/icon.svg` resolves to `fern/products/assets/icon.svg`. If you set it in `fern/docs.yml`, the same path resolves to `fern/assets/icon.svg`. | ||
| - **Inline SVG**: Provide an SVG string wrapped in quotes (e.g., `"<svg>...</svg>"`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'it's' instead of 'it is'.