Skip to content

Commit

Permalink
chore(layout): add layout config to config page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jan 5, 2023
1 parent 28bd2e4 commit afce8b3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .docs/content/1.introduction/4.configuration.md
Expand Up @@ -31,6 +31,9 @@ export default defineAppConfig({
edit: true,
contributors: false
},
layout: {
fluid: true
},
aside: {
level: 1,
filter: [],
Expand Down Expand Up @@ -83,6 +86,9 @@ export default defineAppConfig({
| `socials.[social].label` | `string` | | A label to use for the social |
| `socials.[social].icon` | `string` | | A icon to use for the social |
| `socials.[social].href` | `string` | | A link to use for the social |
| **Layout** | | | |
| `layout` | `object` | | Layout configuration |
| `layout.fluid` | `boolean` | | Enables the `fluid` layout mode. |
| **Header** | | | |
| `header` | `object` | | Header configuration |
| `header.logo` | `boolean` | | Whether or not to use `Logo.vue` as the header logo |
Expand All @@ -99,10 +105,10 @@ export default defineAppConfig({
| `footer.credits` | `object` | | An object defining the bottom left credits |
| `footer.credits.icon` | `object` | | The icon to use for the credits |
| `footer.credits.text` | `object` | | The text to use for the credits |
| `footer.iconLinks` | `array` | `[]` | An array of icons to display in the footer |
| `footer.iconLinks[0].label` | `string` | | A label to use for the icon |
| `footer.iconLinks[0].href` | `string` | | A link to use for the icon |
| `footer.iconLinks[0].icon` | `string` | | The icon to use (can be a component name) |
| `footer.iconLinks` | `array` | `[]` | An array of icons to display in the footer |
| `footer.iconLinks[0].label` | `string` | | A label to use for the icon |
| `footer.iconLinks[0].href` | `string` | | A link to use for the icon |
| `footer.iconLinks[0].icon` | `string` | | The icon to use (can be a component name) |
| **GitHub** | | | |
| `github` | `object` | `false` | GitHub integration configuration |
| `github.edit` | `boolean` | | Toggle "Edit this page on Github" component on documentation pages |
Expand Down

1 comment on commit afce8b3

@vercel
Copy link

@vercel vercel bot commented on afce8b3 Jan 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.