mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
Renamed *extra_sections* to *extra_content* and added documentation for the feature.
This commit is contained in:
@@ -239,6 +239,12 @@ def make_gm_sheet(
|
||||
use_dnd_decorations=fancy_decorations,
|
||||
)
|
||||
)
|
||||
# Parse any extra homebrew sections, etc.
|
||||
content.append(
|
||||
create_extra_gm_content(sections=gm_props.pop("extra_content", []),
|
||||
suffix=content_suffix,
|
||||
use_dnd_decorations=fancy_decorations)
|
||||
)
|
||||
# Add the monsters
|
||||
monsters_ = []
|
||||
for monster in gm_props.pop("monsters", []):
|
||||
@@ -272,12 +278,6 @@ def make_gm_sheet(
|
||||
use_dnd_decorations=fancy_decorations,
|
||||
)
|
||||
)
|
||||
# Parse any extra homebrew sections, etc.
|
||||
content.append(
|
||||
create_extra_gm_content(sections=gm_props.pop("extra_sections", []),
|
||||
suffix=content_suffix,
|
||||
use_dnd_decorations=fancy_decorations)
|
||||
)
|
||||
# Add the closing TeX
|
||||
content.append(
|
||||
jinja_env.get_template(f"postamble.{format_suffixes[output_format]}").render(
|
||||
|
||||
Reference in New Issue
Block a user