question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add User Guide and improve documentation

See original GitHub issue

Our README currently provides the bare bare minimum information to get onboarded with PyScript (arguably below minimum 😃. We need a real user guide/user documentation. Hope we can use this issue to capture the major sections of the user guide as well as the qualities that we want to prioritize for when creating it. PRs can come out of this issue or, eventually, we can generate new issues out of this one.

NOTE: The following work can be split in multiple PRs and even smaller issues.

Principles

Every part of the documentation should keep in mind the vision of the project in mind: programming for the 99%. So we should check that any addition aligns to the following principles:

  • accessibility
  • inclusiveness
  • simplicity

Main Sections

  • Introduction/Description: what is PyScript, the goals, what PyScript is not, etc…
  • Getting started: this should be really simple and short 😃. Should show hot so include PyScript in a page and how to have a simple <py-script> snipped running
  • How to use it: this should be the continuation from the “getting started” sections and should show mode details on each component that can be added in PyScript:

Update: these are solved:

  • <py-env>
  • <py-script>
  • <py-repl>
  • Visual Components
    • <py-inputbox>
    • <py-box>
    • <py-button>
    • <py-list>
    • <py-title>

These are still TBD:

  • Advanced:
    • understanding how PyScript works
    • registering your own PyScript components
    • components API
  • Best practices: focusing a serious of things to do/account for when working with PyScript to have the optimal performance/experince possible (i.e: browser versions, etc…)

Ideas very welcome in the comments.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:4
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jezdezcommented, May 3, 2022

I’d would strongly suggest to follow the Diátaxis Framework in how to structure the docs to guide different levels of experience to the right place. This has been a pattern that was successfully applied to many different OSS projects and should be a good starting point to build out.

1reaction
fpligercommented, Aug 25, 2022

@marimeireles do you mind checking the docs vs the items in the descriptions and open issues of the ones missing so we can encourage granular contributions and close this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Build the Best User Documentation (New Guide) | Blog
Have a product or service that needs user documentation? Here are some simple tips on how to build the best documentation for consumers....
Read more >
8 Tips For Writing Better User Documentation to Help End-Users
Tips For Writing Better User Documentation · 1. Start With A Plan · 2. Write in Plain Language · 3. Use Visuals to...
Read more >
How to Create Effective End-User Documentation (+Examples)
Learn how to write end-user documentation that users actually find valuable, with examples and tools to create your product documentation.
Read more >
How to Build the Best User Documentation - YouTube
User documentation doesn't have to be boring or hard to follow! Here's exactly what you need to do to create user documentation your ......
Read more >
Ultimate Guide to write instruction for User Manual
Make your documentation interactive by adding relevant images, diagrams and videos for your users to engage with. Make it clear which step of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found