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

Improve documentation #276

Open
8 of 10 tasks
manuelma opened this issue Oct 3, 2023 · 3 comments
Open
8 of 10 tasks

Improve documentation #276

manuelma opened this issue Oct 3, 2023 · 3 comments
Assignees
Labels

Comments

@manuelma
Copy link
Collaborator

manuelma commented Oct 3, 2023

We should improve the documentation towards the 0.8 release.
We should try to split public and private API, explain why things are needed, add some introduction to the top-level package summarizing the functionality so the user knows where to go.

  • Document the main package
  • Document the spineio package
  • Document the import_mapping package
  • Document the export_mapping package
  • Document the filters package
  • Make sure only the public API is documented
  • Add more examples
  • Finalize the tutorial
  • Add more tutorials if needed
  • Try to collect feedback on the tutorials, improve
@manuelma manuelma self-assigned this Oct 3, 2023
@soininen
Copy link
Collaborator

soininen commented Oct 5, 2023

The server stuff needs to be documented as well. Not the API, but how it works within Toolbox Tools. When you get the server URL as a command line argument in a Tool script, it is different from "raw" database URL, e.g. the database has filters applied already and you cannot add more to the URL (or maybe this is unintentional bug?). You can apply filters using DatabaseMapping methods, though.

@manuelma
Copy link
Collaborator Author

manuelma commented Oct 5, 2023

You're right. There is a server request called apply_filters for that, but I haven't documented it yet. Have you checked the current documentation? what do you think? https://spine-database-api.readthedocs.io/en/0.8-dev/autoapi/spinedb_api/spine_db_server/index.html

@soininen soininen removed the 0.8 label Apr 30, 2024
@jkiviluo
Copy link
Member

This is mostly done (although the names refer to some old stuff). What's still missing is something more generic in the beginning (spine-tools/Spine-Toolbox#1991).

And maybe @aporrasc could comment if there is something difficult about the documentation - I think he has been using it in recent weeks.

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

No branches or pull requests

3 participants