diff --git a/.github/workflows/publish-cti-doc-on-gh-pages.yml b/.github/workflows/publish-cti-doc-on-gh-pages.yml index fafbd37..217cbe7 100644 --- a/.github/workflows/publish-cti-doc-on-gh-pages.yml +++ b/.github/workflows/publish-cti-doc-on-gh-pages.yml @@ -29,6 +29,8 @@ jobs: node-version: '18' - name: Install Antora with the Antora Lunr Extension run: npm i antora @antora/lunr-extension + - name: Install chineese indexing support for Lunr # See https://gitlab.com/antora/antora-lunr-extension#user-content-support-for-other-languages + run: npm i @node-rs/jieba - name: Generate English Site run: npx antora --to-dir build/sites/en antora/antora-playbook-en.yml - name: Generate French Site diff --git a/antora/antora-playbook-en.yml b/antora/antora-playbook-en.yml index f6d6b8c..29b722e 100644 --- a/antora/antora-playbook-en.yml +++ b/antora/antora-playbook-en.yml @@ -2,12 +2,12 @@ site: title: CTI documentation # the 404 page and sitemap files only get generated when the url property is set url: https://labviewcommunitytraining.github.io/cti-documentation/en - start_page: cti-doc_en::index.adoc + start_page: cti-doc::index.adoc robots: allow antora: extensions: - require: '@antora/lunr-extension' - languages: [en, fr] + languages: [en] urls: latest_version_segment: latest latest_version_segment_strategy: redirect:to diff --git a/antora/antora-playbook-es.yml b/antora/antora-playbook-es.yml index bc22b89..e06fa6c 100644 --- a/antora/antora-playbook-es.yml +++ b/antora/antora-playbook-es.yml @@ -2,11 +2,12 @@ site: title: CTI documentation # the 404 page and sitemap files only get generated when the url property is set url: https://labviewcommunitytraining.github.io/cti-documentation/es - start_page: cti-doc_es::index.adoc + start_page: cti-doc::index.adoc robots: allow antora: extensions: - require: '@antora/lunr-extension' + languages: [es] urls: latest_version_segment: latest latest_version_segment_strategy: redirect:to diff --git a/antora/antora-playbook-fr.yml b/antora/antora-playbook-fr.yml index 7fcf5fc..0a75a96 100644 --- a/antora/antora-playbook-fr.yml +++ b/antora/antora-playbook-fr.yml @@ -2,11 +2,12 @@ site: title: CTI documentation # the 404 page and sitemap files only get generated when the url property is set url: https://labviewcommunitytraining.github.io/cti-documentation/fr - start_page: cti-doc_fr::index.adoc + start_page: cti-doc::index.adoc robots: allow antora: extensions: - require: '@antora/lunr-extension' + languages: [fr] urls: latest_version_segment: latest latest_version_segment_strategy: redirect:to diff --git a/user-interface/build/ui-bundle.zip b/user-interface/build/ui-bundle.zip index b254cf1..93a72f6 100644 Binary files a/user-interface/build/ui-bundle.zip and b/user-interface/build/ui-bundle.zip differ diff --git a/user-interface/src/partials/header-content.hbs b/user-interface/src/partials/header-content.hbs index aee8bc9..0965d07 100644 --- a/user-interface/src/partials/header-content.hbs +++ b/user-interface/src/partials/header-content.hbs @@ -16,7 +16,7 @@