Skip to content

Commit

Permalink
dogfood fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed May 26, 2022
1 parent f609aca commit 313a481
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions website/_dogfooding/dogfooding.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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} */
Expand All @@ -31,8 +29,7 @@ const dogfoodingPluginInstances = [

// 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'),
path: '_dogfooding/_docs tests',
showLastUpdateTime: true,
sidebarItemsGenerator(args) {
return args.defaultSidebarItemsGenerator({
Expand Down

0 comments on commit 313a481

Please sign in to comment.