Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Closes #1325] Documentation Search #1622

Closed
wants to merge 2 commits into from

Conversation

patrickdaze
Copy link

@patrickdaze patrickdaze commented Jan 24, 2018

This is a documentation fix.

Proposed solution

Using Algolia's DocSearch for scraping, indexing, understanding the documentation’s hierarchy, and displaying search results. It would close #1325.

The scraper indexes the latest/current documentation hosted on https://bulma.io/. It also indexes previous versions of the documentation hosted on https://versions.bulma.io/ starting at version 0.6.2 (since there was no search before this version).

Tradeoffs

The solution relies on a third-party (Algolia) to scrape and index new content. DocSearch is however used by many reputable projects such as Bootstrap, Vue.js, React, and many others.

The alternative is to use something like jekyll-algolia which would rebuild a new index before deploying a new documentation version. It however requires more development, and configuration. Mainly it would require custom hooks written in Ruby to reorganize the content before sending it to Algolia.

Testing Done

Most of the solution relies on the DocSearch JavaScript and styles. Not much custom code was written. Initial testing is done using the docsearch-scraper.

For testing locally, append the Algolia testing app to your Jekyll configuration.

2018-01-23 22_04_47

Launch Requirements

@patrickdaze
Copy link
Author

patrickdaze commented Jan 24, 2018

If the Bulma team agrees, I suggest that the next step would be for me to open a PR with the DocSearch configuration. This would initiate the conversation with Algolia.

Alternatively the Bulma team can start a conversation by filling-in the form on the DocSearch website. Once Algolia replies, the Bulma team can mention the configuration branch.

@patrickdaze
Copy link
Author

patrickdaze commented Feb 27, 2018

@jgthms is this PR heading in the right direction?

There's just two main things left: agree/disagree with design, and initiate conversation with Algolia.

@patrickdaze
Copy link
Author

I noticed the website layout has change since I created this PR. If still interested, let me know and I can update this PR to match it.

cc @jgthms

@san-kumar
Copy link

san-kumar commented Jul 19, 2018

This was a really good thing. Right now it takes forever to search something as simple as is-grouped, is-gapless, etc. Any updates on this?

@diomed
Copy link
Contributor

diomed commented Oct 31, 2018

@jgthms whole community would benefit from search integration very much.
[it's powerful and free for open source projects]

@wtfluckey
Copy link

🙏 Please, please, please!

@ahstro
Copy link
Contributor

ahstro commented Oct 19, 2019

How has this not been merged yet?

@Shipow
Copy link

Shipow commented Dec 2, 2019

Hello Bulma team, I'm working for Algolia and I'm super excited to see DocSearch on this docs!
Do you need any help to get this PR merged? Is there any issue I could help to solve with the index?
Let me know ^^

@Maxhodges
Copy link

Maxhodges commented Dec 3, 2019

please note

#2374

i'll eat my own dick if he merges this PR

@Shipow
Copy link

Shipow commented Dec 3, 2019

Oh, wow, sensing a bit of frustration there :)
I've been familiar with that feeling in the past but it's easy to get lost in issues, PR, priorities, life and stuff.
Of course I'd recommend the great talk of Fat about maintaining a successful open source project to get a better idea on how hard it can be. Open source is full of compromises and challenges. I believe Bulma is an awesome project that will continue to grow at it's own pace! Respect for everything already achieved.

@patrickdaze
Copy link
Author

patrickdaze commented Feb 3, 2020

As this thread has proven, the lack of search for the open source Bulma project is frustrating for the community. This is why @ThomasEdwards and myself (@patrickdaze) have been working on two projects.

The first is Bulma Search. It provides indexing and search through Algolia.

The second is Search for Bulma : Chrome Extension, a chrome extension that uses Bulma Search.

Both projects are not affiliated with nor developed by the core Bulma team. Feel free to send us PRs.

@a-kriya
Copy link
Contributor

a-kriya commented Jun 23, 2021

@patrickdaze Can probably be closed now : ]

@patrickdaze
Copy link
Author

✌️

@patrickdaze patrickdaze deleted the feature-1325-search branch June 24, 2021 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search for Bulma docs
8 participants