Skip to content

Commit ec08935

Browse files
Add html.quick-dirty stringparam
1 parent 8a0b43c commit ec08935

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

xsl/pretext-html.xsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
103103
<!-- Or make a thin customization layer and use 'select' to provide overrides -->
104104
<!-- See more generally applicable parameters in pretext-common.xsl file -->
105105

106+
<!-- Fast HTML build that skips steps inessential for quickly checking -->
107+
<!-- changes to a document or a portion of a document. -->
108+
<!-- It will omit updating knowls, search index, theme, Runestone files,... -->
109+
<!-- When combined with param subtree, it will only process that subtree. -->
110+
<xsl:param name="html.quick-dirty" select="''"/>
111+
<xsl:variable name="b-quick-dirty" select="not($html.quick-dirty = '')"/>
112+
106113
<!-- CSS and Javascript Directories -->
107114
<!-- These are convenience variables to specify file prefixes -->
108115
<!-- consistently. If you know what you are doing you could -->

0 commit comments

Comments
 (0)