-
Notifications
You must be signed in to change notification settings - Fork 106
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
User guide with more usage examples and tips #20
Comments
My 5c on comparison to other project, perhaps very high level: Probably need more workflows and selection creteria to distiguish workflows (goals a user tries to achieve, starting points IDE prefernces). Important to aknwoledge there is no 'best' way, rather patterns of doing things in diffferent situations, with tradeoffs - not sure the charts reflects if as much now. Some of my follow-up thoughts:
Is there something big I'm missing? |
This looks great, thanks! |
We can separate topics for the user guide in:
What do you think? We can then start a draft in a Google doc or similar. The comparison to alternatives can be a flow chart or table. For the usage examples, code often speaks more than a thousand words. Once we've happy with it, we put it in the repo Wiki and also check the usage examples into the repository. |
Maybe a markdown file in this repo in docs/README.md? Or a special branch and same file location if you want to keep master clean. I also noticed the table in root README.md does not fit the screen on mobile/tablet, maybe you would want to change it. Last row in tabke consumes too much space. |
Adding a case to the above flowchart
|
@ugmurthy - thanks for the workflow example. By saying "publish" fo you mean an html output? |
@ugmurthy Please clarify a bit. For a simple text report, there is no need to use Python -- pure Markdown or Google docs are better suited. If you need figures and videos, Jupyter and Handout seem like good choices, depending on whether you prefer the Python programming workflow or Jupyter's interactive interpreter state. If you need non-Python code, Python Handout is not for you. |
@epogrebnyak Yes, by publish I mean html output. TIP: for generating PDF handouts with page-break where you need it.
|
To include styles and scripts from a URL: doc.add_html('<link href="https://path/to/style.css" rel="stylesheet">')
doc.add_html('<script src="https://path/to/script.js"></script>') To download and include them for offline viewing: import wget # pip3 install --user wget
wget.download(style_url, directory / 'style.css')
doc.add_html('<link href="style.css" rel="stylesheet">')
wget.download(script_url, directory / 'script.js')
doc.add_html('<script src="script.js"></script>') |
To update the handout on script save (#36): while inotifywait -e close_write script.py; do python3 script.py; done |
I've started a more detailed comparison, to include in the README eventually:
@epogrebnyak Can you think of other important design axes? Do you think the table is mostly correct? |
Let's collect key topics and then put together a user guide. Points that came up already:
The text was updated successfully, but these errors were encountered: