From d851c91856bbf384cb3e1cb808feedfc426bd87d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Feb 2023 12:37:02 +1100 Subject: [PATCH] PyDocs: update links in generated API docs for GITEA migration - Correct broken link for undocumented modules. Point to the contributing page, it seems #51062 was lost with the GITEA task migration. - Correct Blender Version link to the SHA1. --- doc/python_api/sphinx_doc_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 480dddb9c20..7b604e855a3 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -487,7 +487,7 @@ BLENDER_VERSION_DOTS = "%d.%d" % (bpy.app.version[0], bpy.app.version[1]) if BLENDER_REVISION != "Unknown": # SHA1 Git hash BLENDER_VERSION_HASH = BLENDER_REVISION - BLENDER_VERSION_HASH_HTML_LINK = "%s" % ( + BLENDER_VERSION_HASH_HTML_LINK = "%s" % ( BLENDER_VERSION_HASH, BLENDER_VERSION_HASH, ) BLENDER_VERSION_DATE = time.strftime("%d/%m/%Y", time.localtime(BLENDER_REVISION_TIMESTAMP)) @@ -647,7 +647,7 @@ def undocumented_message(module_name, type_name, identifier): module_name, type_name, identifier, ) - return "Undocumented, consider `contributing `__." + return "Undocumented, consider `contributing `__." def range_str(val):