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

Side by Side Diff: docs/usage/generate-static-files.md

Issue 29977571: Issue 7201 - Add links to CMS documentation (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Address comments on PS1 Created Jan. 14, 2019, 3:33 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/content/templates.md ('k') | docs/usage/standalone-test-server.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Generating static files # 1 # Generating static files #
2 2
3 On your production server you should convert the content directory into static 3 On your production server you should convert the content directory into static
4 files. To do that you need: 4 files. To do that you need:
5 5
6 * Python 2.7 6 * Python 2.7
7 * [Jinja2](http://jinja.pocoo.org/) and 7 * [Jinja2](http://jinja.pocoo.org/) and
8 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by 8 [Markdown](https://pypi.python.org/pypi/Markdown) modules (can be installed by
9 running `easy_install Jinja2 Markdown` from the command line) 9 running `easy_install Jinja2 Markdown` from the command line)
10 * A current copy of the 10 * A current copy of the
(...skipping 12 matching lines...) Expand all
23 using the `--relative` option: 23 using the `--relative` option:
24 24
25 python -m cms.bin.generate_static_pages www_directory target_directory --rel ative 25 python -m cms.bin.generate_static_pages www_directory target_directory --rel ative
26 26
27 Note: Localized versions of pages will only be generated when their translations 27 Note: Localized versions of pages will only be generated when their translations
28 are at least 30% complete. (Measured by comparing the total number 28 are at least 30% complete. (Measured by comparing the total number
29 of translatable strings on a page to the number of strings that have been 29 of translatable strings on a page to the number of strings that have been
30 translated for a given locale.) This is different from the test server which 30 translated for a given locale.) This is different from the test server which
31 will include less complete translations. 31 will include less complete translations.
32 32
33 -----
33 Prev: [Generating the standalone test server](standalone-test-server.md) | Up: [ Home](../../README.md) | Next: [Syncing translations](syncing-translations.md) 34 Prev: [Generating the standalone test server](standalone-test-server.md) | Up: [ Home](../../README.md) | Next: [Syncing translations](syncing-translations.md)
OLDNEW
« no previous file with comments | « docs/content/templates.md ('k') | docs/usage/standalone-test-server.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld