0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
G.Ambatte
f830104531 Use textContent instead of innerText 2024-07-17 13:59:00 +12:00
G.Ambatte
7c60fbe655 Remove page + 1 from ToC generator snippet 2024-07-02 20:46:01 +12:00
David Bolack
fbe65a4e93 Resolve indentation errors in TOC Generation, adjust partCover class
This fixes an error in the recusion that was failing to add children under existing parents.
Index generation now does not overindent when levels are skipped.
PartCover less code as suggesred by CC.
2024-06-01 00:32:25 -05:00
David Bolack
7cef4316d7 Flag Table of Contents as "Experimental" 2024-05-22 21:04:32 -05:00
David Bolack
b496ef3597 Remove completely redundant checks for class based exclusion from ToC Snippet 2024-05-22 16:34:00 -05:00
David Bolack
3ae5d4c1e3 Slight reworking of style naming for Table of Contents
Also uses :is operator for cleaner? looking CSS

Lastly, removes {{partCover}} from automatic exclusion.
2024-05-22 16:30:12 -05:00
David Bolack
af82d71e4f Merge branch 'master' into issue_2994_css_style 2024-05-22 11:52:43 -05:00
David Bolack
1773e77cb9 Fix missed issues with converting to delightfully recursive function 2024-05-22 11:47:12 -05:00
Trevor Buckner
e62e185214 Lint a bunch of things 2024-05-21 17:32:17 -04:00
David Bolack
511c9ffada Merge branch 'master' into issue_2994_css_style 2024-05-20 14:51:19 -05:00
David Bolack
90ce48b170 Adapt Recursive Toc function from 3254 2024-04-20 21:46:32 -05:00
David Bolack
448af683a0 Merge branch 'master' into issue_2994_css_style 2024-04-20 21:36:42 -05:00
Murdo B. Maclachlan
30d2a03fd0 Added proficiency bonus to monster statblocks 2024-04-12 11:19:48 +01:00
Trevor Buckner
97fba241a1 Undo linting on unrelated pages 2024-04-04 17:37:52 -04:00
Trevor Buckner
d0fbca7af5 Undo linting on unrelated files. 2024-04-04 17:36:06 -04:00
Víctor Losada Hernández
8a15172db1 pull from master and suggested fixes 2024-04-02 14:09:53 +02:00
Víctor Losada Hernández
aae574e4e5 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into small-fixes,-snippet-uniformity 2024-04-02 13:56:21 +02:00
David Bolack
733b929940 Integrate code recursion from 3254. 2024-03-25 19:36:30 -05:00
David Bolack
9d3f7fe556 Fix H3-H6 entries in ToC generation 2024-03-25 18:58:29 -05:00
David Bolack
40d0e7e90e Trim space off of ToC entries. 2024-03-25 16:32:03 -05:00
David Bolack
7ca10ff5a4 Add requested additions to code
Add snippet additions to handle Add h4, Add h4-h5, add h4-h6
Add collection of headers h4-h6 and rendering of h4 to h6.
2024-03-25 16:13:07 -05:00
dbolack
1705e66be2 Corrections per PR
Remove off by one error realted to change in page number detection.
Dewrap quotes from exclude screen.
2024-03-23 18:57:53 -05:00
dbolack
591278862a Merge branch 'master' into issue_2994_css_style 2024-03-23 18:52:33 -05:00
Rodrigo Kuerten
6eecd9cee4 Updated Table of Contents snippet 2024-03-06 13:46:13 -03:00
Víctor Losada Hernández
453656fbeb Merge branch 'master' into small-fixes,-snippet-uniformity 2024-02-23 18:53:56 +01:00
David Bolack
85caf0a892 Add fixes to account for no page numbers
Clear out manual toggles.
2024-01-29 20:14:52 -06:00
David Bolack
622827efda Fix Exclusion examination 2024-01-20 20:47:27 -06:00
David Bolack
854c21639a CSS based ToC exclusion system
either I am building the lookup incorrectly or Chrome is not letting me
see variables via computedStyles.
2024-01-20 11:58:17 -06:00
Víctor Losada Hernández
4424a331d5 first commit 2024-01-16 18:38:38 +01:00
Trevor Buckner
2125b8a026 Small tweaks 2023-09-14 16:44:59 -04:00
Víctor Losada Hernández
dc3243ae59 back cover should not create a page after itself 2023-08-11 15:08:49 +02:00
Víctor Losada Hernández
b3497e14f1 remove italics 2023-08-08 19:15:19 +02:00
Víctor Losada Hernández
d6e0047d4e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into quote-snippet 2023-08-08 19:12:34 +02:00
Víctor Losada Hernández
8ebd5ccff9 syntax change 2023-08-08 19:11:54 +02:00
Trevor Buckner
b2e7b28b65 Merge pull request #2945 from 5e-Cleric/TOC-generate-fix
exclude covers from TOC generation
2023-08-04 19:16:58 -04:00
Trevor Buckner
0869f6b29b Just... put the whole table in. 2023-08-04 01:19:33 -04:00
Trevor Buckner
0da5de494e simplify third caster gen 2023-08-04 00:23:23 -04:00
Trevor Buckner
bc9dc8dee9 Clean up half caster gen. 2023-08-04 00:04:17 -04:00
Trevor Buckner
e3e250255e Simplify full caster gen 2023-08-03 23:39:17 -04:00
Trevor Buckner
7aca0f2f10 Use dedent-tabs 2023-08-03 19:23:40 -04:00
Trevor Buckner
999f9c8f25 Rename passed in "classes" to "snippetClasses" for clarity 2023-08-03 17:22:30 -04:00
Trevor Buckner
3eb7ce2775 Clean up indentation 2023-08-03 17:16:26 -04:00
Trevor Buckner
4d4371f48c Compact features array 2023-08-03 17:15:14 -04:00
G.Ambatte
4cf54d6ae8 Update class table generators 2023-08-02 21:23:11 +12:00
Víctor Losada Hernández
b433691596 exclude covers from TOC generation 2023-07-19 21:38:14 +02:00
Trevor Buckner
96d04ad75a Fix TOC generators 2023-07-08 01:43:08 -04:00
G.Ambatte
e06f5e17d9 Relocate from 5ePHB to Blank theme 2023-06-15 13:42:10 +12:00
G.Ambatte
ade61971d0 Remove snippet.params 2023-06-15 11:50:38 +12:00
G.Ambatte
9093f610bd Add params from snippet to function 2023-06-03 14:09:50 +12:00
G.Ambatte
d2b2e69123 Shift Footer generation to snippet 2023-06-03 13:30:32 +12:00