aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2023-04-20 18:56:06 -0700
committerGravatar GitHub <[email protected]>2023-04-20 18:56:06 -0700
commite820003a3bad42953499cacc3b70d3a8517bcad4 (patch)
tree8f6880710fad3a7300076a3104f8dacb05248807 /pydis_site
parentImplement grammar fix (diff)
parentMerge pull request #946 from python-discord/dependabot/pip/sentry-sdk-1.20.0 (diff)
Merge branch 'main' into staff-app-readme
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/api/views.py6
-rw-r--r--pydis_site/apps/content/resources/rules.md2
-rw-r--r--pydis_site/apps/resources/resources/python_graph_gallery.yaml17
3 files changed, 21 insertions, 4 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py
index 20431a61..54fbf809 100644
--- a/pydis_site/apps/api/views.py
+++ b/pydis_site/apps/api/views.py
@@ -149,9 +149,9 @@ class RulesView(APIView):
["english", "language"]
),
(
- "Do not provide or request help on projects that may break laws, "
- "breach terms of services, or are malicious or inappropriate.",
- ["infraction", "tos", "breach", "malicious", "inappropriate"]
+ "Do not provide or request help on projects that may violate terms of service, "
+ "or that may be deemed inappropriate, malicious, or illegal.",
+ ["infraction", "tos", "breach", "malicious", "inappropriate", "illegal"]
),
(
"Do not post unapproved advertising.",
diff --git a/pydis_site/apps/content/resources/rules.md b/pydis_site/apps/content/resources/rules.md
index 803c8041..a0bdb38d 100644
--- a/pydis_site/apps/content/resources/rules.md
+++ b/pydis_site/apps/content/resources/rules.md
@@ -9,7 +9,7 @@ We have a small but strict set of rules on our server. Please read over them and
> 2. Follow the [Discord Community Guidelines](https://discordapp.com/guidelines) and [Terms of Service](https://discordapp.com/terms).
> 3. Respect staff members and listen to their instructions.
> 4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.
-> 5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
+> 5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
> 6. Do not post unapproved advertising.
> 7. Keep discussions relevant to the channel topic. Each channel's description tells you the topic.
> 8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
diff --git a/pydis_site/apps/resources/resources/python_graph_gallery.yaml b/pydis_site/apps/resources/resources/python_graph_gallery.yaml
new file mode 100644
index 00000000..b8aaeb4d
--- /dev/null
+++ b/pydis_site/apps/resources/resources/python_graph_gallery.yaml
@@ -0,0 +1,17 @@
+description: A collection of hundreds of charts made with Python with their associated reproducible code.
+name: Python Graph Gallery
+title_url: https://www.python-graph-gallery.com/
+urls:
+ - icon: branding/github
+ url: https://github.com/holtzy/The-Python-Graph-Gallery
+ color: black
+tags:
+ topics:
+ - data science
+ payment_tiers:
+ - free
+ difficulty:
+ - beginner
+ - intermediate
+ type:
+ - tutorial