-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit well-typed MDX in protocol documentation
The generated protocol documentation has a few issues: 1. It creates its own anchors for linking things like request, response, and scalar types. However, docusaurus's link checker doesn't know about these generated anchors and emits false positives. Instead, create React components to generate the titles and anchors, so that we can tell docusaurus about these anchors. 2. The links to scalar types assume that we know about all of them. The google.protobuf.* types are not documented by us. Create a TypeLink component that understands this difference and links to the protobuf docs for things like Timestamp.
- Loading branch information
Showing
1 changed file
with
48 additions
and
14 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