-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
191 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Installation | ||
|
||
Here is a test for including variables in an MDX file. | ||
|
||
(!install-version.mdx version="10" unsupport="9" !) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters