diff --git a/documentation/.env.test b/documentation/.env.test new file mode 100644 index 00000000..bd8ca560 --- /dev/null +++ b/documentation/.env.test @@ -0,0 +1 @@ +REACT_APP_FOLLOWERS_ACCESS_KEY=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 \ No newline at end of file diff --git a/documentation/docusaurus.config.js b/documentation/docusaurus.config.js index ab079a66..a390235f 100644 --- a/documentation/docusaurus.config.js +++ b/documentation/docusaurus.config.js @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -require("dotenv").config({path: "./.env"}); +require("dotenv").config(); const redirectJson = require("./redirects.json"); const tutorialData = require("./tutorial-units"); @@ -123,18 +123,18 @@ const siteConfig = { include: ["**/*.{js}"], }, ], - // [ - // 'docusaurus-plugin-dotenv', - // { - // path: "./.env", // The path to your environment variables. - // safe: false, // If false ignore safe-mode, if true load './.env.example', if a string load that file as the sample - // systemvars: false, // Set to true if you would rather load all system variables as well (useful for CI purposes) - // silent: false, // If true, all warnings will be suppressed - // expand: false, // Allows your variables to be "expanded" for reusability within your .env file - // defaults: false, // Adds support for dotenv-defaults. If set to true, uses ./.env.defaults - // ignoreStub: false - // } - // ], + [ + 'docusaurus-plugin-dotenv', + { + path: "./.env.test", // The path to your environment variables. + safe: false, // If false ignore safe-mode, if true load './.env.example', if a string load that file as the sample + systemvars: false, // Set to true if you would rather load all system variables as well (useful for CI purposes) + silent: false, // If true, all warnings will be suppressed + expand: false, // Allows your variables to be "expanded" for reusability within your .env file + defaults: false, // Adds support for dotenv-defaults. If set to true, uses ./.env.defaults + ignoreStub: false + } + ], async function tailwindcss() { return { name: "docusaurus-tailwindcss",