aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge pull request #393 from ks129/guides-appGravatar Kieran Siek2021-03-26-184/+1055
|\ | | | | 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-290/+295
| | | | | | | | | | | | 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-41/+146
| | | | | | | | | | | | 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
| |
| * Remove Github metadata feature.Gravatar kosayoda2021-03-23-328/+283
| | | | | | | | | | This feature is still under implementation debate, so it will be further discussed in another issue and implemeneted in a future PR.
| * Style <pre> tag backgrounds same as <code>.Gravatar kosayoda2021-03-23-0/+9
| | | | | | | | | | This makes it consistent with the django-wiki version of the code blocks, which looks neater.
| * Update highlight.js script and use one dark style.Gravatar kosayoda2021-03-23-2/+3
| | | | | | | | Unifies the highlighting with the events app.
| * Merge branch 'dewikification' into guides-appGravatar ks1292020-11-28-0/+346
| |\
| * | Remove old templatesGravatar ks1292020-11-28-97/+0
| | |
| * | Update tests to match with recent unlimited subcategories changesGravatar ks1292020-11-28-83/+148
| | |
| * | Change views __init__.pyGravatar ks1292020-11-28-3/+2
| | |
| * | Update utils to match with new unlimited categories systemGravatar ks1292020-11-28-29/+24
| | |
| * | Update template name of articles indexGravatar ks1292020-11-28-6/+2
| | |
| * | Fix linting in resources viewGravatar ks1292020-11-28-1/+1
| | |
| * | Update guides route in resources.htmlGravatar ks1292020-11-28-1/+1
| | |
| * | Delete old article and category viewsGravatar ks1292020-11-28-59/+0
| | |
| * | Change article.html to match with unlimited categoriesGravatar ks1292020-11-28-3/+3
| | |
| * | Add testing subcategory and article into itGravatar ks1292020-11-28-0/+8
| | |
| * | Update URLs to match new unlimited categories articlesGravatar ks1292020-11-28-7/+1
| | |
| * | Create categories and articles listing templateGravatar ks1292020-11-28-0/+62
| | |
| * | Create view for showing articles and categoriesGravatar ks1292020-11-28-0/+75
| | |
| * | Move articles writing guide to PyDis guides directoryGravatar ks1292020-11-28-0/+2
| | |
| * | Add articles path to settingsGravatar ks1292020-11-22-0/+3
| | |
| * | Update content app views testsGravatar ks1292020-10-30-9/+13
| | |
| * | Port views to TemplateView for content appGravatar ks1292020-10-30-44/+40
| | |
| * | Use Django URL generation for category URLGravatar ks1292020-10-30-1/+1
| | |
| * | Use just plain strings for site repo informationGravatar ks1292020-10-30-7/+4
| | |
| * | Use Django URL generation for content app templatesGravatar ks1292020-10-30-3/+3
| | |
| * | Remove unnecessary namespace from content app URLs includeGravatar ks1292020-10-30-2/+2
| | |
| * | Let Django generate URL for guides section of resources indexGravatar ks1292020-10-30-1/+1
| | |
| * | Merge remote-tracking branch 'up/dewikification' into guides-appGravatar ks1292020-10-30-2028/+305
| |\ \
| * | | Cover fetching article GitHub information with testsGravatar ks1292020-10-06-3/+47
| | | |
| * | | Rename last guides test to articles testsGravatar ks1292020-10-06-5/+5
| | | |
| * | | Add information about icons to articles writing guideGravatar ks1292020-10-06-0/+2
| | | |
| * | | Implement fetching contributors and last modification date from GitHubGravatar ks1292020-10-06-2/+57
| | | |