[V3] User documentation #1757
No reviewers
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot!1757
Loading…
Reference in a new issue
No description provided.
Delete branch "userdocs"
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
This PR will add user docs for red usage, such as detailed cog guides and more... We already discussed about that on #1734
This PR is not ready yet, I will commit new docs in the future. I'm opening it now so you can see how it's going, just tell what you think about what I'm doing.
I created a quick ReadTheDocs page so you can directly see the result instead of looking at the source code. https://red-docspr.readthedocs.io/en/latest
Overall, I think this is actually a really good start. I understand this is a work in progress, and subject to change.
A couple things I noticed:
I'd advise against linking to external links and guides in the docs as much as possible as we can't guarantee they stay up to date or accurate. The Digital Ocean one is unlikely to be an issue as their documentation is generally kept up to date and is well written, but linking to a gist in docs is probably not the best idea.
I would not be recommending Ubuntu16.04 as the default as the latest LTS release of Ubuntu is 18.04 which also includes python3.6 by default. Recommending any specific distribution over another is not necessarily something we should do as it starts being less a guide and more editorial, but if we are going to, we should be recommending the latest available long term supported version.
I'd also advise against calling any linux distro "easy to understand". While they may be from a developer standpoint, this is a guide which targets a lot of users who have never used a CLI before, and while it may be easy for some people, it isn't at first for everyone, and this is likely to come across as off-putting to anyone who doesn't find it easy.
There are a few grammatical errors which are quickly noticeable reading through which should be handled before merge, but I understand this is still a work in progress.
I'll comment what you said
you're right with the gist, maybe I should include that into a hidden .rst (not in
index.rst)Ubuntu 16 is not the latest but the most stable. I got issue and missing tools on 18, downgrading to 16 fixed all my problems. I think it's better to stay on a really stable release than going with the latest one.
I defined Ubuntu as an easy-to-understand distro because of the pre-installed tools and maybe because of bad memories with Arch. This is the distro I usually recommand in #support, but I can change this to something else if needed, or just remove the "easy to understand" mention.
I'm not native english, so I'll let you find and correct the errors. I'm trying to do my best, I promise D:
And thanks for the review, this is what I need
@tekulvw Made admin cog docs, as its author, what do you think about it?
Edit: ReadTheDocs didn't build, lemme fix that
ReadTheDocs built successfully
I know it can be a pain, but for the checks to pass you must resolve all sphinx build warnings, even if the docs still build successfully otherwise.
This is already added on line 122, so you can remove these lines. If you'd like to build docs for Red into an ignored folder, you can simply do it in the
docssub-directory, and the Makefile is provided for your convenience to build into this folder.so instead of running
sphinx, I need to run the makefile, right?Added alias docs
https://red-docspr.readthedocs.io/en/latest/alias.html
Should the message
command locked to...be shown as an admonition? (such as note, tip, warning...)You don't have to if you don't want to. You can do
sphinx-build . _build/html -bhtmlinstead ofmake html.Also note that tox tests builds the docs using
sphinx-buildwith the-Wflag, which treats warnings as errors - hence why the travis build fails if there are any build warnings.I know that Travis is constantly failing because of missing references, I'll add them when they will exist, at least I won't forgot to add them.
However, this doesn't explain why the build shouldn't be in the gitignore file...
We appreciate what you're doing here Laggron and I realize that English is not your first language but in order for us to even consider changes to end user facing documentation, the spelling and grammar must be correct. If you're not going to work on that yourself then you need to find others to help you. If you don't, this PR is likely going to sit here for a very long time.
Don't worry, the work is in progress. I'll try to find all of these errors (I was going to finish every guide, then check for errors, but I'll search for them now). Thanks for the review!
Travis is not passing for weird reasons. At least tox pass locally

If I may note here - a user-focused RST guide for the CustomCommands cog is included in #2051 since that PR introduces a major feature change that I couldn't document in docstrings alone. You can see that guide here (clicky).
I'd recommend you leave any docs on that cog out of this PR and instead contribute feedback regarding that cog's docs to PR #2051. That way they won't conflict and the docs will include the new feature.
Should my PR be denied the RST from there should still be useful for this PR, after stripping out the docs on the new feature.
The first RC is coming soon, and this have to be finished quickly. For those who want to help me, here is how I write cog guides.
If you want to attach images (which is recommanded), place them in the
.ressourcesdir, and access them with.. image:: ../.ressources/your-file.pngYou should check
audio.rstas an example.Due to the amount of things to do, I'm gonna split this PR as suggested before on Discord. I'm gonna open one pull request right now for the "Getting started" part, and open one PR for each cog guide if you're ok with that.
Pull request closed