-
-
Notifications
You must be signed in to change notification settings - Fork 217
Description
I was reviewing my custom jinja2 templates the other day and found that since #288 I could remove almost all of my customizations. Inline with other configuration options that have been added since then also being exposed via CLI arguments (e.g. #350), I would like to make a case for exposing a --title CLI argument to enable easier configuration of this line:
| {% block title %}Module List – pdoc {{ __version__ }}{% endblock %} |
Otherwise, any project which does not use a custom index.html.jinja2 template will claim to contain the module list of pdoc with the __version__ used to generate the docs, which is obviously not correct. I would suggest to outright remove this part of the title entirely and default to simply using Module List. Whether the rest of the string is desirable enough to add a new CLI option for configuring this I think can be up for debate.