Skip to content

Commit d533630

Browse files
authored
chore(docs): add meta description for docs pages (#2957)
1 parent a87dab2 commit d533630

File tree

56 files changed

+135
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+135
-11
lines changed

docs/content/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { importAll, parseVersion } from '~/utils'
2-
import { version, dependencies, devDependencies } from '~/../package.json'
2+
import { version, dependencies, devDependencies, description } from '~/../package.json'
33
import { getDefaults } from '~/../src/utils/config'
44

55
const componentsContext = require.context('~/../src/components/', true, /package.json/)
@@ -46,5 +46,6 @@ export const bootstrapVersion = parseVersion(dependencies.bootstrap)
4646
export const vueVersion = parseVersion(devDependencies.vue)
4747
export const nuxtVersion = parseVersion(devDependencies.nuxt)
4848
export const defaultConfig = getDefaults()
49+
export const bvDescription = description
4950

5051
export { version }
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"title": "Changelog"
2+
"title": "Changelog",
3+
"description": "All notable changes to BootstrapVue are documented in this page."
34
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"title": "Contributing"
2+
"title": "Contributing",
3+
"description": "Information on contributing to the BootstrapVue project."
34
}

docs/markdown/misc/settings/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"title": "Settings",
3+
"description": "Configuring BootstrapVue",
34
"new": true
45
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"title": "Color Variants"
2+
"title": "Color Variants",
3+
"description": "Color variants available when using the default Bootstrap V4 CSS and their mappings to CSS classes."
34
}

docs/markdown/reference/images/README.md

Lines changed: 5 additions & 3 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"title": "Component img src resolving",
3+
"description": "Using project relative image URLs for BootstrapVue custom components with vue-loader",
34
"slug": "images"
45
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"title": "Router support",
3+
"description": "Several BootstrapVue components support rendering <router-link> components compatible with Vue-Router and Nuxt.",
34
"slug": "router-links"
45
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"title": "Size props and classes",
3+
"description": "Bootstrap V4 CSS provides several classes that control the sizing of elements, of which some of these have been translated into props on components.",
34
"slug": "size-props"
45
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"title": "Spacing classes"
2+
"title": "Spacing classes",
3+
"descripton": "Bootstrap V4 CSS includes a wide range of shorthand responsive margin and padding utility classes to modify an element's appearance."
34
}

0 commit comments

Comments
 (0)