Skip to content

Fix docs site#2462

Merged
texodus merged 5 commits intomasterfrom
docs-fix
Dec 3, 2023
Merged

Fix docs site#2462
texodus merged 5 commits intomasterfrom
docs-fix

Conversation

@texodus
Copy link
Member

@texodus texodus commented Dec 2, 2023

  • Fixes a regression in API Versioning + Migration #2430 which introduced import assertions into the perspective-viewer migration code. Import assertions are not well standardized in older build tools, causing these statements to fail compilation with some tools where previous perspective versions did not. Perspective's docusaurus site exhibited this behavior, though we did not run it in CI, discovered after 2.7.1 was released.
  • Adds the docs build to CI so this does not happen again
  • Fixed another issue from the same PR API Versioning + Migration #2430 which caused 4 of the "features" configs from the docusaurus site to fail compilation. plugin_config is an optional key, and looking up anything (in this case .columns) on this may be a lookup on undefined. The migration scripts must be very defensive about this; going forward, CI will fail more regularly when regressions are introduced due to Jest #2 above.

@texodus texodus added internal Internal refactoring and code quality improvement and removed cla-present labels Dec 2, 2023
@texodus texodus merged commit f9237d7 into master Dec 3, 2023
@texodus texodus deleted the docs-fix branch December 3, 2023 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal refactoring and code quality improvement

Development

Successfully merging this pull request may close these issues.

1 participant