Skip to content

Commit

Permalink
ci: docbuild: add zoomin tags file
Browse files Browse the repository at this point in the history
Add a new tags file. For now there's only a global tag for all the
content following the `ncs-${VERSION}` scheme.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
  • Loading branch information
gmarull committed Jun 28, 2023
1 parent 5ab3652 commit 0469247
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
cp doc/custom.properties doc/_build/html
sed -i 's/__VERSION__/'"${VERSION}"'/g' doc/_build/html/custom.properties
# add zoomin tags file
cp doc/tags.yml doc/_build/html
sed -i 's/__VERSION__/'"${VERSION}"'/g' doc/_build/html/tags.yml
# compress
cd doc/_build/html
zip -rq "${ARCHIVE}" .
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Kconfig* @tejlmand
/doc/nrfxlib/ @gmarull
/doc/versions.json @carlescufi
/doc/custom.properties @gmarull
/doc/tags.yml @gmarull
# All subfolders
/drivers/ @anangl
/drivers/serial/ @nordic-krch @anangl
Expand Down
9 changes: 9 additions & 0 deletions doc/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Document tags for Zoomin.

# Tags for all topics:
mapping_global:
- ncs-__VERSION__

# Tags for individual topics:
mapping_topics:
# - filename.md ["tag1","tag2","keyword"]

0 comments on commit 0469247

Please sign in to comment.