Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: README.md

Issue 29628724: Issue 5521 - Restructure CMS documentation to make it easier to use and extend (Closed) Base URL: https://hg.adblockplus.org/cms
Left Patch Set: Created Dec. 4, 2017, 9:59 a.m.
Right Patch Set: Add initial API docs Created Dec. 13, 2017, 11:08 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | docs/api/filters.md » ('j') | docs/content/includes.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # CMS # 1 # CMS #
2 2
3 We use this CMS for [adblockplus.org](https://github.com/adblockplus/web.adblock plus.org/) 3 We use this CMS for [adblockplus.org](https://github.com/adblockplus/web.adblock plus.org/)
4 and related websites. It converts a directory with content data into static 4 and related websites. It converts a directory with content data into static
5 files. You are free to use it for other projects but please keep in mind that we 5 files. You are free to use it for other projects but please keep in mind that we
6 make no stability guarantees whatsoever and might change functionality any time. 6 make no stability guarantees whatsoever and might change functionality any time.
7 7
8 ## Getting started ## 8 ## Getting started ##
ire 2017/12/04 10:17:13 This change is opinionated. I moved everything to
9 9
10 The easiest way to get started is to run a test server. The test server will 10 The easiest way to get started is to run a test server. The test server will
11 convert your content directory on the fly, your changes will become visible 11 convert your content directory on the fly, your changes will become visible
12 immediately. To run it you need: 12 immediately. To run it you need:
13 13
14 * Python 2.7 14 * Python 2.7
15 * [Jinja2](http://jinja.pocoo.org/) and 15 * [Jinja2](http://jinja.pocoo.org/) and
16 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by 16 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by
17 running `easy_install Jinja2 Markdown` from the command line) 17 running `easy_install Jinja2 Markdown` from the command line)
18 * A current copy of the 18 * A current copy of the
(...skipping 17 matching lines...) Expand all
36 There you should generate static files as explained below. 36 There you should generate static files as explained below.
37 37
38 ## Documentation ## 38 ## Documentation ##
39 39
40 - How to use 40 - How to use
41 - [Running the test server](docs/usage/test-server.md) 41 - [Running the test server](docs/usage/test-server.md)
42 - [Generating the standalone test server](docs/usage/standalone-test-server. md) 42 - [Generating the standalone test server](docs/usage/standalone-test-server. md)
43 - [Generating static files](docs/usage/generate-static-files.md) 43 - [Generating static files](docs/usage/generate-static-files.md)
44 - [Syncing translations](docs/usage/syncing-translations.md) 44 - [Syncing translations](docs/usage/syncing-translations.md)
45 - Content structure 45 - Content structure
46 - [Configuration (`settings.ini`)](docs/structure/settings.md) 46 - [Configuration (`settings.ini`)](docs/content/settings.md)
Vasily Kuznetsov 2017/12/12 15:35:24 I think I prefer to call the folder `docs/content`
ire 2017/12/13 11:10:24 I agree. Done.
47 - [Custom Jinja2 global functions and variables (`globals`)](docs/structure/ globals.md) 47 - [Custom Jinja2 global functions and variables (`globals`)](docs/content/gl obals.md)
48 - [Custom Jinja2 filters (`filters`)](docs/structure/filters.md) 48 - [Custom Jinja2 filters (`filters`)](docs/content/filters.md)
Vasily Kuznetsov 2017/12/12 15:35:25 This link is broken, the file is called `filter.md
ire 2017/12/13 11:10:23 Done.
49 - [Localization files (`locales`)](docs/structure/locales.md) 49 - [Localization files (`locales`)](docs/content/locales.md)
50 - [Page layout templates (`templates`)](docs/structure/templates.md) 50 - [Page layout templates (`templates`)](docs/content/templates.md)
51 - [Various include files (`includes`)](docs/structure/includes.md) 51 - [Various include files (`includes`)](docs/content/includes.md)
52 - [User-visible pages (`pages`)](docs/structure/pages.md) 52 - [User-visible pages (`pages`)](docs/content/pages.md)
53 - [Static content (`static`)](docs/structure/static.md) 53 - [Static content (`static`)](docs/content/static.md)
54 - API 54 - API
ire 2017/12/04 10:17:13 In the future I hope for the API documentation to
Vasily Kuznetsov 2017/12/12 15:35:24 Yeah, we need API documentation. Perhaps the part
ire 2017/12/13 11:10:23 I like this idea. I arranged this into 3 files -
55 - [Variables](docs/api/variables.md)
56 - [Custom filters](docs/api/filters.md)
57 - [Global functions](docs/api/functions.md)
LEFTRIGHT

Powered by Google App Engine
This is Rietveld