Skip to content

Commit 3be64ff

Browse files
HTML: add html.build-incremental stringparam
1 parent ce20f77 commit 3be64ff

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

xsl/pretext-html.xsl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,15 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
102102
<!-- Parameters -->
103103
<!-- Parameters to pass via xsltproc "stringparam" on command-line -->
104104
<!-- Or make a thin customization layer and use 'select' to provide overrides -->
105-
<!-- See more generally applicable parameters in pretext-common.xsl file -->
105+
<!-- See more generally applicable parameters in pretext-common.xsl file -->
106+
107+
<!-- Fast HTML build that skips steps not needed for quickly rebuilding -->
108+
<!-- individual pages in a document. -->
109+
<!-- Skips rebuilding search index, theme, Runestone manifest, -->
110+
<!-- moving external/generated files, ... -->
111+
<!-- Should produce clean diffs against pages from non-incremental build -->
112+
<xsl:param name="html.build-incremental" select="''"/>
113+
<xsl:variable name="b-build-incremental" select="$html.build-incremental = 'yes'"/>
106114

107115
<!-- CSS and Javascript Directories -->
108116
<!-- These are convenience variables to specify file prefixes -->

0 commit comments

Comments
 (0)