Skip to content

Commit b670a66

Browse files
committed
Add versioning support in configuration and build scripts
Updated `writerside.cfg` to include versioning for the instance file and adjusted the Algolia build workflow to pass the product version. These changes improve traceability and ensure better version management throughout the documentation build process.
1 parent e688a0e commit b670a66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
--application-name '${{env.ALGOLIA_APP_NAME}}' \
122122
--index-name '${{env.ALGOLIA_INDEX_NAME}}' \
123123
--product '${{env.CONFIG_JSON_PRODUCT}}' \
124+
--productVersion '${{env.CONFIG_JSON_PRODUCT}}' \
124125
--version '${{env.CONFIG_JSON_VERSION}}' \
125126
--index-directory algolia-indexes/ \
126127
2>&1 | tee algolia-update-index-log.txt

Writerside/writerside.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<ihp version="2.0">
55
<topics dir="topics" web-path="topics"/>
66
<images dir="images" web-path="images"/>
7-
<instance src="rw.tree"/>
7+
<instance src="rw.tree" version="1.0"/>
88
</ihp>

0 commit comments

Comments
 (0)