Skip to content

Commit

Permalink
docs: docusaurus v3.6.1 (#4693)
Browse files Browse the repository at this point in the history
* docs: docusaurus v3.6.1 testing

* docs: remove html from troubleshooting

* docs: test CI disable

* ci: auto-formatting prettier issues

* ci: removed rsdoctor

* docs: disable all experimental

* docs: disable rspackBundler

* disable swcJsLoader

* docs: remove CI from netlify.toml

* docs: babel removal and enable swcJsLoader

* docs: revert swcJsLoader enablement

* ci: auto-formatting prettier issues

* docs: correct random line delete

* docs: revert line add

* docs: fix curl icon class

* docs: comment for swcJsLoader disablement

---------

Co-authored-by: benradstone <[email protected]>
Co-authored-by: Karl Cardenas <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent fbcd89c commit 6f892e6
Show file tree
Hide file tree
Showing 6 changed files with 3,781 additions and 1,140 deletions.
2 changes: 1 addition & 1 deletion docs/docs-content/troubleshooting/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ event stream is a good source for identifying issues in the event an operation d

Due to Spectro Cloud’s reconciliation logic, intermittent errors show up in the event stream. As an example, after
launching a node, errors might show up in the event stream regarding being unable to reach the node. However, the errors
clear up once the node comes up.<p></p> Error messages that persist over a long time or errors indicating issues with
clear up once the node comes up. Error messages that persist over a long time or errors indicating issues with
underlying infrastructure are an indication of a real problem.

:::
Expand Down
12 changes: 11 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ const config = {
defaultLocale: "en",
locales: ["en"],
},
future: {
experimental_faster: {
swcJsLoader: false, // Set to 'false' as Netlify builds fail with this enabled.
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
},
customFields: {
// Used to access the environment variable in the build process during the client-side step
DISABLE_PACKS_INTEGRATIONS: process.env.DISABLE_PACKS_INTEGRATIONS,
Expand Down Expand Up @@ -351,7 +361,7 @@ const config = {
{
highlight: "bash",
language: "curl",
logoClass: "bash",
logoClass: "curl",
},
{
highlight: "python",
Expand Down
3 changes: 1 addition & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[build]
ignore = "./scripts/netlify.sh"
command = "npm run build"

command = "npm run build"
Loading

0 comments on commit 6f892e6

Please sign in to comment.