Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 | -12/+50 | |
| | ||||
* | Document additional markdown features. | 2021-03-29 | -0/+46 | |
| | | | | | 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 | -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-app | 2021-03-26 | -1/+741 | |
|\ | | | | | Dewikification - Create content app | |||
| * | Remove guide reference to `markdown2`. | 2021-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. | 2021-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`. | 2021-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. | 2021-03-24 | -12/+11 | |
| | | ||||
| * | Improve variable and key names for page utils. | 2021-03-24 | -7/+7 | |
| | | ||||
| * | Refactor common HTML into a base template. | 2021-03-24 | -108/+88 | |
| | | ||||
| * | Undo change to events app. | 2021-03-24 | -5/+5 | |
| | | | | | | | | Renaming `PageView` to `PagesView` was accidental and unnecessary. | |||
| * | Improve phrasing and wording of documentation. | 2021-03-24 | -9/+9 | |
| | | ||||
| * | Update guide to reflect changes in events app. | 2021-03-24 | -2/+90 | |
| | | | | | | | | Wording is also improved. | |||
| * | Propogate markdown language data to highlight.js | 2021-03-24 | -0/+1 | |
| | | ||||
| * | Rename `short_description` to `description`. | 2021-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. | 2021-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. | 2021-03-24 | -45/+37 | |
| | | ||||
| * | Simplify content app. | 2021-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`. | 2021-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. | 2021-03-23 | -7/+2 | |
| | | ||||
| * | Remove Github metadata feature. | 2021-03-23 | -106/+1 | |
| | | | | | | | | | | 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>. | 2021-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. | 2021-03-23 | -2/+3 | |
| | | | | | | | | Unifies the highlighting with the events app. | |||
| * | Merge branch 'dewikification' into guides-app | 2020-11-28 | -0/+346 | |
| |\ | ||||
| * | | Remove old templates | 2020-11-28 | -97/+0 | |
| | | | ||||
| * | | Update tests to match with recent unlimited subcategories changes | 2020-11-28 | -83/+148 | |
| | | | ||||
| * | | Change views __init__.py | 2020-11-28 | -3/+2 | |
| | | | ||||
| * | | Update utils to match with new unlimited categories system | 2020-11-28 | -29/+24 | |
| | | | ||||
| * | | Update template name of articles index | 2020-11-28 | -6/+2 | |
| | | | ||||
| * | | Fix linting in resources view | 2020-11-28 | -1/+1 | |
| | | | ||||
| * | | Update guides route in resources.html | 2020-11-28 | -1/+1 | |
| | | | ||||
| * | | Delete old article and category views | 2020-11-28 | -59/+0 | |
| | | | ||||
| * | | Change article.html to match with unlimited categories | 2020-11-28 | -3/+3 | |
| | | | ||||
| * | | Add testing subcategory and article into it | 2020-11-28 | -0/+8 | |
| | | | ||||
| * | | Update URLs to match new unlimited categories articles | 2020-11-28 | -7/+1 | |
| | | | ||||
| * | | Create categories and articles listing template | 2020-11-28 | -0/+62 | |
| | | | ||||
| * | | Create view for showing articles and categories | 2020-11-28 | -0/+75 | |
| | | | ||||
| * | | Move articles writing guide to PyDis guides directory | 2020-11-28 | -0/+2 | |
| | | | ||||
| * | | Add articles path to settings | 2020-11-22 | -0/+3 | |
| | | | ||||
| * | | Update content app views tests | 2020-10-30 | -9/+13 | |
| | | | ||||
| * | | Port views to TemplateView for content app | 2020-10-30 | -44/+40 | |
| | | | ||||
| * | | Use Django URL generation for category URL | 2020-10-30 | -1/+1 | |
| | | | ||||
| * | | Use just plain strings for site repo information | 2020-10-30 | -7/+4 | |
| | | | ||||
| * | | Use Django URL generation for content app templates | 2020-10-30 | -3/+3 | |
| | | | ||||
| * | | Remove unnecessary namespace from content app URLs include | 2020-10-30 | -2/+2 | |
| | | |