Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ source =
pydis_site/apps/api
pydis_site/apps/home
pydis_site/apps/staff
pydis_site/apps/wiki
omit =
*/migrations/*
*/admin.py
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ rethinkdb_data/
# Node modules
node_modules/

media/
pip-wheel-metadata/
staticfiles/

Expand Down
21 changes: 0 additions & 21 deletions LICENSE-SimpleMDE

This file was deleted.

2 changes: 0 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ psycopg2-binary = "~=2.8"
django-simple-bulma = "~=1.2"
whitenoise = "~=5.0"
requests = "~=2.21"
pygments = "~=2.3.1"
wiki = "~=0.6.0"
pyyaml = "~=5.1"
pyuwsgi = {version = "~=2.0", sys_platform = "!='win32'"}
django-allauth = "~=0.41"
Expand Down
449 changes: 153 additions & 296 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ Make sure you add the following to your hosts file:
127.0.0.1 api.pythondiscord.local
127.0.0.1 staff.pythondiscord.local
127.0.0.1 admin.pythondiscord.local
127.0.0.1 wiki.pythondiscord.local
127.0.0.1 ws.pythondiscord.local
```
When trying to access the site, you'll be using the domains above instead of the usual `localhost:8000`.

Expand Down
5 changes: 0 additions & 5 deletions pydis_site/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
from wiki.plugins.macros.mdx import toc

# Remove the toc header prefix. There's no option for this, so we gotta monkey patch it.
toc.HEADER_ID_PREFIX = ''

# Empty list of validators for Allauth to ponder over. This is referred to in settings.py
# by a string because Allauth won't let us just give it a list _there_, we have to point
# at a list _somewhere else_ instead.
Expand Down
2 changes: 1 addition & 1 deletion pydis_site/apps/home/templatetags/extra_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def starts_with(value: str, arg: str) -> bool:
Usage:

```django
{% if request.url | starts_with:"/wiki" %}
{% if request.url | starts_with:"/events" %}
...
{% endif %}
```
Expand Down
132 changes: 0 additions & 132 deletions pydis_site/apps/home/templatetags/wiki_extra.py

This file was deleted.

Loading