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

docs: Improve documentation #1411

Open
wants to merge 90 commits into
base: compose-dev
Choose a base branch
from
Open

docs: Improve documentation #1411

wants to merge 90 commits into from

Conversation

validcube
Copy link
Member

@validcube validcube commented Oct 21, 2023

Guide to use the application will be seperate from this PR

Split

Need help

  • Writing the documentation on how to use the application (user side)

README.md Outdated Show resolved Hide resolved
@validcube validcube requested a review from Copilot January 27, 2025 08:46
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 18 changed files in this pull request and generated 10 comments.

Files not reviewed (12)
  • docs/4_building.md: Evaluated as low risk
  • docs/README.md: Evaluated as low risk
  • docs/2_2_managing.md: Evaluated as low risk
  • SECURITY.md: Evaluated as low risk
  • docs/2_1_patching.md: Evaluated as low risk
  • docs/0_prerequisites.md: Evaluated as low risk
  • docs/2_4_settings.md: Evaluated as low risk
  • docs/2_3_updating.md: Evaluated as low risk
  • docs/3_troubleshooting.md: Evaluated as low risk
  • docs/1_installation.md: Evaluated as low risk
  • docs/developer/2_submitting.md: Evaluated as low risk
  • docs/developer/README.md: Evaluated as low risk
Comments suppressed due to low confidence (2)

CONTRIBUTING.md:95

  • The phrase 'Consider opting for gender-neutral words for language with variations of words based on gender.' should be corrected to 'Consider using gender-neutral words in languages that have gender-based word variations.'
Consider opting for gender-neutral words for language with variations of words based on gender.

README.md:3

  • The sentence should be 'To use ReVanced on your Android device, ReVanced Manager has to be installed.'
To use ReVanced on your Android device, ReVanced Manager have to be install,

docs/developer/1_develop.md Show resolved Hide resolved
docs/developer/1_develop.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
docs/developer/0_prerequisites.md Outdated Show resolved Hide resolved
docs/developer/0_prerequisites.md Outdated Show resolved Hide resolved
docs/developer/0_prerequisites.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docs/developer/3_verifying.md Outdated Show resolved Hide resolved
docs/developer/3_verifying.md Outdated Show resolved Hide resolved
docs/developer/3_verifying.md Outdated Show resolved Hide resolved
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 18 changed files in this pull request and generated 3 comments.

Files not reviewed (12)
  • docs/4_building.md: Evaluated as low risk
  • docs/3_troubleshooting.md: Evaluated as low risk
  • docs/README.md: Evaluated as low risk
  • docs/2_2_managing.md: Evaluated as low risk
  • docs/2_3_updating.md: Evaluated as low risk
  • docs/2_4_settings.md: Evaluated as low risk
  • SECURITY.md: Evaluated as low risk
  • docs/0_prerequisites.md: Evaluated as low risk
  • docs/2_1_patching.md: Evaluated as low risk
  • docs/1_installation.md: Evaluated as low risk
  • docs/developer/2_submitting.md: Evaluated as low risk
  • docs/developer/README.md: Evaluated as low risk
Comments suppressed due to low confidence (8)

docs/developer/1_develop.md:11

  • Rephrase to: 'For example, when adding a new feature, you must prefix the description of your commit with feat:.'
so for example when you're adding a new feature you must add `feat: ` before the description of your commit.

docs/developer/1_develop.md:15

  • Rephrase to: 'simply hit the build button on your IDE.'
simply hit build button on your IDE

docs/developer/1_develop.md:7

The styling is based on https://kotlinlang.org/docs/coding-conventions.html

docs/developer/3_verifying.md:6

  • The sentence should be rephrased to: 'To distribute ReVanced Manager safely, it is recommended to provide users with a link to'
To distribute ReVanced Manager safely and recommended way is to provide the users with a link to

docs/developer/0_prerequisites.md:8

  • The term 'minSdk' should be 'minSdkVersion' for clarity.
