Skip to content

Conversation

@eine
Copy link
Collaborator

@eine eine commented Jun 13, 2019

In this PR, the comments describing each example are moved from docs/user_guide.rst to a docstring in the corresponding run.py. Then, a function is added to tools/docs_utils.py which generates docs/examples.rst during the build of the docs (as it is currently done with docs/release_notes.rst).

Note that 'Examples' is added as a section in the Documentation, instead of being a subsection of the User Guide.

When the VCs are split from the main repo (see #511), this same procedure can be used along with vc_list.json to automatically add the examples of the VCs.

BTW, two examples are currently undocumented: coverage and third_party_integration. Should we enforce all the examples to have some comment by adding a test?

@LarsAsplund LarsAsplund merged commit ed95368 into VUnit:master Jun 19, 2019
@eine eine deleted the doc-gen-egs branch June 19, 2019 20:18
@umarcor umarcor mentioned this pull request Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants