[Docs] Downloader cog guide #4511

Merged
bobloy merged 16 commits from cog_guide_downloader into V3/develop 2020-11-21 02:18:05 +01:00
bobloy commented 2020-10-19 19:37:59 +02:00 (Migrated from github.com)

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Adds programmatically generated docs using the same method as #4488
A step towards the #1734 goal

### Type - [ ] Bugfix - [x] Enhancement - [ ] New feature ### Description of the changes Adds programmatically generated docs using the same method as #4488 A step towards the #1734 goal
Jackenmen (Migrated from github.com) reviewed 2020-10-19 19:37:59 +02:00
Flame442 (Migrated from github.com) requested changes 2020-11-08 02:37:26 +01:00
Flame442 (Migrated from github.com) left a comment

A few things that need fixing, but this is looking good otherwise!
Not sure what is up with the argument brackets, but they don't seem consistent.
All of the changes in the rst need to be applied to the cog as well where applicable.

A few things that need fixing, but this is looking good otherwise! Not sure what is up with the argument brackets, but they don't seem consistent. All of the changes in the rst need to be applied to the cog as well where applicable.
@ -0,0 +1,537 @@
.. _downloader:
Flame442 (Migrated from github.com) commented 2020-11-08 02:26:11 +01:00
because of a change in the minor version of Python.
```suggestion because of a change in the minor version of Python. ```
Flame442 (Migrated from github.com) commented 2020-11-08 02:27:31 +01:00
- ``<repo_name>`` The repo to get cog info from.
```suggestion - ``<repo_name>`` The repo to get cog info from. ```
Flame442 (Migrated from github.com) commented 2020-11-08 02:29:26 +01:00
Red might ask the owner to use this when it clears contents of the lib folder
```suggestion Red might ask the owner to use this when it clears contents of the lib folder ```
Flame442 (Migrated from github.com) commented 2020-11-08 02:30:40 +01:00
Unpin cogs - this will remove the update lock from those cogs.
```suggestion Unpin cogs - this will remove the update lock from those cogs. ```
Flame442 (Migrated from github.com) commented 2020-11-08 02:31:19 +01:00

Should this be using square brackets? Is this a mistake of the auto-generator?

Should this be using square brackets? Is this a mistake of the auto-generator?
Flame442 (Migrated from github.com) commented 2020-11-08 02:32:38 +01:00
Note that update doesn't mean downgrade and therefore `revision`
has to be newer than the version that cog currently has installed. If you want to
downgrade the cog, uninstall and install it again.
```suggestion Note that update doesn't mean downgrade and therefore `revision` has to be newer than the version that cog currently has installed. If you want to downgrade the cog, uninstall and install it again. ```
@ -0,0 +149,4 @@
**Arguments**
- ``<repo_name>`` The name of the repo to install cogs from.
- ``<revision>`` The revision to install from.
Flame442 (Migrated from github.com) commented 2020-11-08 02:28:23 +01:00

Expanding what a "revision" is could be useful since end users probably don't know much about git.

Expanding what a "revision" is could be useful since end users probably don't know much about git.
@ -0,0 +342,4 @@
**Arguments**
- ``<repo_name>`` The repo or repos to update all cogs from.
- ``<revision>`` The revision to update to.
Flame442 (Migrated from github.com) commented 2020-11-08 02:32:59 +01:00

Same note about "revision" as above.

Same note about "revision" as above.
@ -0,0 +523,4 @@
**Description**
Update all repos, or ones of your choosing.
Flame442 (Migrated from github.com) commented 2020-11-08 02:36:31 +01:00

Maybe add a note that this does not update the installed cogs?

Maybe add a note that this does **not** update the installed cogs?
Flame442 (Migrated from github.com) reviewed 2020-11-08 02:40:32 +01:00
@ -0,0 +1,537 @@
.. _downloader:
Flame442 (Migrated from github.com) commented 2020-11-08 02:40:32 +01:00

While I do think this grammar change should be done in the docstring, this command should not be included in the docs as it is marked as hidden.