higher than the [`minSdk`](/app/build.gradle.kts)

README.md:84

  • [nitpick] The phrase 'by downloading from the' is redundant. It should be 'by downloading it from the'.
You can get the most recent version of ReVanced Manager by downloading from the [ReVanced site](https://revanced.app/download).

README.md:86

  • [nitpick] The phrase 'by following the documentation' should be more specific. Consider specifying the exact location of the documentation.
Learn how to use ReVanced Manager by following the [documentation](/docs).

README.md:76

  • [nitpick] Ensure consistency in punctuation in the list of features. Some items end with periods, while others do not.
- 💉 **Patch apps**: Apply any patch of your choice to Android apps


The certificate SHA-256 of the APK will always be `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223` unless otherwise noted.

[installation authenticity]: /docs/1_installation.md#%EF%B8%8F-verifying-authenticity-of-revanced-manager
Copy link
Preview

Copilot AI Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link syntax is incorrect and should be corrected to: '[installation authenticity]: /docs/1_installation.md#verifying-authenticity-of-revanced-manager'

Suggested change
[installation authenticity]: /docs/1_installation.md#%EF%B8%8F-verifying-authenticity-of-revanced-manager
[installation authenticity]: /docs/1_installation.md#verifying-authenticity-of-revanced-manager

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

### Authenticating to GitHub Registry

ReVanced Manager uses dependency from the GitHub Registry (i.e., [ReVanced Patcher](https://github.com/ReVanced/revanced-patcher/packages)) and so your build may fail without authenticating to the service,
Copy link
Preview

Copilot AI Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase should be 'ReVanced Manager uses dependencies from the GitHub Registry' to correct the grammar.

Suggested change
ReVanced Manager uses dependency from the GitHub Registry (i.e., [ReVanced Patcher](https://github.com/ReVanced/revanced-patcher/packages)) and so your build may fail without authenticating to the service,
ReVanced Manager uses dependencies from the GitHub Registry (i.e., [ReVanced Patcher](https://github.com/ReVanced/revanced-patcher/packages)) and so your build may fail without authenticating to the service,

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

We're accepting translations on [Crowdin](https://translate.revanced.app)
You can find the documentation for ReVanced Manager [here](/docs).
Copy link
Preview

Copilot AI Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] This line is redundant since documentation is already mentioned in line 87.

Suggested change
You can find the documentation for ReVanced Manager [here](/docs).
## ⚖️ License

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@validcube validcube marked this pull request as ready for review January 27, 2025 10:38
@validcube
Copy link
Member Author

finally, 1 million other unnecessary change after, it's ready

docs/0_prerequisites.md Outdated Show resolved Hide resolved
Comment on lines +11 to +19
### ✒️ Verifying authenticity of ReVanced Manager

> [!NOTE]
> It's always advisable that you download from trusted sources like the [ReVanced site][Official ReVanced Download]
> or GitHub releases as it's the safest way to download ReVanced without potential risk of malware.

To verify if your ReVanced Manager is provided without sign of tampering,
we have signed the APK with hashes corresponding to `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223` *unless otherwise stated*.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem like enough information for a user to successfully verify an APK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the official Android docs to verify the APK should be referenced and/or the official documented method should be mentioned here.

Comment on lines +13 to +15
> [!Note]
> If the **Install** Button isn't there, it could be that something went wrong. Refer to [3. ❔ Troubleshooting](3_troubleshooting.md)
> [!Tip]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem to render correctly
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nested note blocks don't render unfortunately. See how the main branch solves this.

@@ -8,16 +8,26 @@ The following pages will guide you through using ReVanced Manager to patch apps.
2. Tap the + button in the bottom right corner
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step 1 should be removed.

@@ -8,16 +8,26 @@ The following pages will guide you through using ReVanced Manager to patch apps.
2. Tap the + button in the bottom right corner
3. Choose an app to patch[^1]
4. Tap on the version of the app you want to patch[^2]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to select from storage unless you have downloader plugins installed, which is not mentioned here.

docs/2_4_settings.md Outdated Show resolved Hide resolved
docs/2_4_settings.md Outdated Show resolved Hide resolved
docs/3_troubleshooting.md Outdated Show resolved Hide resolved
Comment on lines +10 to +12
### Additional Requirements

- A device with root capabilities using the latest version of [KernelSU](https://github.com/tiann/KernelSU) or [Magisk](https://github.com/topjohnwu/Magisk)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not required unless you are working on root features.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be reworded into optional requirements signalling that this requirement does not have to be met.

docs/developer/3_verifying.md Outdated Show resolved Hide resolved
@@ -12,7 +12,10 @@ This documentation explains how to use [ReVanced Manager](https://github.com/rev
3. [🔄 Updating ReVanced Manager](2_3_updating.md)
4. [⚙️ Configuring ReVanced Manager](2_4_settings.md)
3. [❔ Troubleshooting](3_troubleshooting.md)
4. [🔨 Building from source](4_building.md)

## 🧑‍💻 Developing for ReVanced Manager
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is not present in our other repos. It should be present in the readme, or added to other repos consistently.

@@ -12,7 +12,10 @@ This documentation explains how to use [ReVanced Manager](https://github.com/rev
3. [🔄 Updating ReVanced Manager](2_3_updating.md)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the new compose manager has new features that probably need a separate page, such as managing patches. The current page structure needs to be adjusted for compose.

- An Android device running Android 8 or higher
- Android device running Android 8.0 or higher

### Optional Requirements
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a title, just say "Optionally, root access ..."

@@ -1,14 +1,26 @@
# ⬇️ Installation

In order to use ReVanced on your Android device, ReVanced Manager must be installed.
To use ReVanced on your Android device, ReVanced Manager have to be install,
refer to the [Prerequisites](0_prerequisites.md) if haven't already.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each page has an icon so if linking to one the icon should be present in it. Linking back is not necessary here though, as we don't do it consistently in other pages.


1. Download the latest version of ReVanced Manager from [here](https://github.com/revanced/revanced-manager/releases/latest)
1. Get the latest version of ReVanced Manager from the [ReVanced site][Official ReVanced Download].
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording in the main branch is better than here.

2. Install ReVanced Manager

### ✒️ Verifying authenticity of ReVanced Manager
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be step 3, if at all, not a separate title. However this section can be removed entirely, verifying can be added consistently later in all repos.

Comment on lines +11 to +19
### ✒️ Verifying authenticity of ReVanced Manager

> [!NOTE]
> It's always advisable that you download from trusted sources like the [ReVanced site][Official ReVanced Download]
> or GitHub releases as it's the safest way to download ReVanced without potential risk of malware.

To verify if your ReVanced Manager is provided without sign of tampering,
we have signed the APK with hashes corresponding to `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223` *unless otherwise stated*.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the official Android docs to verify the APK should be referenced and/or the official documented method should be mentioned here.


To verify if your ReVanced Manager is provided without sign of tampering,
we have signed the APK with hashes corresponding to `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223` *unless otherwise stated*.

## ⏭️ What's next

The next page will guide you through using ReVanced Manager.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wording in main branch is better than here.

Comment on lines +13 to +15
> [!Note]
> If the **Install** Button isn't there, it could be that something went wrong. Refer to [3. ❔ Troubleshooting](3_troubleshooting.md)
> [!Tip]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nested note blocks don't render unfortunately. See how the main branch solves this.

[^2]: It is suggested to use the version with the most patches to get the most out of ReVanced.
[^3]: Mounting the patched app on top of the original app will only work if the installed app version matches the version of the app selected in step 4. above.

### Change patch selection and options
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once again, this should not be a separate section, follow how the main branch does it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReVanced Manager Compose Regarding the Compose rewrite of ReVanced Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: Update the docs to match the latest changes
6 participants