-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add tutorials to examples #807
base: 0.1
Are you sure you want to change the base?
Conversation
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 very much @rscircus, I just took a quick look, but I will take a deeper one as soon as possible.
I added a tiny comment for the time being, and I have a further one: could you provide a (even brief) description of each tutorial?
You could even use a module docstring for this (just a docstring starting at line 1)
I guess you mean something like this?
This in principle should be prevented by
Instead, this could be an interesting point of view: self-contained scripts might be helpful for beginners :) |
That was the idea. :) |
I'll continue working on this at the weekend! :) |
Sorry for the delay here. The past two weeks have been very busy. |
a2fc0ea
to
27d3e86
Compare
@alecandido - used |
27d3e86
to
18194b7
Compare
Thanks @rscircus, that is definitely good! Embedding languages in other languages is always messy, because they get closer to arbitrary strings. IDEs are now providing support, but it is never as good as for the native one, and similarly concerning tools. Whenever this will be merged, we could even propagate to the other Qibo projects. |
a3309f1
to
d3bc129
Compare
Rebased on top of |
Not sure how to deal with some of the |
395e213
to
56ce771
Compare
Rebase onto |
27c1e8c
to
446e6e1
Compare
for more information, see https://pre-commit.ci
The
docs
of this project contain examples. However, these examples have a few missing dependencies and other tiny errata. To fix these this PR proposes to:examples
in thetutorial
examples
in thetutorial
from these examplesThis PR partially addresses issue #802.
Discussion:
How to deal with
testcode
/testoutput
in sphinx? It fails right now as described in: #828Todo:
After rebase: Update example scripts to current state of docs.
Testing:
diff
against docs generated bymain
Checklist: