From 6a2fc3230f5526788f4cac0dd1146a80e15c37d2 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Thu, 3 Feb 2022 14:25:16 -0500 Subject: Py Docs: Implement version switch to switch between versions on the website This commit adds a version switch similar to the one on the user manual, in the future it would be nice to refactor both of these into a more generic code that works for both. Maybe develop this into a sphinx extension. As part of this change I had to change how the blender hash is displayed. Instead of the version hash in the top left it has been moved to the page footer. This change will also be backported to 2.93 LTS, 2.93 LTS, and 3.0. --- doc/python_api/templates/versions.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/python_api/templates/versions.html (limited to 'doc/python_api/templates/versions.html') diff --git a/doc/python_api/templates/versions.html b/doc/python_api/templates/versions.html new file mode 100644 index 00000000000..64b47185ba7 --- /dev/null +++ b/doc/python_api/templates/versions.html @@ -0,0 +1,17 @@ +
+ +
+ \ No newline at end of file -- cgit v1.2.3