Create "global search" solution #43
Comments
We also check docsearch of Algolia: https://community.algolia.com/docsearch/ @DanielSiepmann is in contact and evaluates this. The following are requirements: https://community.algolia.com/docsearch/who-can-apply.html https://community.algolia.com/docsearch/required-configuration.html Looks like a sitemap would be helpful, this might also be helpful for Google / SEO. I've found https://github.com/jdillard/sphinx-sitemap which might do the job. Current state: I've contact Algolia via Discord and applied for participation via form and am waiting for getting contacted. |
Following the configuration, we might already provide some of these aspects. E.g. Algolia provides some CSS Classes for better crawling, we already have those, with different names:
Headline selectos: Right now the following is not provided by us:
Instead we have an surrounding HTML tag with an ID.
Might be a problem for us to provide those. Even if we can add them to the theme, we would need to re render all manuals. Maybe we can just asume "en" for now. We instead provide:
Maybe this can be used, also as headline 1 the book-name should be used. |
Algolia already setup a search. The configuration is available here: https://github.com/algolia/docsearch-configs/blob/master/configs/typo3.json and can be adjusted via pull requests. We have also access to the Analytics part of Algolia, through my account. Once we decide to go with this solution, I'm sure we can add further accounts. I've to check the integration and results. |
I've added a new folder at https://stage.docs.typo3.com/search/ where Algolia is now integrated. One can already get a small sneak peak about the search results. NOTE I've adjusted only the startpage (Index.html). We need to fix the styling. Right now the results are cut off on the right side, due to the sidebar width. I'll also have a chat with Algolia in the future about where we want to go and about our needs. |
Will it be possible to select the TYPO3 version when searching? |
That's one feature we want to include. Right now the main goal was to provide a very basic first integration, so we can improve and discuss things. Further Documentation related to the tasks:
Thanks to @justusmoroni we have a basic working css integration for desktop. We also need to provide some more CSS to make the search usaeable in further situation:
|
I've created https://github.com/TYPO3-Documentation/WIP-Algolia-Docsearch-Integration as repository to keep track of implementation details and necessary changes. |
New information after our call with Algolia Docsearch: It's free, we need to display the logo. |
I'll collect Open Questions here and send them to algolia:
|
Since there is now t3docs-search-indexer for searching the TYPO3 documentation, is the work in this topic generally necessary any longer, and are these repos and URLs of particular use:
or can they be cleaned up? |
I didn't continue. Work was made based on a budget and small group of people. https://github.com/TYPO3-Documentation/WIP-Algolia-Docsearch-Integration can be archived / removed as it is no longer used. |
Ok. I would vote for deleting instead of archiving (1) as there are rather small changes made to CSS and TSConfig which may be of no use in years when a return to Algolia might come into play and when their API probably has changed in meantime. What do you think? |
Sure :) Go ahead |
Ok, these repositories have been deleted in favor of using t3docs-search-indexer instead: |
Can this issue be closed? |
Related: #4
The text was updated successfully, but these errors were encountered: