[Docs] Downloader cog guide #4511
Labels
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot!4511
Loading…
Reference in a new issue
No description provided.
Delete branch "cog_guide_downloader"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Description of the changes
Adds programmatically generated docs using the same method as #4488
A step towards the #1734 goal
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:Should this be using square brackets? Is this a mistake of the auto-generator?
@ -0,0 +149,4 @@**Arguments**- ``<repo_name>`` The name of the repo to install cogs from.- ``<revision>`` The revision to install from.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.Same note about "revision" as above.
@ -0,0 +523,4 @@**Description**Update all repos, or ones of your choosing.Maybe add a note that this does not update the installed cogs?
@ -0,0 +1,537 @@.. _downloader: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.
@ -0,0 +1,537 @@.. _downloader: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.
@ -0,0 +1,537 @@.. _downloader:Would it be more correct to make the command hidden? I will remove from the guide regardless.
@ -0,0 +149,4 @@**Arguments**- ``<repo_name>`` The name of the repo to install cogs from.- ``<revision>`` The revision to install from.Added an explanation of revision with a link and an image. It still makes assumptions that the user know what they're doing though.
@ -0,0 +1,537 @@.. _downloader:Also added a comment that this command shouldn't be used unless Red asks for it.
@ -0,0 +1,537 @@.. _downloader:Seems fine to me to hide it.
@ -0,0 +1,537 @@.. _downloader:Swapped to square brackets and reviewed all other bracket to make sure the match the
usage@ -0,0 +342,4 @@**Arguments**- ``<repo_name>`` The repo or repos to update all cogs from.- ``<revision>`` The revision to update to.Added a comment pointing to
cog installversionto get an explanation of revision@ -0,0 +523,4 @@**Description**Update all repos, or ones of your choosing.Comment added below this line
Requested changes have been made.
@ -0,0 +1,537 @@.. _downloader:Added PR to hide this in #4590
Thanks for your help!