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

Unified Diff: docs/usage/generate-static-files.md

Issue 29933596: Issue 5333 - Allow cms to generate relative pages (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Add documentation, remove extraneous global Created Nov. 9, 2018, 8:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cms/utils.py ('k') | tests/expected_output/common/de/translate-partial » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/usage/generate-static-files.md
===================================================================
--- a/docs/usage/generate-static-files.md
+++ b/docs/usage/generate-static-files.md
@@ -19,6 +19,11 @@
Here `www_directory` should be replaced by the path to your content directory.
`target_directory` is the path where static files will be placed.
+The files can also be generated with relative links instead of asolute links by
+using the `--relative` option:
+
+ python -m cms.bin.generate_static_pages www_directory target_directory --relative
+
Note: Localized versions of pages will only be generated when their translations
are at least 30% complete. (Measured by comparing the total number
of translatable strings on a page to the number of strings that have been
« no previous file with comments | « cms/utils.py ('k') | tests/expected_output/common/de/translate-partial » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld