openstackdocstheme/releasenotes/notes/pdf-version-56c223128dff8357.yaml
Andreas Jaeger 957cee03f9 Show version in PDFs
To fix version display in PDFs, move config changes to config-inited
event.

First config-inited is called, then
builder-inited is called after the builder is setup. The builder might
use values from the config to set internal values.

This happens with the latex builder that takes version and release and
puts them into internal values.

So far, openstackdocstheme used builder-inited and setting version and
release from the theme happened to late. Move all config settings to a
config-inited phase so that it is early - and thus the latex builder can
create PDFs with version numbers.

Change-Id: Icdd308ba13de56bab13e97e3afc6338a7181dcbf
2020-05-20 14:03:08 +02:00

7 lines
182 B
YAML

---
features:
- |
PDF files will now automatically display the version number
like HTML files do already if ``openstackdocs_auto_version``
is ``True`` (default value).