aboutcode-org / aboutcode-org/scancode-toolkit
Document data available to HTML templates
Offen
documentation
GUI and outputs
Priority: medium
- Vorherrschende Sprache
- Python
- Sterne
- 2.6k
- Forks
- 791
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 5
Beschreibung
We need to document the data available to a Jinja custom template
See https://github.com/nexB/scancode-toolkit/issues/789#issuecomment-462406528
> @Shaker1978 good point ... there is little or no doc for that. The only "doc" would be the example default HTML output template at https://github.com/nexB/scancode-toolkit/blob/bec80ec900a69285ea4e545dc0755061243a5638/src/formattedcode/templates/html/template.html and the code that renders the Jinja template at https://github.com/nexB/scancode-toolkit/blob/bec80ec900a69285ea4e545dc0755061243a5638/src/formattedcode/output_html.py#L165
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.