Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First (fake) of Jinja template integration #300

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft

Conversation

tomschr
Copy link
Contributor

@tomschr tomschr commented Apr 24, 2024

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
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