Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch Docusaurus build issues #498

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Commits on Oct 10, 2024

  1. Catch Docusaurus build issues

    Break the docs build on states that are acceptable for the current
    NextJS-based docs engine but cause Docusaurus builds to fail:
    
    - **Unresolved partial parameters:** Edit the `remark-includes` linter
      to ensure that all parameters declared within a partial (using `{{
      param }}` syntax) are either (a) assigned by the user or (b) given a
      default value. Otherwise, when we move to the new docs engine, builds
      will fail on unresolved parameters.
    
    - **Add more config checks:** Throw an exception for duplicate redirects
      and redirects where the `source` points to an existing file. With the
      current logic, this check takes place with every page build. While
      this is not ideal, and leads to noisy error output, we should be
      migrating soon and will not need to deal with this for long.
    ptgott committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    b25c045 View commit details
    Browse the repository at this point in the history