ifctester - move build-ids-docs target to ifctester Makefile

Also added a note why it lives in test folder and added it's output to gitignore.
This commit is contained in:
Andrej730
2026-03-20 13:32:32 +05:00
parent 1778656bd5
commit bcf6f6197d
4 changed files with 17 additions and 4 deletions
+2
View File
@@ -5,6 +5,8 @@
/_installed-vs*-x*/
/build/
/src/examples/build/
# ifctester docs output
/src/ifctester/test/build/
# output directories
/cmake/out/
-4
View File
@@ -79,10 +79,6 @@ test-parallel:
test-mathutils:
pytest -p no:pytest-blender test/util/test_shape_builder.py
.PHONY: build-ids-docs
build-ids-docs:
mkdir -p test/build
cd test && python ids_doc_generator.py
.PHONY: qa
qa:
+5
View File
@@ -96,3 +96,8 @@ webapp-prepare: webapp-build
.PHONY: test
test:
pytest -p no:pytest-blender test
.PHONY: build-ids-docs
build-ids-docs:
mkdir -p test/build
cd test && python ids_doc_generator.py
+10
View File
@@ -16,6 +16,16 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
"""
Documentation generator for IfcTester IDS facets and test cases.
This is not a test file. It lives in the test/ directory because it reuses
test cases from test_facet.py and test_ids.py to generate example IFC files,
IDS files, and Markdown documentation into test/build/.
Run via: make build-ids-docs (from src/ifctester/)
"""
import functools
import os
import re