When are search terms highlighted in the online documentation?

1 次查看(过去 30 天)
Background
I use R2018b. I've created an online documentation for a toolbox.
  • HTML help files. I written m-files and used publish() to create html-files
  • info.xml file
  • helptoc.xml file
So far everthing works fine. My toolbox appears under the title, Supplemental Software. Switching betwwen my html-files by clicking the links in the CONTENTS pane to the left works well.
Now I have built a search database by executing builddocsearchdb('d:\m\BestPractices\m2uml_sandbox\tbx\doc'). Successfully ... . Searching seems to work. My html-pages turn up in the list of hits. "Refine by Product" by left-clicking my toolbox name works. However, my search terms are not highlighted in my html-page. When I search for custom documentation and select the "Display Custom Documentation"-page the search terms, custom documentation, are highlighted with a yellow and blue background, respectively. Nothing is highlighted in my pages.
I made the following experiment:
  • left-clicked "Documentation Home",
  • entered a search term unique to my toolbox,
  • a handfull of my html-pages populated the list of hits with my search term in bold.
  • left-clicked one of the pages
  • the pages opened, but no highlighting
  • right-clicked in the "Search Help" field and chose Find
  • entered the same search term in the "Chose Find" field.
  • the background turned red, i.e. no find.
  • repeated with a simple search term from the top of the page. Again: red background; no find.
  • restarted Matlab - no change
  • closed Matlab, deleted helpsearch-v3, started Matlab, run builddocsearchdb, Successfully created search database, but no change.
Question: What am I doing wrong or do I expect something that Matlab never promised?
  2 个评论
per isakson
per isakson 2020-1-17
编辑:per isakson 2020-1-31
Now I have installed the online help of Upslope Area Toolbox according to Build searchable documentation database. It behaves the same way as my toolbox online help. Thus, I probably expected something that Matlab never promised!
per isakson
per isakson 2020-1-31
BUMP
Are search terms supposed to be highlighted in custom documentation pages?

请先登录,再进行评论。

回答(1 个)

per isakson
per isakson 2020-2-7
Tech support answers: "[...] the development team [...] confirm that this is not currently possible. [...] The developers will consider your suggestion for a future release."
Thus, I expected something that Matlab never promised.

类别

Help CenterFile Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by