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

Add custom tags to DocSearch #723

Open
scrpgil opened this issue Mar 27, 2021 · 2 comments
Open

Add custom tags to DocSearch #723

scrpgil opened this issue Mar 27, 2021 · 2 comments

Comments

@scrpgil
Copy link

scrpgil commented Mar 27, 2021

Hi,
I am a StencilJS user from japan and I am translating this site into Japanese.
https://stenciljs.jp

I would like to set up docsearch for this Japanese translated site.
That's why I want to add a Custom Tag to Docsearch.

I'm thinking of doing it in the following steps.

  1. Request to add ".com" custom tag to docsearch's stenciljs.json. diff
  2. Include .com in Docsearch search on stenciljs.com. diff
  3. Request to add ".jp" custom tag to docsearch's stencil.json gist
  4. Include .jp in Docsearch search of stenciljs.jp

If the above steps are okay, I'd like to make a Step 1 pull request to algolia/docsearch-config in the near future. thanks.

@scrpgil scrpgil changed the title Add custom tags to Docsearch search Add custom tags to DocSearch Mar 27, 2021
@scrpgil
Copy link
Author

scrpgil commented Jun 5, 2021

Hello,

I made a pull request for this issue.
Here is a PR #727

If you merge this, you can continue working on the Japanese document.
I look forward to working with you.

@scrpgil
Copy link
Author

scrpgil commented Sep 11, 2021

Hello.

I am a member of the Japanese Stencil community.
We are translating stencil-site.

Now I want to apply Docsearch to Japanese stenciljs.jp. For that, I want you to merge the pull requests with this custom tag.
Here is a PR #727

Please also contact Docsearch Support to confirm, organize the site on .com and .jp, and separate by tag.

Hi there,
Thanks for your interest in DocSearch.
It looks like you already have an index with us for this website with the .com domain.
As we try to group projects as much as we can, to leverage maintenance and provide better support, here's a gist with an updated config that should suits your needs.
With this method, you will have both website hosted with the same credentials, and you will be able to filter search using custom tags.
You can submit the update if it suits you on this repository, I'll make sure to double check it,
Have a nice day!

This merge of pull requests does not harm the StencilJS site.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants