diff --git a/docs/configuration.rst b/docs/configuration.rst index 45e1541..b57ace8 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -200,7 +200,7 @@ file. if isinstance(default, list): default = ", ".join(default) default = f"``{default}``" - print(f"Default: {default}") + print("\n".join(textwrap.wrap(f"Default: {default}"))) print() .. ]]] @@ -235,7 +235,8 @@ entry_title_template The `Jinja`_ template to use for the entry heading text for changelog entries created by ":ref:`cmd_collect`". -Default: A combination of version (if specified) and date. +Default: ``{% if version %}{{ version }} — {% endif %}{{ +date.strftime('%Y-%m-%d') }}`` .. _config_format: @@ -370,7 +371,7 @@ source file. Default: (empty) -.. [[[end]]] (checksum: b0f7694ada9dcecd8e7e14387ee7cd88) +.. [[[end]]] (checksum: 675df32fb207262bd0c69a94a99c2fb7) .. _git_settings: diff --git a/src/scriv/config.py b/src/scriv/config.py index 6a87f29..e388d8d 100644 --- a/src/scriv/config.py +++ b/src/scriv/config.py @@ -152,7 +152,6 @@ class _Options: The `Jinja`_ template to use for the entry heading text for changelog entries created by ":ref:`cmd_collect`". """, - "doc_default": "A combination of version (if specified) and date.", }, )