doc.silverstripe.org/sources-docs.js
2024-09-10 16:03:29 +12:00

181 lines
4.7 KiB
JavaScript

module.exports = [
// CMS 6
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '6',
patterns: 'en/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/linkfield',
remote: 'https://github.com/silverstripe/silverstripe-linkfield.git',
branch: '5',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/userforms',
remote: 'https://github.com/silverstripe/silverstripe-userforms.git',
branch: '7',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/elemental',
remote: 'https://github.com/silverstripe/silverstripe-elemental.git',
branch: '6',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/mfa',
remote: 'https://github.com/silverstripe/silverstripe-mfa.git',
branch: '6',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: `gatsby-source-git`,
options: {
name: `docs--6--optional_features/graphql`,
remote: `https://github.com/silverstripe/silverstripe-graphql.git`,
branch: `6`,
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/mfa/authenticators/totp-authenticator',
remote: 'https://github.com/silverstripe/silverstripe-totp-authenticator.git',
branch: '6',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/mfa/authenticators/webauthn-authenticator',
remote: 'https://github.com/silverstripe/silverstripe-webauthn-authenticator.git',
branch: '6',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--6--optional_features/taxonomies',
remote: 'https://github.com/silverstripe/silverstripe-taxonomy.git',
branch: '4',
patterns: 'docs/en/!(userguide)/**'
}
},
// CMS 5
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '5.3',
patterns: 'en/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/linkfield',
remote: 'https://github.com/silverstripe/silverstripe-linkfield.git',
branch: '4.1',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/userforms',
remote: 'https://github.com/silverstripe/silverstripe-userforms.git',
branch: '6.3',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/elemental',
remote: 'https://github.com/silverstripe/silverstripe-elemental.git',
branch: '5.3',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/mfa',
remote: 'https://github.com/silverstripe/silverstripe-mfa.git',
branch: '5.3',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/mfa/authenticators/totp-authenticator',
remote: 'https://github.com/silverstripe/silverstripe-totp-authenticator.git',
branch: '5.2',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/mfa/authenticators/webauthn-authenticator',
remote: 'https://github.com/silverstripe/silverstripe-webauthn-authenticator.git',
branch: '5.3',
patterns: 'docs/en/!(userguide)/**'
}
},
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--5--optional_features/taxonomies',
remote: 'https://github.com/silverstripe/silverstripe-taxonomy.git',
branch: '3.2',
patterns: 'docs/en/!(userguide)/**'
}
},
// CMS 4
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--4',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '4.13',
patterns: 'en/**'
}
},
// CMS 3
{
resolve: 'gatsby-source-git',
options: {
name: 'docs--3',
remote: 'https://github.com/silverstripe/developer-docs.git',
branch: '3',
patterns: 'en/**'
}
},
];