While I do think this grammar change should be done in the docstring, this command should **not** be included in the docs as it is marked as hidden.
Jackenmen (Migrated from github.com) reviewed 2020-11-08 02:44:33 +01:00
@ -0,0 +1,537 @@
.. _downloader:
Jackenmen (Migrated from github.com) commented 2020-11-08 02:44:33 +01:00

The command is not actually hidden, I've mistakenly told Flame that it is.
Nonetheless, I still don't think the command should really be shown in the user guide as it's generally only supposed to be used if Red asks you to and it's not a command that the user really needs to learn about from this guide.

The command is not actually hidden, I've mistakenly told Flame that it is. Nonetheless, I still don't think the command should really be shown in the user guide as it's generally only supposed to be used if Red asks you to and it's not a command that the user really needs to learn about from this guide.
bobloy (Migrated from github.com) reviewed 2020-11-10 18:14:00 +01:00
@ -0,0 +1,537 @@
.. _downloader:
bobloy (Migrated from github.com) commented 2020-11-10 18:14:00 +01:00

Would it be more correct to make the command hidden? I will remove from the guide regardless.

Would it be more correct to make the command hidden? I will remove from the guide regardless.
bobloy (Migrated from github.com) reviewed 2020-11-10 18:45:07 +01:00
@ -0,0 +149,4 @@
**Arguments**
- ``<repo_name>`` The name of the repo to install cogs from.
- ``<revision>`` The revision to install from.
bobloy (Migrated from github.com) commented 2020-11-10 18:45:07 +01:00

Added an explanation of revision with a link and an image. It still makes assumptions that the user know what they're doing though.

Added an explanation of revision with a link and an image. It still makes assumptions that the user know what they're doing though.
bobloy (Migrated from github.com) reviewed 2020-11-10 18:45:43 +01:00
@ -0,0 +1,537 @@
.. _downloader:
bobloy (Migrated from github.com) commented 2020-11-10 18:45:42 +01:00

Also added a comment that this command shouldn't be used unless Red asks for it.

Also added a comment that this command shouldn't be used unless Red asks for it.
Jackenmen (Migrated from github.com) reviewed 2020-11-10 18:45:49 +01:00
@ -0,0 +1,537 @@
.. _downloader:
Jackenmen (Migrated from github.com) commented 2020-11-10 18:45:49 +01:00

Seems fine to me to hide it.

Seems fine to me to hide it.
bobloy (Migrated from github.com) reviewed 2020-11-10 18:46:30 +01:00
@ -0,0 +1,537 @@
.. _downloader:
bobloy (Migrated from github.com) commented 2020-11-10 18:46:30 +01:00

Swapped to square brackets and reviewed all other bracket to make sure the match the usage

Swapped to square brackets and reviewed all other bracket to make sure the match the `usage`
bobloy (Migrated from github.com) reviewed 2020-11-10 18:47:20 +01:00
@ -0,0 +342,4 @@
**Arguments**
- ``<repo_name>`` The repo or repos to update all cogs from.
- ``<revision>`` The revision to update to.
bobloy (Migrated from github.com) commented 2020-11-10 18:47:19 +01:00

Added a comment pointing to cog installversion to get an explanation of revision

Added a comment pointing to `cog installversion` to get an explanation of revision
bobloy (Migrated from github.com) reviewed 2020-11-10 18:50:19 +01:00
@ -0,0 +523,4 @@
**Description**
Update all repos, or ones of your choosing.
bobloy (Migrated from github.com) commented 2020-11-10 18:50:19 +01:00

Comment added below this line

Comment added below this line
bobloy commented 2020-11-10 18:50:38 +01:00 (Migrated from github.com)

Requested changes have been made.

Requested changes have been made.
bobloy (Migrated from github.com) reviewed 2020-11-10 18:59:10 +01:00
@ -0,0 +1,537 @@
.. _downloader:
bobloy (Migrated from github.com) commented 2020-11-10 18:59:10 +01:00

Added PR to hide this in #4590

Added PR to hide this in #4590
Flame442 (Migrated from github.com) approved these changes 2020-11-21 02:17:45 +01:00
Flame442 (Migrated from github.com) left a comment

Thanks for your help!

Thanks for your help!
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!4511
No description provided.