[Bf-blender-cvs] [fe5c3a0ab38] master: GNUmakefile: add convenience target 'check_wiki_file_structure'
Campbell Barton
noreply at git.blender.org
Sat Jan 28 06:43:10 CET 2023
Commit: fe5c3a0ab382fd0f3f980ce9bcfcf4c42a185602
Author: Campbell Barton
Date: Sat Jan 28 16:41:12 2023 +1100
Branches: master
https://developer.blender.org/rBfe5c3a0ab382fd0f3f980ce9bcfcf4c42a185602
GNUmakefile: add convenience target 'check_wiki_file_structure'
This target ensures https://wiki.blender.org/wiki/Source/File_Structure
follows Blender's source tree.
===================================================================
M GNUmakefile
===================================================================
diff --git a/GNUmakefile b/GNUmakefile
index ba9ee978817..a6b041597c3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -71,6 +71,13 @@ Static Source Code Checking
* check_mypy: Checks all Python scripts using mypy,
see: source/tools/check_source/check_mypy_config.py scripts which are included.
+Documentation Checking
+
+ * check_wiki_file_structure:
+ Check the WIKI documentation for the source-tree's file structure
+ matches Blender's source-code.
+ See: https://wiki.blender.org/wiki/Source/File_Structure
+
Spell Checkers
This runs the spell checker from the developer tools repositor.
@@ -481,6 +488,10 @@ check_smatch: .FORCE
check_mypy: .FORCE
@$(PYTHON) "$(BLENDER_DIR)/source/tools/check_source/check_mypy.py"
+check_wiki_file_structure: .FORCE
+ @PYTHONIOENCODING=utf_8 $(PYTHON) \
+ "$(BLENDER_DIR)/source/tools/check_wiki/check_wiki_file_structure.py"
+
check_spelling_py: .FORCE
@cd "$(BUILD_DIR)" ; \
PYTHONIOENCODING=utf_8 $(PYTHON) \
More information about the Bf-blender-cvs
mailing list