aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Add TOC to certain pages.Gravatar kosayoda2021-04-19-22/+9
|
* Update references to static images.Gravatar kosayoda2021-04-19-35/+38
|
* Replace WEBP images with their PNG counterparts.Gravatar kosayoda2021-04-19-0/+0
|
* Improve markdown whitespace.Gravatar kosayoda2021-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.
* Remove duplicate images.Gravatar kosayoda2021-04-15-0/+0
|
* Add missed Game Jam 2020 subpages.Gravatar kosayoda2021-04-15-1/+207
|
* Add miscellaneous pages and fixes.Gravatar kosayoda2021-04-15-3/+107
|
* Add Python Discord guides assets.Gravatar kosayoda2021-04-15-0/+0
|
* Migrate Python Discord guides.Gravatar kosayoda2021-04-15-3/+382
|
* Add Python guide assets.Gravatar kosayoda2021-04-15-0/+0
|
* Migrate Python guides.Gravatar kosayoda2021-04-15-0/+574
|
* Avoid duplicate entries for page and category.Gravatar kosayoda2021-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.
* Add contributing guides assets.Gravatar kosayoda2021-04-14-0/+0
|
* Migrate contributing pages.Gravatar kosayoda2021-04-14-0/+1733
| | | | | Some guides were updated to fit current PyCharm UI and to keep up with Seasonalbot -> Sir-Lancebot changes.
* Use the more consistent highlight.Gravatar kosayoda2021-04-13-2/+2
| | | | | We don't need ReasonML support, and the reasonable theme has a really ugly neon parameter color.
* Migrate root files.Gravatar kosayoda2021-04-13-0/+654
|
* Merge pull request #468 from python-discord/content-app-improvementsGravatar Kieran Siek2021-04-03-71/+322
|\ | | | | Dewikification: Content app improvements.
| * Use metadata titles in Sub-Articles dropdown.Gravatar kosayoda2021-04-02-43/+15
| | | | | | | | | | | | 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.Gravatar kosayoda2021-04-01-12/+14
| | | | | | | | | | 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.Gravatar kosayoda2021-04-01-1/+2
| |
| * Allow clicking outside the dropdown to hide it.Gravatar kosayoda2021-04-01-3/+11
| |
| * Add a dropdown menu listing direct children.Gravatar kosayoda2021-04-01-1/+75
| | | | | | | | | | 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.Gravatar kosayoda2021-04-01-0/+27
| |
| * Place category pages in the same directory as categories.Gravatar kosayoda2021-04-01-14/+11
| |
| * Add new tests to achieve full coverage.Gravatar kosayoda2021-03-29-6/+37
| |
| * Fix failing tests.Gravatar kosayoda2021-03-29-9/+26
| |
| * Allow adding a table of contents to a page.Gravatar kosayoda2021-03-29-12/+50
| |
| * Document additional markdown features.Gravatar kosayoda2021-03-29-0/+46
| | | | | | | | | | Adds image caption capabilities and documents missing HTML extensions available.
| * Allow displaying a page at a category path.Gravatar kosayoda2021-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.Gravatar kosayoda2021-03-27-15/+14
| | | | | | | | | | | | | | 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 resourceGravatar ks1292021-03-30-1/+1
| | | | | | Co-authored-by: Kieran Siek <[email protected]>
* | Add missing dot to end of books category infoGravatar ks1292021-03-30-1/+1
| | | | | | Co-authored-by: Kieran Siek <[email protected]>
* | Merge branch 'dewikification' into resources-listsGravatar ks1292021-03-30-1/+2426
|\|
| * Merge pull request #393 from ks129/guides-appGravatar Kieran Siek2021-03-26-1/+741
| |\ | | | | | | Dewikification - Create content app
| | * Remove guide reference to `markdown2`.Gravatar kosayoda2021-03-26-3/+1
| | | | | | | | | | | | | | | | | | Now that we use a separate library for frontmatter (which uses pyyaml), we can simplify the guide and remove the reference to the old markdown library.
| | * Refactor content app tests.Gravatar kosayoda2021-03-25-289/+285
| | | | | | | | | | | | | | | | | | The tests uses pyfakefs to simulate a fake filesystem that is reused over the content app tests. Test coverage for the app is brought to 100%.
| | * Replace `markdown2` with `markdown` and `python-frontmatter`.Gravatar kosayoda2021-03-24-35/+106
| | | | | | | | | | | | | | | | | | This allows us to properly escape codeblocks within markdown, permalink to headers on a page, and decouples getting metadata from a file and getting generated HTML from the Markdown content.
| | * Simplify pathlib code and specify file encoding.Gravatar kosayoda2021-03-24-12/+11
| | |
| | * Improve variable and key names for page utils.Gravatar kosayoda2021-03-24-7/+7
| | |
| | * Refactor common HTML into a base template.Gravatar kosayoda2021-03-24-108/+88
| | |
| | * Undo change to events app.Gravatar kosayoda2021-03-24-5/+5
| | | | | | | | | | | | Renaming `PageView` to `PagesView` was accidental and unnecessary.
| | * Improve phrasing and wording of documentation.Gravatar kosayoda2021-03-24-9/+9
| | |
| | * Update guide to reflect changes in events app.Gravatar kosayoda2021-03-24-2/+90
| | | | | | | | | | | | Wording is also improved.
| | * Propogate markdown language data to highlight.jsGravatar kosayoda2021-03-24-0/+1
| | |
| | * Rename `short_description` to `description`.Gravatar kosayoda2021-03-24-86/+6
| | | | | | | | | | | | | | | Given that there is no "long description", just `description` conveys the same information with brevity.
| | * Fix content columns when there is no sidebar.Gravatar kosayoda2021-03-24-15/+18
| | | | | | | | | | | | | | | If the `relevant_links` field is not provided in the markdown, do not restrict contents to 2/3 columns.
| | * Fix content app tests.Gravatar kosayoda2021-03-24-45/+37
| | |
| | * Simplify content app.Gravatar kosayoda2021-03-23-91/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than having two views for the base page and all other pages, all pages now use the same view. The view context handler is simplified to take advantage of pathlib features. The markdown folder is now /content/resources/* rather than /content/resources/content/*, as the latter is unnecessary nesting.
| | * Rename `articles` to `pages`.Gravatar kosayoda2021-03-23-163/+164
| | | | | | | | | | | | | | | | | | Articles was a good name, but we want an `articles` category in the future. `/pages/guides/` and `/pages/articles/` are clearer in name than `/articles/guides/` and `/articles/articles/`.
| | * Simplify relevant_links configuration in markdown.Gravatar kosayoda2021-03-23-7/+2
| | |