-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Enhanced Documentation Review Process #11264
Comments
Thanks for opening this issue with a proposed feature 👍🏼
We've talked about this in multiple opportunities and we've found it's not easy/trivial to implement in a reliable way. One of those conversations is at readthedocs/actions#4, in case you want to have more context. I'm happy to receive detailed feedback about how you imagine this feature could be implemented considering what we discussed already and its UX exposed to users.
We have a beta implementation of this feature already as part of the "Read the Docs Addons". If you have beta addons enabled in your project1, navigating to a page that is modified in the PR preview and pressing Example: Let me know any feedback you may have about the visual docdiff feature. You can open an issue at https://github.com/readthedocs/addons which it's the official repository for it. Footnotes
|
I think a similar solution to what I described in #6621 (comment) can be useful here. We can detect the new pages added in a PR, and we could even go further and sort pages by number of changes after running a diff, that way we work over the resulted pages instead of trying to guess from the source files. |
Here are some feedbacks/suggestions: How it can be implemented?
UX Improvement suggestions
In the RTD project settings, include a user-friendly UI for configuring the direct navigation feature, such as specifying the maximum number of direct links to display and setting URL conversion rules.
Incorporate a way for reviewers to provide feedback directly from the build preview interface, such as comments or suggestions on the modified sections. This could be integrated with the project's issue tracking system. This could greatly improve the review process.
I think this is already a part of the Beta implementation. Let me know what you think. |
Thanks for the detailed explanation about how this feature could work/be implemented. I see how 1) could be implemented inside the GitHub action I linked before. It seems it has all the information required and the specific data needed from the users can be requested via the GitHub Action YAML configuration file (maximum number of links, how to convert from source file, like
We've talked a lot about this in the past and we found it's pretty complex to implement in a nice and usable way. There is a related issue with similar conversation at readthedocs/addons#89 It seems we are already tracking these ideas on specific issues already, so I will proceed to close this one for now. Please, subscribe there if you want to keep up to date with the news. |
What's the problem this feature will solve?
During the review process, it is crucial for reviewers to efficiently assess and understand the changes made to the documentation. Currently, navigating to specific changes requires manually searching for the file within the ReadtheDocs documentation structure, which can be time-consuming and detracts from the review experience.
Describe the solution you'd like
When accessing a doc build preview link, the user should be taken directly to the portion of the documentation where changes have been made. This direct navigation ensures that reviewers can immediately focus on the content that requires their attention.
Changes made to the RST or MD files should be visually highlighted within the documentation preview. This highlighting could take the form of color coding or other visual indicators that distinctly mark added, modified, or removed content. By clearly delineating changes, reviewers can more easily assess and provide feedback on the modifications.
The text was updated successfully, but these errors were encountered: