]> Lady’s Gitweb - Shushe/blobdiff - README.markdown
Support multiple destinations
[Shushe] / README.markdown
index 9b649d21df4eb381c71d27595bbe42c5646e6939..4671064e2238f8d323ca98ac44295464917ffa96 100644 (file)
@@ -569,6 +569,9 @@ This behaviour can be customized by setting the `@书社:destination`
 This attribute is read after parsing, but before transformation (where
   it is silently dropped).
 
+Multiple destinations can be provided if the same file should be output to multiple places.
+The file is retransformed each time, with the value of the `DESTINATION` global param set appropriately.
+
 ## Embedding
 
 Documents can be embedded in other documents using a `<书社:link>`
@@ -708,6 +711,9 @@ The following params are made available globally in parsers and
 
 In transforms, the following params are additionally available :⁠—
 
+- **`DESTINATION`:**
+  The destination being targeted by this transform.
+
 - **`书社:about`:**
   R·D·F metadata about all of the documents ⛩📰 书社 knows about.
   Use `$书社:about//*[@rdf:about=$IDENTIFIER]` to get the metadata for
This page took 0.310533 seconds and 4 git commands to generate.