diff --git a/.gitignore b/.gitignore index eea4b6baa8..69773ea2b4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,3 @@ .DS_Store target/ pom.xml.versionsBackup - -website/translated_docs -website/build/ -website/node_modules -website/i18n/* diff --git a/website/.gitignore b/website/.gitignore new file mode 100644 index 0000000000..0854ed7425 --- /dev/null +++ b/website/.gitignore @@ -0,0 +1,4 @@ +translated_docs/ +build/ +node_modules/ +i18n/* diff --git a/website/.nvmrc b/website/.nvmrc index 2bf5ad0447..48082f72f0 100644 --- a/website/.nvmrc +++ b/website/.nvmrc @@ -1 +1 @@ -stable +12 diff --git a/website/siteConfig.js b/website/siteConfig.js index 808adc4247..f0aba1d4bc 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -69,9 +69,16 @@ const siteConfig = { // You may provide arbitrary config keys to be used as needed by your // template. For example, if you need your repo's URL... repoUrl: 'https://github.com/ExpediaGroup/graphql-kotlin', - + // URL for editing docs, usage example: editUrl + 'en/doc1.md' - editUrl: 'https://github.com/ExpediaGroup/graphql-kotlin/tree/master/docs/' + editUrl: 'https://github.com/ExpediaGroup/graphql-kotlin/tree/master/docs/', + + // Docusaurus search config - https://docusaurus.io/docs/en/search + // Algolia search index - https://github.com/algolia/docsearch-configs/blob/master/configs/graphql-kotlin.json + algolia: { + apiKey: 'b23761059e66eefd46f5f665a2d4537a', + indexName: 'graphql-kotlin' + } }; module.exports = siteConfig;