@@ -31,7 +31,7 @@ <h1 class="title">Module <code>tff.convert.helpers</code></h1>
3131< details class ="source ">
3232< summary >
3333< span > Expand source code</ span >
34- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L1-L883 " class ="git-link "> Browse git</ a >
34+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L1-L887 " class ="git-link "> Browse git</ a >
3535</ summary >
3636< pre > < code class ="python "> import re
3737from textwrap import dedent
@@ -419,11 +419,11 @@ <h1 class="title">Module <code>tff.convert.helpers</code></h1>
419419 "latest",
420420 ),
421421 "sourceBase": (
422- ( "empty: refDir/{kind.lower()};\n\t\t" " any directory of choice.") ,
422+ "empty: refDir/{kind.lower()};\n\t\t any directory of choice.",
423423 "",
424424 ),
425425 "reportDir": (
426- ( "empty: refDir/report;\n\t\t" " any directory of choice.") ,
426+ "empty: refDir/report;\n\t\t any directory of choice.",
427427 "",
428428 ),
429429 kind.lower(): (
@@ -435,6 +435,10 @@ <h1 class="title">Module <code>tff.convert.helpers</code></h1>
435435 ),
436436 "latest",
437437 ),
438+ f"{kind.lower()}Dir": (
439+ "empty: {kind.lower()};\n\t\t any directory of choice.",
440+ kind.lower(),
441+ ),
438442 "validate": (
439443 "Whether to validate the XML input",
440444 True,
@@ -1050,7 +1054,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
10501054< details class ="source ">
10511055< summary >
10521056< span > Expand source code</ span >
1053- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L265-L340 " class ="git-link "> Browse git</ a >
1057+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L265-L340 " class ="git-link "> Browse git</ a >
10541058</ summary >
10551059< pre > < code class ="python "> def checkModel(kind, thisModel, verbose):
10561060 modelDefault = (
@@ -1138,7 +1142,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
11381142< details class ="source ">
11391143< summary >
11401144< span > Expand source code</ span >
1141- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L858-L883 " class ="git-link "> Browse git</ a >
1145+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L862-L887 " class ="git-link "> Browse git</ a >
11421146</ summary >
11431147< pre > < code class ="python "> def getImageLocations(app, prod, silent):
11441148 repoLocation = app.repoLocation
@@ -1176,7 +1180,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
11761180< details class ="source ">
11771181< summary >
11781182< span > Expand source code</ span >
1179- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L805-L855 " class ="git-link "> Browse git</ a >
1183+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L809-L859 " class ="git-link "> Browse git</ a >
11801184</ summary >
11811185< pre > < code class ="python "> def getImageSizes(scanRefDir, doCovers, silent):
11821186 sizeInfo = {}
@@ -1239,7 +1243,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
12391243< details class ="source ">
12401244< summary >
12411245< span > Expand source code</ span >
1242- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L735-L802 " class ="git-link "> Browse git</ a >
1246+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L739-L806 " class ="git-link "> Browse git</ a >
12431247</ summary >
12441248< pre > < code class ="python "> def getPageInfo(pageInfoDir, zoneBased, manifestLevel):
12451249 if pageInfoDir is None:
@@ -1319,7 +1323,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
13191323< details class ="source ">
13201324< summary >
13211325< span > Expand source code</ span >
1322- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L222-L237 " class ="git-link "> Browse git</ a >
1326+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L222-L237 " class ="git-link "> Browse git</ a >
13231327</ summary >
13241328< pre > < code class ="python "> def getWhites(text):
13251329 match = W_BEFORE.match(text)
@@ -1392,7 +1396,7 @@ <h2 id="parameters">Parameters</h2>
13921396< details class ="source ">
13931397< summary >
13941398< span > Expand source code</ span >
1395- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L606-L732 " class ="git-link "> Browse git</ a >
1399+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L610-L736 " class ="git-link "> Browse git</ a >
13961400</ summary >
13971401< pre > < code class ="python "> def lookupSource(cv, cur, tokenAsSlot, specs):
13981402 """Looks up information from the current XML stack.
@@ -1531,7 +1535,7 @@ <h2 id="parameters">Parameters</h2>
15311535< details class ="source ">
15321536< summary >
15331537< span > Expand source code</ span >
1534- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L343-L359 " class ="git-link "> Browse git</ a >
1538+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L343-L359 " class ="git-link "> Browse git</ a >
15351539</ summary >
15361540< pre > < code class ="python "> def matchModel(properties, tag, atts):
15371541 if tag == properties["element"]:
@@ -1560,7 +1564,7 @@ <h2 id="parameters">Parameters</h2>
15601564< details class ="source ">
15611565< summary >
15621566< span > Expand source code</ span >
1563- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L258-L262 " class ="git-link "> Browse git</ a >
1567+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L258-L262 " class ="git-link "> Browse git</ a >
15641568</ summary >
15651569< pre > < code class ="python "> def repTokens(tokens):
15661570 text = []
@@ -1577,7 +1581,7 @@ <h2 id="parameters">Parameters</h2>
15771581< details class ="source ">
15781582< summary >
15791583< span > Expand source code</ span >
1580- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L362-L413 " class ="git-link "> Browse git</ a >
1584+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L362-L417 " class ="git-link "> Browse git</ a >
15811585</ summary >
15821586< pre > < code class ="python "> def setUp(kind):
15831587 helpText = f"""
@@ -1604,11 +1608,11 @@ <h2 id="parameters">Parameters</h2>
16041608 "latest",
16051609 ),
16061610 "sourceBase": (
1607- ( "empty: refDir/{kind.lower()};\n\t\t" " any directory of choice.") ,
1611+ "empty: refDir/{kind.lower()};\n\t\t any directory of choice.",
16081612 "",
16091613 ),
16101614 "reportDir": (
1611- ( "empty: refDir/report;\n\t\t" " any directory of choice.") ,
1615+ "empty: refDir/report;\n\t\t any directory of choice.",
16121616 "",
16131617 ),
16141618 kind.lower(): (
@@ -1620,6 +1624,10 @@ <h2 id="parameters">Parameters</h2>
16201624 ),
16211625 "latest",
16221626 ),
1627+ f"{kind.lower()}Dir": (
1628+ "empty: {kind.lower()};\n\t\t any directory of choice.",
1629+ kind.lower(),
1630+ ),
16231631 "validate": (
16241632 "Whether to validate the XML input",
16251633 True,
@@ -1641,7 +1649,7 @@ <h2 id="parameters">Parameters</h2>
16411649< details class ="source ">
16421650< summary >
16431651< span > Expand source code</ span >
1644- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L240-L255 " class ="git-link "> Browse git</ a >
1652+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L240-L255 " class ="git-link "> Browse git</ a >
16451653</ summary >
16461654< pre > < code class ="python "> def tokenize(line):
16471655 tokens = []
@@ -1669,7 +1677,7 @@ <h2 id="parameters">Parameters</h2>
16691677< details class ="source ">
16701678< summary >
16711679< span > Expand source code</ span >
1672- < a href ="https://github.com/annotation/text-fabric-factory/blob/a566b81552e55871f7f91c401da7bf599863174e /tff/convert/helpers.py#L416-L603 " class ="git-link "> Browse git</ a >
1680+ < a href ="https://github.com/annotation/text-fabric-factory/blob/aaebe4aaee0da1aac36110999a1c9c762576e958 /tff/convert/helpers.py#L420-L607 " class ="git-link "> Browse git</ a >
16731681</ summary >
16741682< pre > < code class ="python "> def tweakTrans(
16751683 template,
0 commit comments