Closed bebraw closed 8 years ago
Great! Per the comment on Twitter, what thoughts did you have in mind for the design?
@dzello Mostly fine. The structure of the site is completely different now, though, so that might affect your side. The search control needs a good location. Maybe header? See http://webpack.js.org/ .
Ok, good to know. If the new content structure is different that's ok, I will have to make some config changes but should be mostly painless. From clicking around on the new site it looks like some content isn't there yet. Should I hold off on trying to index it until there's more there?
The header is good for location, that's what we did on the React docs.
You can index it, but it's correct it won't yield a lot of results yet. But then, I assume you index it regularly so going with the new structure can't hurt.
Right, once the config is live we re-index every 24 hours to pick up any changes. I will play with indexing the new site and see where I get. Any ideas for timeline on having all the new content up?
All content - months.
Minimum will take less. There's a target for that.
Sounds good, no problem to get new indexing configuration done by then.
In the meantime, for the sake of asking, do you think it's worth deploying search for the existing docs since the PR is ready to go? I don't want to make extra work but one upside of deploying for the existing docs is that we'll have more data to improve search for V2.
@dzello Yeah, getting the search on the old site could be worthwhile. Just poked about that so we get a decision made.
google custom search can work too...
The Google custom search UX isn't great for docs. No autocomplete, irrelevant suggested searches, clumsy modal dialog for displaying results. Also there's ads and you have to pay to remove them.
I'm +1 for Algolia. Laravel also uses this on their docs, and having used those docs extensively, I can say that it's very nice to work with. I especially like the autocomplete which allows me to quickly navigate. If it's free, I don't see any disadvantage.
If a documentation site uses google custom search, I'm instantly annoyed ^^. I don't like the results.
@dzello, are you still interested in adding search for this repo? We'd love it if you could do a PR :).
@SpaceK33z yes, I will start getting that together :)
@dzello Could you provide us the api key + webpack id for Algolia API? It should be straight-forward to set up after that once you have indexing going (just did integration of my own).
@bebraw Yes, will provide once I have indexing going. In the meantime for development or testing you could use the DocSearch index for the existing site. App Id: bh4d9od16a
, API Key: 93950c6eda05068a6f0649e4a7f7546e
, Index name: webpack
.
@bebraw @dzello Started working on a branch to add the interface bits (e.g. a togglable input in the Navigation bar) for you to hook into, haven't it pushed it yet by I should be able to open a PR for that sometime tonight or tomorrow.
Good to know @skipjack, thanks!
Fixed with PR #284.
Algolia would work.
I'm opening this based on Twitter discussion.