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

General improvements to documentation #528

Open
12 of 27 tasks
ErikBjare opened this issue Dec 11, 2020 · 6 comments
Open
12 of 27 tasks

General improvements to documentation #528

ErikBjare opened this issue Dec 11, 2020 · 6 comments

Comments

@ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Dec 11, 2020

The docs are okay, but they have gotten a bit unstructured over time as we've just kept piling things on without any "refactoring". Here are some of the issues I'd like to resolve.

We welcome feedback and pull requests on any of these tasks! We need a fresh set of eyes!

General

  • Clean up structure/old sections (careful not to break any links)
    • The user/developer split doesn't make much sense (kinda fixed in ActivityWatch/docs#53)
    • Many of the top-level pages should be subpages ("Running on Gnome", "REST API") (fixed in ActivityWatch/docs#53)
    • The order of pages don't make sense ("Installing from source" is way too far down, for example) (fixed in ActivityWatch/docs#53)
    • "Development" is a terrible page header (fixed in ActivityWatch/docs#53)
    • Avoid breaking old links (didn't find a nice way to do this...)
  • Document where ActivityWatch stores data, cache, logs. (see: #521)
  • The FAQ isn't really a FAQ, it's just a bunch of random questions that should probably be answered elsewhere in the docs (many of them already are)
    • It served its purpose before we had decent docs and just needed to write down a few quick answers.
    • The FAQ should have short answers, with links to additional details.
  • Better interlinking in general (partially done in ActivityWatch/docs#53)
  • Document where nightly builds can be obtained (see #507)
  • Document (and warn!) about opening ActivityWatch to the network
    • Setting the listening address (and security implications)
    • Using an SSH tunnel instead
  • Document how ActivityWatch is not designed to monitor employees.
    • We do not want people to be forced to use ActivityWatch in a way where their data is stored by/sent directly to their employer.
    • However, we might implement a "report" feature (#233), which (imo) is the privacy-aware way to approach the issue.

Features

  • Categories
    • Maybe document how to export/import categories from/to local storage?
    • Explain how categories are applied in more detail (avoiding misunderstandings like in #517)
    • Link to categorization docs from category settings
    • Link to regex101 or similar (we should maybe do this straight from the web UI as well?)
  • Add basic documentation of queries and transforms (with links to examples) Edit: Nvm, this was mostly done.
  • Update the 'filtering data' section with link to aw-client redaction example
  • Document the 'edit view' functionality
  • Add screenshots of category rules?

Security

  • Add mention of ActivityWatch being "unsafe" on multi-user systems (see #75)

Examples

  • Add Examples page, which contains all other "Examples"-like pages ("Creating your first watcher", "querying data", parts from "Extending ActivityWatch")
  • aw-client now contains a few examples that are suitable for use in documentation, link/reference them.
  • Add example for a 'canonical events' query (like the base query of the same name in aw-webui)
  • Add example for analyzing data outside of ActivityWatch (#363)
    • Add example for reading into pandas (see: #339) (done in ActivityWatch/aw-client@9de8095)
    • Visualize data using matplotlib
      • Would be cool to do with sphinx gallery (but might be overkill and require a lot more time than reasonable with setting up the server with fake data and all)
@stale
Copy link

@stale stale bot commented Jul 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 1, 2021
@ArchaeotheriumSapienter
Copy link
Contributor

@ArchaeotheriumSapienter ArchaeotheriumSapienter commented Jul 5, 2021

Can I take a shot at this? I'm currently reading the documentation on how to contribute on Activity Watch and I am interested in helping you with the documentations :)

@stale stale bot removed the stale label Jul 5, 2021
@ErikBjare
Copy link
Member Author

@ErikBjare ErikBjare commented Jul 5, 2021

@ArchaeotheriumSapienter Absolutely, go right ahead and make a PR and I'll happily review :)

@ArchaeotheriumSapienter
Copy link
Contributor

@ArchaeotheriumSapienter ArchaeotheriumSapienter commented Jul 6, 2021

@ErikBjare
Copy link
Member Author

@ErikBjare ErikBjare commented Jul 6, 2021

@ArchaeotheriumSapienter No specific guidelines for docs, but do try and keep it in line with existing formatting (not sure what "sphinx-style" means here).

@8Dion8
Copy link

@8Dion8 8Dion8 commented Oct 18, 2021

Hi! I'm interested in creating examples for visualising data outside of AW with matplotlib. Where can I discuss this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants