-
Notifications
You must be signed in to change notification settings - Fork 577
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
Various documentation fixes #2699
Conversation
Change links to absolute to make them work on https://square.github.io/wire/
Shorten line length to remove the horizontal scrollbar
Fixes mkdocs warning `Doc file 'index.md' contains an unrecognized relative link 'wire_compiler', it was left as is.`
Added md_in_html extension to render markdown links inside raw HTML `<details>` blocks. Changed links to absolute to make them work on https://square.github.io/wire/
Added `not_in_nav` parameter with a list of auto-generated and other docs not explicitly listed in the navigation block to reduce the number of warnings from mkdocs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
If not done already, could you please sign our CLA so that I can merge it?
# sed -i 's/docs\/wire_compiler.md/wire_compiler/' README.md | ||
# sed -i 's/docs\/wire_compiler.md/wire_compiler.md/' README.md | ||
# OSX | ||
sed -i "" 's/docs\/wire_compiler.md/wire_compiler/' README.md | ||
sed -i "" 's/docs\/wire_grpc.md/wire_grpc/' README.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why these need a change. What is broken with them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works now, but mkdocs
emits a warning:
Doc file 'index.md' contains an unrecognized relative link 'wire_compiler', it was left as is.
Because it expects all internal links to be links to existing files.
This change is only to fix this warning.
Done |
Thank you! |
This PR fixes some broken links on https://square.github.io/wire/ and also has a minor formatting improvements.
Some of the visible changes:
SchemaHandler
,SchemaHandler.Factory
andrecipes
links on wire_compiler/#custom-handlers