MNT Update v5 docs branch to 5.0

Also convert backtick to single quote in docs src, as this seems to fix
the problem where the 5.0 branch wasn't being picked up as a valid
source.
This commit is contained in:
Steve Boyd 2023-02-09 16:41:17 +13:00 committed by Guy Sartorelli
parent 7b64199760
commit 209180182c
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A
1 changed files with 15 additions and 15 deletions

View File

@ -1,29 +1,29 @@
module.exports = [
{
resolve: `gatsby-source-git`,
resolve: 'gatsby-source-git',
options: {
name: `docs--5`,
remote: `https://github.com/silverstripe/developer-docs.git`,
branch: `5`,
patterns: `en/**`
name: 'docs--5',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '5.0',
patterns: 'en/**'
}
},
{
resolve: `gatsby-source-git`,
resolve: 'gatsby-source-git',
options: {
name: `docs--4`,
remote: `https://github.com/silverstripe/developer-docs.git`,
branch: `4.13`,
patterns: `en/**`
name: 'docs--4',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '4.13',
patterns: 'en/**'
}
},
{
resolve: `gatsby-source-git`,
resolve: 'gatsby-source-git',
options: {
name: `docs--3`,
remote: `https://github.com/silverstripe/developer-docs.git`,
branch: `3`,
patterns: `en/**`
name: 'docs--3',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '3',
patterns: 'en/**'
}
},
];