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

Application documentation #142

Merged
merged 14 commits into from
Oct 8, 2023
Merged

Application documentation #142

merged 14 commits into from
Oct 8, 2023

Conversation

luukvanderduim
Copy link
Collaborator

This documents the Application interface.

The XML level docs served as guideline.
Shoutout to @federico.

The trait is transformed into structs with methods.
It is useful to have some global information to go with the struct and its methods.

It may seem redundant to repeat this header but as module level docs are separated from these structs in docs, I think it is warranted to find it in both places.
We have `Accessible` the trait, and former Accessible which is now named `ObjectRef`.
Here we mean to refer to the object.
For `Application`, no longer rely on external link.
`ObjectRef` replaces former `Accessible` link.
`get_children` docs had external link, is now internal.
Improve / replace module-level docs of `atspi-proxies::application`

Note that these docs are repeated on the `Application` trait, because it gets converted into `ApplicationProxy` (and its blocking sibling).
These documentation pages are separate from the module-level, but it is useful to have some overview at the struct level too.
The trait `Applicattion` is converted into:

`ApplicationProxy` and `BlockingApplicationProxy`, which benefit from some global / overview docs. In the source it looks a bit overzealous but in the docs the module-level and the struct-level docs are separate.
The `version` method refers to the toolkit version.
@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Merging #142 (f186d97) into main (975899e) will decrease coverage by 0.04%.
Report is 5 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   90.00%   89.97%   -0.04%     
==========================================
  Files          39       39              
  Lines        3172     3172              
==========================================
- Hits         2855     2854       -1     
- Misses        317      318       +1     
Files Coverage Δ
atspi-proxies/src/accessible.rs 26.31% <ø> (ø)
atspi-proxies/src/application.rs 0.00% <ø> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@TTWNO
Copy link
Member

TTWNO commented Oct 8, 2023

Thank you Luuk, and Federico!

@TTWNO TTWNO merged commit e8b23fc into main Oct 8, 2023
11 of 12 checks passed
@TTWNO TTWNO deleted the application-documentation branch October 8, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants