Skip to content

First (fake) of Jinja template integration#300

Draft
tomschr wants to merge 40 commits into
mainfrom
jinja-templates
Draft

First (fake) of Jinja template integration#300
tomschr wants to merge 40 commits into
mainfrom
jinja-templates

Conversation

@tomschr

@tomschr tomschr commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

Preparations

  1. homepage-data.json from Gayathri's home page
  2. Store the file in the $DOCSERV_CACHE_DIR/$SERVERNAME/$TARGET directory
  3. Add the key jinjacontext_home in Docserv INI file under your [target_X] section.

@tomschr tomschr self-assigned this Apr 24, 2024
tomschr added 4 commits April 24, 2024 17:37
Add more debug logger output
* Configure logging with a INI file (provided in src/docserv/logging.ini).
  Add docserv.main::main()
* If the user pass another INI file, overwrite the first settings and
  use this.
Replace {} placeholders with str.format()
Try to create different rendered HTML files in temporary directory.

Use a workdata dictionary to store all necessary information and use it
to create the different HTML files.

Source: https://github.com/GGaayeeG/JinjaTemplatingProj/blob/main/src/buildTemplate.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant