aashnajena opened a new pull request #423:
URL: https://github.com/apache/camel-website/pull/423


   I have linked my own Algolia index to this PR for now, so that everyone can 
view the changes in search results. 
   - Search results are now grouped by higher level headings eg. "Camel 
Components" or "User Manual" or "Camel Kafka Connector". 
   - For Hugo pages, search results are grouped by H1, because that itself is 
the highest level of heading eg "Articles" or "Books"
   - I wanted to make the config file as simple as possible, and depend on the 
sitemap instead of the URLs. This is what I'm using :
   
   
     "sitemap_urls": [
       "https://camel.apache.org/sitemap.xml";
     ],
     "selectors": {
       "lvl0": ".toolbar ul li:nth-child(1) a",
       "lvl1": ".version-menu a.is-current",
       "lvl2": "article h1",
       "lvl3": "article h2",
       "text": "article p, article li"
     }
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to