-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Documentation]Adding notes for latest linux version and libwebkit issue #3806
[Documentation]Adding notes for latest linux version and libwebkit issue #3806
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes in this pull request include updates to the changelog and installation documentation for version v2.9.2 of the project, released on September 18, 2024. The changelog now details fixes and changes made in this version, including various bug fixes and documentation updates. Additionally, the installation documentation for version v2.9.0 has been revised to address platform-specific dependencies for Linux, providing guidance on handling issues with the Changes
Possibly related PRs
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx (1)
61-62
: Approved with a suggestion for improvementThe added note provides valuable information for users encountering issues with libwebkit on the latest Linux versions. It addresses the problem described in the PR objectives and offers a clear solution.
To further improve clarity, consider adding a specific example of the command to use during the build process. This will help users understand exactly how to apply the suggested tag.
Here's a suggested addition to the note:
If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting <code>libwebkit2gtk-4.0-dev</code>, then you might encounter an issue in <code>wails doctor</code>: <code>libwebkit</code> not found. To resolve this issue you can install <code>libwebkit2gtk-4.1-dev</code> and during your build use the tag <code>-tags webkit2_41</code>. +For example, you can use the following command to build your application: +<code>wails build -tags webkit2_41</code>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
- website/src/pages/changelog.mdx (1 hunks)
- website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx (1 hunks)
🧰 Additional context used
🔇 Additional comments (1)
website/versioned_docs/version-v2.9.0/gettingstarted/installation.mdx (1)
61-62
: Overall assessment: Valuable addition to the documentationThe changes made to the Linux section of the installation guide effectively address the issue with libwebkit on the latest Linux versions, as described in the PR objectives. This addition provides important information for users who might encounter this problem, offering a clear solution and improving the overall user experience.
The content is well-integrated into the existing document structure and maintains consistency with the style of the rest of the guide. With the minor suggestion for improvement implemented, this change will significantly enhance the documentation for Linux users.
@pratikmota - Can you please add the changes to the non-versioned documentation please. Thanks 🙏 |
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
website/docs/gettingstarted/installation.mdx (1)
61-62
: Approve the addition of libwebkit installation note for latest Linux versions.The added note provides valuable information for users of the latest Linux distributions, specifically addressing the issue with
libwebkit2gtk-4.0-dev
and offering a solution. This addition aligns well with the PR objectives and the AI-generated summary.Some suggestions for improvement:
- Consider adding a specific command for installing the package:
sudo apt install libwebkit2gtk-4.1-dev
- Provide the full build command with the tag:
wails build -tags webkit2_41
- For clarity, you might want to separate the installation and build instructions into two sentences.
Here's a suggested revision for improved clarity:
<br/><strong>Note:</strong><br/> If you are using the latest Linux version (e.g., Ubuntu 24.04) and encounter an issue with `wails doctor` reporting "`libwebkit` not found", it may be because `libwebkit2gtk-4.0-dev` is not supported. To resolve this, install `libwebkit2gtk-4.1-dev` using the command: `sudo apt install libwebkit2gtk-4.1-dev`. When building your project, use the tag `-tags webkit2_41` like this: `wails build -tags webkit2_41`.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- website/docs/gettingstarted/installation.mdx (1 hunks)
🧰 Additional context used
🔇 Additional comments (1)
website/docs/gettingstarted/installation.mdx (1)
Line range hint
1-62
: Consider updating non-versioned documentationWhile the changes made are valuable and address the issue with libwebkit on latest Linux versions, it's important to note that these updates are currently only reflected in the versioned documentation (v2.9.0).
As per the PR comments, there's a request to add these changes to the non-versioned documentation as well. This ensures that all users, regardless of the version they're using, have access to this important information.
To ensure consistency across documentation, please run the following script to check for non-versioned installation documentation:
If non-versioned documentation is found, please update it with the same information about libwebkit installation for the latest Linux versions.
✅ Verification successful
Non-versioned documentation is up to date
The non-versioned installation documentation (
website/docs/gettingstarted/installation.mdx
) already includes the necessary updates regarding the libwebkit installation for the latest Linux versions. No further action is required.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for non-versioned installation documentation # Search for non-versioned installation.mdx files echo "Searching for non-versioned installation.mdx files:" fd --type f "installation.mdx" website/docs | grep -v "/v[0-9]" # If found, display their content fd --type f "installation.mdx" website/docs | grep -v "/v[0-9]" | xargs -I {} sh -c 'echo "\nContent of {}:"; cat {}'Length of output: 4336
@leaanthony : I have updated changes in
|
Thank you! 🙏 |
Quality Gate passedIssues Measures |
@leaanthony : Thank you very much for merge. This was my first contribution in Wails. :-) I will keep contributing this project. |
Description
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.Test Configuration
Please paste the output of
wails doctor
. If you are unable to run this command, please describe your environment in as much detail as possible.Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
Bug Fixes
Documentation
libwebkit
dependencies and providing solutions for newer distributions.