-
Notifications
You must be signed in to change notification settings - Fork 463
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
reStructuredText format output #440
base: master
Are you sure you want to change the base?
Conversation
@pseudomuto please review. I know that custom templates are supported, but I assume that solving the specific reStructuredText issues has value for more that one person. |
@paweld2 we are interested in rst support for the flyte.org project. Let us know if we can help test |
@paweld2 we used this for generating Flyte.org docs and works beautifully. @pseudomuto what would the process to get this checked in? |
@@ -67,6 +68,7 @@ examples: build tmp/googleapis examples/proto/*.proto examples/templates/*.tmpl | |||
@$(EXAMPLE_CMD) --doc_opt=html,example.html:Ignore* examples/proto/*.proto | |||
@$(EXAMPLE_CMD) --doc_opt=json,example.json:Ignore* examples/proto/*.proto | |||
@$(EXAMPLE_CMD) --doc_opt=markdown,example.md:Ignore* examples/proto/*.proto | |||
@$(EXAMPLE_CMD) --doc_opt=restructuredtext,example.srt:Ignore* examples/proto/*.proto |
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.
@$(EXAMPLE_CMD) --doc_opt=restructuredtext,example.srt:Ignore* examples/proto/*.proto | |
@$(EXAMPLE_CMD) --doc_opt=restructuredtext,example.rst:Ignore* examples/proto/*.proto |
A proposition for reStructuredText format output.
The output is compatible with sphinx. No content table is provided, because it is generated by sphinx.
HTML and Latex output tested.
The references and links are correctly matched:
".. _ref_NAME:" matches ":ref:
NAME
"The tables are created in the CVS format.
It is not possible to create references to table row values, that is why for each scalar value a separate subsection is created.