-
Notifications
You must be signed in to change notification settings - Fork 13
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
Complete docs #78
Complete docs #78
Conversation
2be0527
to
dcace8b
Compare
@mithro I've created a build system that automatically converts V2X test cases to examples for documentation. It works like that: When the documentation is built, a Python script scans the For now I've disabled all currently present examples and added some new, simpler ones under |
e7b0927
to
7ff28c8
Compare
Signed-off-by: Daniel Lim Wee Soong <[email protected]>
Signed-off-by: Daniel Lim Wee Soong <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
6d3c59f
to
fbf816b
Compare
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
…ment.yml Signed-off-by: Maciej Kurc <[email protected]>
fbf816b
to
f7f7ee0
Compare
@mithro I've fixed conda package dependency issues and added back "VTR examples" documentation to the build system. Could you review? |
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.
Just some minor comments, otherwise LGTM!
BTW - I would enable line numbers on the XML files too. |
Future addition -- when the test references something, add an include which highlights the referenced item. |
The rendered readthedocs output seems to be missing some of the examples? https://python-symbiflow-v2x.readthedocs.io/en/latest/examples.html ? |
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
…nerate correct comments. Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
@mithro I added back missing clock examples. |
@mkurc-ant - Using fixed verse floating versions is a complicated trade off. By using floating versions we will discover when dependencies break this code as soon as possible. The later we detect a problem, the more features have been added and code changed making it harder to know what caused the breakage. If we don't use floating versions we do need to set up an "auto-roll" bot which pushes the version forward automatically. Generally with that approach we would have a floating requirements / environment.yml file and a "locked" version which is generated from the floatin versions with the values updated. So I guess, if we are going to lock the version then you are committing to creating a system to automatically roll the versions. |
@mkurc-ant - The output is also missing the DSP example? |
@mithro In #71 DSP examples were missing as well, the "DSP" in TOC is just a placeholder. I'll add the DSP examples. Regarding fixing package versions: My point is that I just want to avoid a situation when you suddenly discover that the doc building system is broken because some upstream package got updated. The documentation is built only when a change is made to V2X. So imagine that you have added a feature and built the docs. Then eg. a month (or more) later you want to add another feature and you discover that the docs build system does not work anymore because an upstream package got updated. You are then forced to fix the issue with the build system instead of focusing of the feature functionality. By freezing versions you ensure that the build system will work. Anyways, I'd rather not focus now on creating an automatic version rolling system so I'll unlock all versions. Hopefully no breaking change has been pushed upstream already. |
Signed-off-by: Maciej Kurc <[email protected]>
Signed-off-by: Maciej Kurc <[email protected]>
@mkurc-ant Is this ready to merge? If so, can you please go through and resolve all my comments? |
Signed-off-by: Maciej Kurc <[email protected]>
@mithro I've fixed and resolved them all. Ready to merge. |
LGTM! |
@mkurc-ant - We should track down why symbolator is generating white backgrounds here. I thought we were using our custom version which should be generating transparent backgrounds by default? |
@mithro I just realized hdl/symbolator#1 is not merged yet, that's why it is still generating white backgrounds. |
Should be merged now! |
Continuation of work of #71