| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
- Add newlines so it's not a big unfriendly paragraph
- Fix gitpod workspace link
- Clarification on terminal commands
- Clarification on test server and bot
- Add links for that ^ and for environment variables
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Update some screenshot images to reflect emoji used in category names
Break up some of the FAQ questions into smaller questions
Mention the !helpdm on command added in 2021
Mention the channel claimed embed added in 2022
Culling of content to focus on information pertaining to getting help
|
| | |
| |
| |
| | |
Remove screenshot of occupied help channels because it doesn't serve much purpose, and help can also be provided in topical channels.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
|
| |
This commit changes the following inside the help channel guide:
* Only one help channel can be claimed at the same time
* You can use the search to find your channel
* The channel will close after 10 minutes if someone else sends a message
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Fixes a test that fails on Windows due to differing path separators.
This is currently the only failing test.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Ref:
https://discord.com/channels/267624335836053506/429409067623251969/896753201645232169
I think it should be updated so newer members won't get confused when
they don't see a #media-branding.
|
| | |
| |
| |
| |
| | |
- succint -> succinct
- seperated -> separated
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
./pydis_site/apps/resources/resources/tools/ides/thonny.yaml:1: specifically
./pydis_site/apps/content/resources/guides/pydis-guides/helping-others.md:115: considered
./pydis_site/apps/content/resources/guides/pydis-guides/contributing/issues.md:59 labels
./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md:99: recommend
./pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md:111: particularly
./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:29: Integer
./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:67: calculating
./pydis_site/apps/api/tests/test_off_topic_channel_names.py:157: response
I didn't touch the code jam and game jam typos because I'm not sure if
they should be preserved as is.
There were a few 'seperated' typos which I didn't change because I
*think* it's just another way of spelling it?
In the offensive words test there was a keyword argument named `fied`
which I didn't touch because I wasn't sure where that was from.
|
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Restructure bot contributing guide
Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options.
The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away.
That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project.
As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates.
The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going.
This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
|
| | |
| |
| |
| |
| | |
Adds configuration which specifies how routes should be handled when
building a static preview.
|
| | |\ |
|
| | | |\ |
|
| | | | |
| | | |
| | | | |
docs: Added site documentation for editing on Gitpod
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Switches the protocol for external sites where possible. Some sites
don't have secure versions, and were skipped.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |\| |
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In more detail:
- Use Django URL namespaces (e.g. `api:bot:infractions`) instead of
`django_hosts` host argument.
- Update the hosts file setup documentation to remove subdomain entries.
- Update the hosts file setup documentation to mention that the entry of
`pythondiscord.local` is not required and mainly for convenience.
- Rename the `APISubdomainTestCase` to the more fitting
`AuthenticatedAPITestCase`, as authentication is all that is left that the
class is doing.
- Drop dependency to `django_hosts`.
|
| | |_|/
|/| |
| | |
| | | |
Rather than mentioning the apeals email address, we now direct users to the appeal server, which will now be used for ban appeals.
|
| |\ \ \ |
|
| | | |/
| |/| |
|
| |/ /
| |
| |
| |
| |
| | |
Fixes a local link that points to a non-existent resource.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Link detail section in environment variables section.
- Update old static path from pre-Docker environment times and mention the
Docker setup.
diff --git
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
index 8c21b5b0..24227f24 100644 ---
a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md
+++
b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md @@
-79,6 +79,9 @@ SECRET_KEY=suitable-for-development-only STATIC_ROOT=staticfiles
```
+The [Configuration in Detail](#configuration-in-detail) section contains
+detailed information about these settings.
+
#### Notes regarding `DATABASE_URL`
- If the database is hosted locally i.e. on the same machine as the webserver, then use `localhost` for the host. Windows and macOS users may need to use the [Docker host IP](../hosts-file/#windows) instead.
@@ -173,5 +176,6 @@ The website is configured through the following environment variables:
- **`SECRET_KEY`**: The secret key used in various parts of Django. Keep this
secret as the name suggests! This is managed for you in debug setups.
-- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic` collects
- static files. Optional, defaults to `/var/www/pythondiscord.com`.
+- **`STATIC_ROOT`**: The root in which `python manage.py collectstatic`
+ collects static files. Optional, defaults to `/app/staticfiles` for the
+ standard Docker deployment.
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
macOS uses `/var/...` as its temp directory, causing issues with the
hardcoded usage of `/tmp` as the temporary directory. Therefore,
relying on tmp is not portable.
Populating the true temporary directory is redundant and may cause more
problems because of nested directories. Move the fake content under a
subdirectory to avoid this issue.
Co-authored-by: MarkKoz <[email protected]>
|
| | |
|
| |
|
|
|
| |
This is later mentioned in the connection string, but in the local setup, the
SQL statement to create the database was missing.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Added in wording to clarify why we don't support
the discord .txt, .py, and similar file types even though
it has preview available for them.
|
| | |
|
| |\ |
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Updates the Python and Sir Lancebot guides to use poetry. Updates the
dependency guide to include poetry, and explain when each dependency
manager should be used.
|
| | | | |
|
| | |/ |
|
| | | |
|
| | | |
|