It appears that when generating proto html docs, the type reference anchor doesn't generate properly.
Example:
message UserData {
name = 1;
age = 2;
}
message User {
id = 1;
UserData = 2;
}
The above example generates a table for User as expected.
The type column for its UserData will include a link to <a href="#UserData">
The problem is that the definition for UserData includes a dot for its id attribute. So the actual generated html code looks like:
<h3 id=".UserData">UserData</h3> (notice the dot before the ID).
Hi all,
It appears that when generating proto html docs, the type reference anchor doesn't generate properly.
Example:
The above example generates a table for
User
as expected. The type column for itsUserData
will include a link to<a href="#UserData">
The problem is that the definition for
UserData
includes a dot for itsid
attribute. So the actual generated html code looks like:<h3 id=".UserData">UserData</h3>
(notice the dot before the ID).Am I doing something wrong, or is this a bug?
Thanks 🙏