pytest-dev / pytest-dev/pytest-html

How to use a specific template for index.jinja2

Open
#841 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Hi, I would like to modify the index.html / index.jinja2 : With for example "add a logo on the top of my page".

How can I use specific template using pytest-html ?

Same of : https://github.com/pytest-dev/pytest-html/issues/730
How can I use jinja inherit-type functionality?

Thanks !

Kasimashi

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating and reading the index.html and index.jinja2 templates in pytest-html. Determine how users can select a specific template or use Jinja inheritance, then document the supported steps and the expected result for adding a logo.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.