diff --git a/Makefile b/Makefile index 93ae0fd14e..25f31e06d8 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,7 @@ $(DOCDIR): gendoc: $(DOCDIR) cp $(SRC)/docs/*md $(DOCDIR) ; \ - $(RUN) gen-doc ${GEN_DARGS} -d $(DOCDIR) $(SOURCE_SCHEMA_PATH) --template-directory $(TEMPLATEDIR) + $(RUN) gen-doc ${GEN_DARGS} -d $(DOCDIR) $(SOURCE_SCHEMA_PATH) --template-directory $(TEMPLATEDIR) --use-slot-uris $(RUN) python $(SRC)/scripts/term_list_generator.py $(TERM_LIST_FILE) $(RUN) python $(SRC)/scripts/combinations_list_generator.py $(COMBINATIONS_FILE) mkdir -p $(DOCDIR)/javascripts diff --git a/src/scripts/term_list_generator.py b/src/scripts/term_list_generator.py index fd7f49358f..32be19be68 100644 --- a/src/scripts/term_list_generator.py +++ b/src/scripts/term_list_generator.py @@ -18,7 +18,7 @@ output_file = sys.argv[1] - docgen = DocGenerator("src/mixs/schema/mixs.yaml", directory="docs") + docgen = DocGenerator("src/mixs/schema/mixs.yaml", template_directory="src/doc-templates", directory="docs", use_slot_uris=True) terms = list(docgen.all_slot_objects()) try: