diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-08-23 06:50:58 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-10-01 15:00:44 +0200 |
commit | aa45ded698f25e8d3bc8eef621d727186fe18dd2 (patch) | |
tree | 705428909416c1e243d29db6cb909ce2b3f10eee /AllLangPackage_html_lang.mk | |
parent | 5b3e68e1ce0a3bc5893bb487c6d85ef4d3f9bfed (diff) |
redmine#2555 replace Help online Google search
This is the helpcontent2/ part of the patch.
Add xapian-omega search to online Help.
The patch replaces Google custom search with xapian-omega search.
A new build key is introduced.
--with-omindex=server : Localizes and adds the xapian result page
template, adds the xapian form to each Help page.
--with-omindex=noxap : do not localize the result template and
do not add a form in the Help page.
--with-omindex= will force Online Help build.
Default is noxap
NOTES:
- xapian-omega databases are built in the server.
- searches returns results only on localized Help pages, avoiding same
resulis in many languages.
TODO:
- Tweak the xapian-omega result page CSS and markup.
Change-Id: I3dc2b79c4111f61fd5fea01b1f8c95bfacab1e8f
Reviewed-on: https://gerrit.libreoffice.org/79366
Tested-by: Jenkins
Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org>
Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
Diffstat (limited to 'AllLangPackage_html_lang.mk')
-rw-r--r-- | AllLangPackage_html_lang.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/AllLangPackage_html_lang.mk b/AllLangPackage_html_lang.mk index d0b436f848..c3b25a09ce 100644 --- a/AllLangPackage_html_lang.mk +++ b/AllLangPackage_html_lang.mk @@ -19,4 +19,14 @@ $(eval $(call gb_AllLangPackage_add_files,helpcontent2_html_lang,$(LIBO_SHARE_HE ) \ )) +ifeq ($(HELP_OMINDEX_PAGE),TRUE) + +$(eval $(call gb_AllLangPackage_add_files,helpcontent2_html_lang,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION)),\ + $(foreach lang,$(gb_HELP_LANGS),\ + $(lang)/xap_tpl \ + ) \ +)) + +endif + # vim: set noet sw=4 ts=4: |