Skip to content
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

Include example notebooks in documentation #103

Open
gamatos opened this issue Oct 24, 2023 · 1 comment
Open

Include example notebooks in documentation #103

gamatos opened this issue Oct 24, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@gamatos
Copy link
Collaborator

gamatos commented Oct 24, 2023

It would be nice if the example notebooks could be embedded directly in the documentation so that the user does not have to look at them in the repository.

Ideally we would have the examples both in the documentation for easy reference and better presentation and in notebook form in case the user wants to execute the code.

@gamatos gamatos added enhancement New feature or request good first issue Good for newcomers documentation Improvements or additions to documentation and removed enhancement New feature or request labels Oct 24, 2023
@CalMacCQ
Copy link

Hi,

The pytket-qujax notebooks are currently built and deployed as part of the pytket examples jupyterbook
https://tket.quantinuum.com/examples/pytket-qujax_qaoa.html

I think its a good idea to move the example notebooks as part of the API documentation. For instance you could use jupyter-execute:: cells in .rst files. We already do this in the pytket user manual. This is also easier to review in PRs than big notebook files.

Longer term I'm thinking I'll phase out the examples repository and consolidate the content into the user manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants