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
More documentation improvements #1253
More documentation improvements #1253
Conversation
* Add an Introduction page * Split Common Conventions in subpages * Document various backendy things like the .portal file and the config file * Rename various pages * Add a Contributing page
This little script does two adjustments to the doc files: 1. Replace the titles of the files with a shorter string 2. Fix stray unreplaced strings in the RST files It's a custom approach for XDG Desktop Portal and not necessarily upstreamable.
It was 2 levels too much, which made Sphinx consider it an admonition.
This handle_token entry is not part of the *backend* API, only the frontend. Closes: flatpak#938
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. There are a few things I think we could improve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference, I've opened this MR for GLib to generate shorter titles for the D-Bus interface pages with gdbus-codegen.
As per swick's suggestions.
Thank you, very much appreciated. I'll update the Python script when this MR reaches the CI image. |
In the spirit of keeping things moving, I'll merge this PR. If you have further improvements, please open up new PRs. Thanks! |
This is a relatively big reorganization of the documentation pages, hopefulle for the better.
This PR:
.portal
file formatportals.config
file formatOverall I'm quite happy with the end result. You can see how it looks here: https://georgesstavracas.github.io/xdg-desktop-portal/docs/index.html