-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use mdx-compatible version interpolation
Not quite as smooth as what we had with `mdbook`, but the capability is definitely there: we should be able to write custom JS to do whatever we want with variable interpolation inside codeblocks. A JS pro I am not, however, so I'm punting on that for now.
- Loading branch information
Showing
9 changed files
with
36 additions
and
56 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
This file was deleted.
Oops, something went wrong.
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
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,7 @@ | ||
// Ideally we'd be able to import these constants and reuse them throughout the docs, | ||
// similar to how we imported markdown snippets in mdbook. With MDX, importing | ||
// works in normal prose, but fails in backticked-codeblocks. There's some discussion | ||
// about how to do this better in https://github.com/orgs/mdx-js/discussions/2288. | ||
|
||
export const PENUMBRA_VERSION = 'v0.79.2'; | ||
export const COMETBFT_VERSION = 'v0.37.9'; |
This file was deleted.
Oops, something went wrong.