From 547a9789a1d9b1f7658bb271703637686ec915b9 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 13 Mar 2023 17:05:49 +1300 Subject: [PATCH] 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. --- sources-docs.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/sources-docs.js b/sources-docs.js index 6865ce9..fc31c1a 100644 --- a/sources-docs.js +++ b/sources-docs.js @@ -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/**' } }, ];