You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was currently planning on using the tipue json format. That has keys for (title, text, loc, tags). I'm sure it'd be easy to tweak tipue to use a slightly different format, but it might be neat if to use something that works easily with an existing search lib?
I don't know which other javascript only search libs are available, but might be worth looking at the styles they use too.
Worth noting that tipue's format doesn't have the more fine-grained support of 'sections' as given in your example. I would have been planning to just treat each section with a separate entry in pages and give each loc it's corresponding anchor point, but it might be nicer to have the format properly correspond with pages and sections.
@Hernrup Let's run with Tipue for now, we can always move on from there. I would suggest keeping it simple to start with, so let's just index complete pages to start with (rather than per-section). The best thing would be to make an initial PR that just deals with creating a tipue javascript index file, with tests. That'll mean we can then review and work on that, and treat the remainder of the integration as a separate PR.
Also, side-note: If there's anything you get blocked on or you need me to progress any tickets please do always feel free to just go ahead and poke sticks at me until it gets done.
This is solved but Im having some difficulties with my branches so I cant send a PR right now. Will rebase out of origin master and send it in when I get the time. There are a few to many commits in the branch right now.
I'll do that, I didn't realise it was the basis for something that is used in production. If nothing else, I'll try and keep it compatible as I would really like to get you all off the forks and back onto a release :)
Activity
ericholscher commentedon Feb 4, 2014
It would be great if you could generate a generic JSON format that we could use to search against this. This is something I'm working on over here: https://github.com/searchthedocs/docs.json and would love feedback/thoughts.
lovelydinosaur commentedon Feb 4, 2014
I was currently planning on using the tipue json format. That has keys for (
title,text,loc,tags). I'm sure it'd be easy to tweak tipue to use a slightly different format, but it might be neat if to use something that works easily with an existing search lib?I don't know which other javascript only search libs are available, but might be worth looking at the styles they use too.
lovelydinosaur commentedon Feb 4, 2014
Worth noting that tipue's format doesn't have the more fine-grained support of 'sections' as given in your example. I would have been planning to just treat each section with a separate entry in
pagesand give eachlocit's corresponding anchor point, but it might be nicer to have the format properly correspond with pages and sections.Hernrup commentedon Mar 10, 2014
I would like to contribute on this one. Have you made any decisions on how you want to structure it and what tool to utilize?
lovelydinosaur commentedon Mar 11, 2014
@Hernrup Let's run with Tipue for now, we can always move on from there. I would suggest keeping it simple to start with, so let's just index complete pages to start with (rather than per-section). The best thing would be to make an initial PR that just deals with creating a tipue javascript index file, with tests. That'll mean we can then review and work on that, and treat the remainder of the integration as a separate PR.
Also, side-note: If there's anything you get blocked on or you need me to progress any tickets please do always feel free to just go ahead and poke sticks at me until it gets done.
Hernrup commentedon Mar 13, 2014
This is solved but Im having some difficulties with my branches so I cant send a PR right now. Will rebase out of origin master and send it in when I get the time. There are a few to many commits in the branch right now.
Merge pull request #1 from tomchristie/master
tobegit3hub commentedon Nov 10, 2014
Hi, does the search work right now? We're gonna use Mkdocs and curious about what's your plan of the implementation of search? @tomchristie
d0ugal commentedon Nov 10, 2014
@tobegit3hub Not yet. This is something that I'm working on.
In the meantime, a custom Google search works quite well. A demo of this can be seen on http://www.django-rest-framework.org/ (Note: this requires a custom theme too.)
tobegit3hub commentedon Nov 10, 2014
Thanks @d0ugal and I have gone to http://www.django-rest-framework.org/. It looks not so "native". I think https://docs.docker.com/jsearch/?q=remote+api does better and can we use something like that?
d0ugal commentedon Nov 10, 2014
Oh, interesting. I didn't realise docker were using search with Tipue. This is the approach I have started working on but not yet finished.
tobegit3hub commentedon Nov 11, 2014
We're really looking forward to your work @d0ugal 👍 Let us know if you have something or need some help.
SvenDowideit commentedon Nov 11, 2014
yup, i only needed to make very few changes to @Hernrup 's code - and iirc, he's already merged my PR's
I'd suggest merging his work first, and then following it up.
d0ugal commentedon Nov 11, 2014
I'll do that, I didn't realise it was the basis for something that is used in production. If nothing else, I'll try and keep it compatible as I would really like to get you all off the forks and back onto a release :)
d0ugal commentedon Nov 14, 2014
See #222 for my WIP pull request.
d0ugal commentedon Nov 28, 2014
Anyone that is tracking this and might be interested: #222 is working and ready for feedback.
rsionnach commentedon Mar 10, 2015
Awesome! Merge please guys. :)
d0ugal commentedon Apr 27, 2015
See #457. This is done!
tobegit3hub commentedon Apr 27, 2015
Great job @d0ugal 👍
zx2c4 commentedon Jun 10, 2016
What about making this optional?
Fix mkdocs#1