aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Remove obsolete question from FAQGravatar Daniel Gu2023-06-25-6/+0
|
* Fix broken links in the contributing guide. (#1002)Gravatar Qwerty-1332023-06-22-2/+2
|
* Update code for new linter rulesGravatar Johannes Christ2023-06-21-2/+2
| | | | | | Ignore RUF012, which suggests to add typing.ClassVar to "mutable" class variables (in our case, it complained about the ordering attribute of the `Meta` class within models) - annotating this would be a bit noisy.
* Merge branch 'main' into subclassing_botGravatar Xithrius2023-06-10-3/+1
|\
| * Remove mentions of there being multiple snekbox containers (#988)Gravatar ChrisJL2023-05-30-3/+1
| | | | | | | | | | With https://github.com/python-discord/bot/pull/2618 there will only be 1 snekbox container, that runs the latest verison of snekbox. Supporting multiple versions of snekbox will be covered by https://github.com/python-discord/snekbox/issues/158 where a single instance of snekbox will nativly support multiple Python verisons.
* | remove .md for hyperlinksGravatar RohanJnr2023-05-17-2/+2
| |
* | add reference link for overriding context and fix link for subclassing botGravatar RohanJnr2023-05-17-1/+1
| |
* | add reference link for overriding context and fix link for subclassing botGravatar RohanJnr2023-05-17-1/+1
| |
* | remove redundant infoGravatar RohanJnr2023-05-17-1/+1
| |
* | Merge branch 'subclassing_bot' of github.com:Diabolical5777/site into ↵Gravatar RohanJnr2023-05-17-63/+63
|\ \ | | | | | | | | | subclassing_bot
| * | Merge branch 'main' into subclassing_botGravatar Rohan Reddy Alleti2023-05-17-63/+63
| |\|
| | * Use the new datetime.UTC alias over datetime.timezone.utcGravatar Chris Lovering2023-05-13-62/+62
| | |
| | * Specify file encoding so tests pass on windowsGravatar Chris Lovering2023-05-13-1/+1
| | | | | | | | | | | | This file has non-cp1252 characters, which is the default on windows, so fails to read the file.
* | | satisfy linterGravatar RohanJnr2023-05-17-1/+1
|/ /
* | give a simple introduction to cogs and example linksGravatar RohanJnr2023-05-17-1/+1
| |
* | remove typoGravatar RohanJnr2023-05-17-2/+1
| |
* | highlight 'Bot' in the description with backticks.Gravatar RohanJnr2023-05-17-1/+1
| |
* | correct return type annotation for get_launch_time_str functionGravatar RohanJnr2023-05-17-1/+2
| |
* | use launch_time attribute in the example method and commandGravatar RohanJnr2023-05-17-10/+10
| |
* | condesed the 2 examples in 1 and added additional comments for reference.Gravatar RohanJnr2023-05-16-35/+35
| |
* | Merge branch 'main' into subclassing_botGravatar Rohan Reddy Alleti2023-05-14-3184/+8248
|\|
| * Fix psycopg3 compatibility in metricityGravatar Johannes Christ2023-05-12-7/+8
| |
| * Merge branch 'main' into django-rules-ruffGravatar Xithrius2023-05-11-1/+9
| |\
| | * Do not duplicate "Edit on GitHub" link for tagsGravatar Johannes Christ2023-05-10-1/+9
| | | | | | | | | | | | Closes #963.
| * | Add Django-specific rules for ruffGravatar Johannes Christ2023-05-10-36/+36
| |/
| * Switch to ruff for lintingGravatar Johannes Christ2023-05-10-216/+218
| |
| * Merge branch 'main' into update-sir-lancebot-contrib-guideGravatar shtlrs2023-05-07-309/+678
| |\
| | * Fix extra whitespace from buttonGravatar hedy2023-05-06-2/+2
| | |
| | * Hide edit-on-github link on small screensGravatar Johannes Christ2023-05-06-0/+6
| | |
| | * Improve docstring for page_src_url template filterGravatar hedy2023-05-06-0/+5
| | |
| | * Simplify line in page_src_url template filterGravatar hedy2023-05-06-4/+1
| | |
| | * Put 'Edit on GitHub' on breadcrum row with Sub-Articles dropdownGravatar hedy2023-05-06-7/+17
| | |
| | * Use content articles source url in django.conf.settingsGravatar hedy2023-05-06-1/+7
| | |
| | * Edit on GitHub link instead of buttonGravatar hedy2023-05-06-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Before the title - Aligned left - more mobile-friendly - Simpler page structure - I personally don't think it makes sense for a simple link to a page's source be a button. Plus, it's similar to the style of other docs like VS Code
| | * feat: Edit on GitHub button for content articlesGravatar Hedy Li2023-05-06-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | - Using `if pages` to check whether the page is an article or category doesn't work for /pages/guides - I still need to modify the styling and position of the button a bit - Should probably just use a static method and put src_url as context instead of having a template tag
| | * Update Code Jam 2022 & Events homepage (#952)Gravatar r4ge2023-04-25-7/+280
| | | | | | | | | | | | | | | * Update Code Jam 2022 and events homepage to show that it has ended. * Remove strike through for important dates in CJ.
| | * Merge branch 'main' into Simplify-the-bot-contributing-guideGravatar Amrou Bellalouna2023-04-22-3/+7
| | |\
| | | * Make unittests independent of GitHub (#948)Gravatar Johannes Christ2023-04-22-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem where running the unit tests successively a lot would result in 403 ratelimit exceeded errors being thrown due to the GitHub API being called by the app. Fixes #918 Co-authored-by: wookie184 <[email protected]>
| | * | Seperate manual configuration out of the main bot contributing guideGravatar Chris Lovering2023-04-22-288/+257
| | |/ | | | | | | | | | Also update the guide to be far simpler, and less words to read for our contributors to get setup.
| | * Crosscheck rules between API and static rulesGravatar Johannes Christ2023-04-21-2/+40
| | |
| | * Merge branch 'main' into staff-app-readmeGravatar Xithrius2023-04-20-4/+21
| | |\
| | | * Merge branch 'main' into mainGravatar wookie1842023-04-20-4/+4
| | | |\
| | | | * update rule 5 (#943)Gravatar Amrou Bellalouna2023-04-16-3/+3
| | | | |
| | | * | Add Python Graph Gallery to the ResourcesGravatar etrotta2023-04-15-0/+17
| | | | |
| | * | | Implement grammar fixGravatar Johannes Christ2023-04-21-1/+1
| | | | | | | | | | | | | | | Co-authored-by: wookie184 <[email protected]>
| | * | | Add a README to the staff appGravatar Johannes Christ2023-04-16-5/+21
| | |/ / | | | | | | | | | | | | Plus minor refactorings
| * | | update forgotten mentions of sir-lancebot-commands channelGravatar shtlrs2023-05-07-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | This also updates: - docker compose commands - use fake redis env var
| * | | remove unused cycle_frequency env varGravatar shtlrs2023-05-07-1/+0
| | | |
| * | | remove defaults columnGravatar shtlrs2023-05-07-17/+17
| | | | | | | | | | | | | | | | fix sir lancebot pg env var name
| * | | update all env var namesGravatar shtlrs2023-05-06-62/+52
| | |/ | |/|