diff --git a/website/_dogfooding/README.md b/website/_dogfooding/README.md index 0b6ba0b479f0..8acadfac2e9b 100644 --- a/website/_dogfooding/README.md +++ b/website/_dogfooding/README.md @@ -11,7 +11,6 @@ Eventually, we could move these tests later so another test site? Note there is Fancy things we can test for here: - Plugin Multi-instance -- Symlinks support - Webpack configs - \_ prefix convention - Huge sidebars impact diff --git a/website/_dogfooding/docs-tests-symlink b/website/_dogfooding/docs-tests-symlink deleted file mode 120000 index 4a3222e9fd36..000000000000 --- a/website/_dogfooding/docs-tests-symlink +++ /dev/null @@ -1 +0,0 @@ -_docs tests \ No newline at end of file diff --git a/website/_dogfooding/dogfooding.config.js b/website/_dogfooding/dogfooding.config.js index 95c1d5161843..b6239f787b42 100644 --- a/website/_dogfooding/dogfooding.config.js +++ b/website/_dogfooding/dogfooding.config.js @@ -5,8 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -const fs = require('fs'); - /** @type {import('@docusaurus/types').PluginConfig[]} */ const dogfoodingThemeInstances = [ /** @type {import('@docusaurus/types').PluginModule} */ @@ -29,10 +27,8 @@ const dogfoodingPluginInstances = [ routeBasePath: '/tests/docs', sidebarPath: '_dogfooding/docs-tests-sidebars.js', - // Using a symlinked folder as source, test for use-case https://github.com/facebook/docusaurus/issues/3272 - // The target folder uses a _ prefix to test against an edge case regarding MDX partials: https://github.com/facebook/docusaurus/discussions/5181#discussioncomment-1018079 - // eslint-disable-next-line no-restricted-properties - path: fs.realpathSync('_dogfooding/docs-tests-symlink'), + // Using a _ prefix to test against an edge case regarding MDX partials: https://github.com/facebook/docusaurus/discussions/5181#discussioncomment-1018079 + path: '_dogfooding/_docs tests', showLastUpdateTime: true, sidebarItemsGenerator(args) { return args.defaultSidebarItemsGenerator({