diff --git a/docs/_templates/footer.html b/docs/_templates/footer.html new file mode 100644 index 00000000..d20fb711 --- /dev/null +++ b/docs/_templates/footer.html @@ -0,0 +1,10 @@ +{% extends "!footer.html" %} + +{% block extrafooter %} + {{ super() }} + {% if maintainer %} +

+ Maintained by: {{ maintainer }} +

+ {% endif %} +{% endblock %} \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index 6ac7b04f..af39e218 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,6 +26,7 @@ project = "agentlib_mpc" copyright = "2021, AGENT-Project Associates" author = "AGENT-Project Associates" +maintainer = "Institute for Energy Efficient Buildings and Indoor Climate, RWTH Aachen University" # The full version, including alpha/beta/rc tags with open(Path(__file__).parents[2].joinpath(project, "__init__.py"), "r") as file: @@ -112,6 +113,10 @@ "logo_icon": "", } +# Add the maintainer to the HTML context, as it is not a standard Sphinx variable +html_context = { + "maintainer": maintainer, +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/pyproject.toml b/pyproject.toml index 29a0ab28..1e966cd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,10 @@ build-backend = "setuptools.build_meta" [project] name = "agentlib_mpc" authors = [ - { name = "Associates of the AGENT project", email = "AGENT.Projekt@eonerc.rwth-aachen.de" } + { name = "Associates of the AGENT project"} +] +maintainers = [ + { name = "Institute for Energy Efficient Buildings and Indoor Climate, RWTH Aachen University", email = "ebc-tools@eonerc.rwth-aachen.de" } ] description = "Framework for development and execution of agents for control and simulation of energy systems." readme = "README.md"