Skip to content

Commit acca1e8

Browse files
committed
Set src docs output directory to build
1 parent bcdd73b commit acca1e8

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ COVERAGE_DIR ?= $(REPORTS_DIR)/coverage
4747
# Define the directory for documentation:
4848
DOCS_DIR ?= $(ROOT_DIR)/docs
4949

50+
# Define the directory for generated source code documentation:
51+
SRC_DOCS_DIR ?= $(BUILD_DIR)/docs
52+
5053
# Define the top-level directory containing executables:
5154
LOCAL_BIN_DIR ?= $(ROOT_DIR)/bin
5255

tools/make/lib/docs/documentationjs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DOCUMENTATIONJS ?= $(BIN_DIR)/documentation
2727
DOCUMENTATIONJS_TYPEDEF ?= $(TOOLS_DIR)/docs/jsdoc/typedefs/*.js
2828

2929
# Define the output directory for documentation.js:
30-
DOCUMENTATIONJS_OUT ?= $(DOCS_DIR)/documentationjs
30+
DOCUMENTATIONJS_OUT ?= $(SRC_DOCS_DIR)/documentationjs
3131

3232
# Define the output directory for documentation.js JSON:
3333
DOCUMENTATIONJS_JSON_OUT ?= $(DOCUMENTATIONJS_OUT)/json

tools/make/lib/docs/jsdoc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ JSDOC_TYPEDEF ?= $(TOOLS_DIR)/docs/jsdoc/typedefs/*.js
3333
JSDOC_JSON_TEMPLATE ?= $(TOOLS_DIR)/docs/jsdoc/templates/json
3434

3535
# Define the output directory for JSDoc:
36-
JSDOC_OUT ?= $(DOCS_DIR)/jsdoc
36+
JSDOC_OUT ?= $(SRC_DOCS_DIR)/jsdoc
3737

3838
# Define the output directory for JSDoc JSON:
3939
JSDOC_JSON_OUT ?= $(JSDOC_OUT)/json

0 commit comments

Comments
 (0)