MNT Update v5 docs branch to 5.0 (#255)

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-03-13 17:05:49 +13:00 committed by GitHub
parent 7b64199760
commit 547a9789a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/**'
}
},
];