Skip to content

Commit

Permalink
docs: fix an issue where it goes into an infinite loop when building
Browse files Browse the repository at this point in the history
This change sets `noRuntimeDownloads` to `true` for
`plugin-remote-content'` to avoid the infinite loop issue mentioned in
rdilweb/docusaurus-plugin-remote-content#51,
as described in
https://github.com/rdilweb/docusaurus-plugin-remote-content#noruntimedownloads.

I suspect that this will require you to generate the files before
running the doc build, which may be an issue. However, this does stop
the doc from building over and over.
  • Loading branch information
thomasheartman committed Sep 1, 2023
1 parent 063a4f7 commit ebba7b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ module.exports = {
outDir: 'docs/generated', // the base directory to output to.
documents: sdks.urls, // the file names to download
modifyContent: sdks.modifyContent,
noRuntimeDownloads: true,
},
],
[
Expand All @@ -629,6 +630,7 @@ module.exports = {
outDir: 'docs/generated/', // the base directory to output to.
documents: edgeAndProxy.urls, // the file names to download
modifyContent: edgeAndProxy.modifyContent,
noRuntimeDownloads: true,
},
],
],
Expand Down

0 comments on commit ebba7b3

Please sign in to comment.