Add the Slint version to the title of the C++ reference and Slint reference

The Rust docs already have it in their default, and this adds it to the other two.
This commit is contained in:
Simon Hausmann 2023-08-15 15:49:50 +02:00 committed by Simon Hausmann
parent 5f48dca2c0
commit 3356cf508d
2 changed files with 9 additions and 9 deletions

View file

@ -21,13 +21,13 @@ import textwrap
# -- Project information -----------------------------------------------------
project = "Slint C++ API"
copyright = "SixtyFPS GmbH"
author = "Slint Developers <info@slint.dev>"
# The full version, including alpha/beta/rc tags
version = "1.2.0"
project = f'Slint {version} C++ API'
copyright = "SixtyFPS GmbH"
author = "Slint Developers <info@slint.dev>"
cpp_index_common_prefix = ["slint::", "slint::interpreter::"]
# -- General configuration ---------------------------------------------------