aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py (unfollow)
Commit message (Collapse)AuthorLines
2021-03-25Refactor content app tests.Gravatar kosayoda-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%.
2021-03-24Replace `markdown2` with `markdown` and `python-frontmatter`.Gravatar kosayoda-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.
2021-03-24Simplify pathlib code and specify file encoding.Gravatar kosayoda-12/+11
2021-03-24Improve variable and key names for page utils.Gravatar kosayoda-7/+7
2021-03-24Refactor common HTML into a base template.Gravatar kosayoda-108/+88
2021-03-24Undo change to events app.Gravatar kosayoda-5/+5
Renaming `PageView` to `PagesView` was accidental and unnecessary.
2021-03-24Improve phrasing and wording of documentation.Gravatar kosayoda-9/+9
2021-03-24Update guide to reflect changes in events app.Gravatar kosayoda-2/+90
Wording is also improved.
2021-03-24Propogate markdown language data to highlight.jsGravatar kosayoda-0/+1
2021-03-24Rename `short_description` to `description`.Gravatar kosayoda-86/+6
Given that there is no "long description", just `description` conveys the same information with brevity.
2021-03-24Fix content columns when there is no sidebar.Gravatar kosayoda-15/+18
If the `relevant_links` field is not provided in the markdown, do not restrict contents to 2/3 columns.
2021-03-24Fix content app tests.Gravatar kosayoda-45/+37
2021-03-23Simplify content app.Gravatar kosayoda-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.
2021-03-23Rename `articles` to `pages`.Gravatar kosayoda-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/`.
2021-03-23Simplify relevant_links configuration in markdown.Gravatar kosayoda-7/+2
2021-03-23Remove Github metadata feature.Gravatar kosayoda-328/+283
This feature is still under implementation debate, so it will be further discussed in another issue and implemeneted in a future PR.
2021-03-23Style <pre> tag backgrounds same as <code>.Gravatar kosayoda-0/+9
This makes it consistent with the django-wiki version of the code blocks, which looks neater.
2021-03-23Update highlight.js script and use one dark style.Gravatar kosayoda-2/+3
Unifies the highlighting with the events app.
2021-03-22Style <pre> tag backgrounds the same as <code>.Gravatar kosayoda-0/+9
This makes it consistent with the django-wiki version of the code blocks, which looks neater.
2021-03-22Fix event content columns when there is no sidebar.Gravatar kosayoda-50/+60
Prevents page contents of events pages from being narrower when there is no sidebar to fill the space.