Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix misleading coverage report. | 2021-05-14 | -1/+3 | |
| | | | | | | | | | | Due to an optimization in CPython that is amended in 3.10, coverage.py is sometimes unable to determine the coverage of continue statements in branches. See: https://github.com/nedbat/coveragepy/issues/198 Adding a no-op like a print or an empty statement would solve the coverage issue, but I've opted to just ignore the line. This should be tested and the line removed when the site is updated to Python 3.10. | |||
* | Merge branch main into dewikification | 2021-05-14 | -379/+1548 | |
| | ||||
* | Make tests expect 302. | 2021-05-14 | -1/+1 | |
| | | | | | It's what we're using now for dewikification redirects, this has to be changed back to 301 when we decide to make redirects permanent. | |||
* | Add privacy policy information and link. | 2021-05-13 | -0/+7 | |
| | | | | | This should be redirected to the notion page using our cloudflare worker. | |||
* | Add disclaimer for the redirects app. | 2021-05-13 | -0/+8 | |
| | ||||
* | Use temporary redirects for now. | 2021-05-13 | -1/+3 | |
| | ||||
* | Add content app redirects. | 2021-05-13 | -1/+75 | |
| | ||||
* | Add game jam pages redirects | 2021-05-03 | -0/+25 | |
| | ||||
* | Add HTTP 200 requirement to redirect survival tests | 2021-05-03 | -0/+2 | |
| | ||||
* | Add code jam 6 and 7 rules pages redirects | 2021-05-03 | -0/+10 | |
| | ||||
* | Add code jams helper pages redirects | 2021-05-03 | -0/+15 | |
| | ||||
* | Add note about prefix redirects | 2021-05-03 | -0/+1 | |
| | ||||
* | Add contributing pages prefix redirection and update tests | 2021-05-03 | -2/+22 | |
| | ||||
* | Implement hacky solution to allow prefix redirects | 2021-05-03 | -3/+8 | |
| | ||||
* | Migrate redirections from settings.py -> redirects.yaml | 2021-05-03 | -10/+65 | |
| | ||||
* | Update redirect app tests to take account recent changes | 2021-05-03 | -5/+28 | |
| | ||||
* | Migrate URLs generation from Django's own RedirectView -> CustomRedirectView | 2021-05-03 | -3/+11 | |
| | ||||
* | Add missing type annotation to get_redirect_url | 2021-05-03 | -1/+3 | |
| | ||||
* | Create custom RedirectView to support static arguments | 2021-05-03 | -0/+18 | |
| | ||||
* | Add dynamic tests for redirections | 2021-05-03 | -0/+20 | |
| | ||||
* | Include redirect app URLs to home app URLs | 2021-05-03 | -0/+1 | |
| | ||||
* | Create URLs file for redirection app that dynamically generates routes | 2021-05-03 | -0/+9 | |
| | ||||
* | Create basic redirect app | 2021-05-03 | -0/+7 | |
| | ||||
* | Increase padding between text and images in lists. | 2021-04-19 | -3/+3 | |
| | | | | | | This has a caveat in that there may be additional padding if the first thing in a list item is an image, but it is very unlikely in practice, so it's not handled for now. | |||
* | Fix unresolving links. | 2021-04-19 | -2/+2 | |
| | ||||
* | Implement miscellaneous review changes. | 2021-04-19 | -4/+4 | |
| | | | | Punctuation, icon usage... | |||
* | Add TOC to certain pages. | 2021-04-19 | -22/+9 | |
| | ||||
* | Update references to static images. | 2021-04-19 | -35/+38 | |
| | ||||
* | Improve markdown whitespace. | 2021-04-19 | -67/+69 | |
| | | | | | | | Replace double trailing whitespaces with <br> tags to prevent certain editors from automatically stripping the necessary space. Remove any extra single whitespace. | |||
* | Add missed Game Jam 2020 subpages. | 2021-04-15 | -1/+0 | |
| | ||||
* | Add miscellaneous pages and fixes. | 2021-04-15 | -2/+106 | |
| | ||||
* | Migrate Python Discord guides. | 2021-04-15 | -1/+381 | |
| | ||||
* | Migrate Python guides. | 2021-04-15 | -0/+574 | |
| | ||||
* | Avoid duplicate entries for page and category. | 2021-04-14 | -1/+1 | |
| | | | | | | | | We have to add another check since `subarticles` is actually a list of dictionaries and not a dictionary, so key overriding does not work. We want the categories to take precedence over the pages in case of future feature expansion involving showing sub-sub-articles. | |||
* | Migrate contributing pages. | 2021-04-14 | -0/+1733 | |
| | | | | | Some guides were updated to fit current PyCharm UI and to keep up with Seasonalbot -> Sir-Lancebot changes. | |||
* | Migrate root files. | 2021-04-13 | -0/+654 | |
| | ||||
* | Merge pull request #468 from python-discord/content-app-improvements | 2021-04-03 | -55/+217 | |
|\ | | | | | Dewikification: Content app improvements. | |||
| * | Use metadata titles in Sub-Articles dropdown. | 2021-04-02 | -39/+13 | |
| | | | | | | | | | | | | This allows us to keep filenames (thus URLs) as concise as possible, while having a more descriptive entry in the Sub-Articles dropdown for category pages. | |||
| * | Fix overriden PAGES_PATH in settings.py. | 2021-04-01 | -8/+9 | |
| | | | | | | | | | | This was causing mysterious 404s because while migrating a feature to dewikification, the same variable would be placed in the settings file. | |||
| * | Update misleading documentation. | 2021-04-01 | -1/+2 | |
| | | ||||
| * | Add a dropdown menu listing direct children. | 2021-04-01 | -1/+42 | |
| | | | | | | | | | | This only shows when the page is also a category, since regular pages have no children and regular categories already list their children. | |||
| * | Document defining a table of contents for a page. | 2021-04-01 | -0/+27 | |
| | | ||||
| * | Place category pages in the same directory as categories. | 2021-04-01 | -14/+11 | |
| | | ||||
| * | Add new tests to achieve full coverage. | 2021-03-29 | -6/+37 | |
| | | ||||
| * | Fix failing tests. | 2021-03-29 | -9/+26 | |
| | | ||||
| * | Allow adding a table of contents to a page. | 2021-03-29 | -3/+12 | |
| | | ||||
| * | Document additional markdown features. | 2021-03-29 | -0/+26 | |
| | | | | | | | | | | Adds image caption capabilities and documents missing HTML extensions available. | |||
| * | Allow displaying a page at a category path. | 2021-03-29 | -19/+58 | |
| | | | | | | | | | | | | This is useful for our /contributing pages, which have a main contributing page at /contributing but project pages under the same path, /contributing/bot etc. | |||
| * | Improve content page and listing metadata keys. | 2021-03-27 | -12/+11 | |
| | | | | | | | | | | | | | | Make category `title` consistent with page `title`. Simplify `icon` key, since there is no benefit to defining the icon class and the icon separately. Allow overriding the `icon` for category entries just like page entries. | |||
* | | Change typo postion -> position in Real Python podcast resource | 2021-03-30 | -1/+1 | |
| | | | | | | Co-authored-by: Kieran Siek <[email protected]> |