stencil-site icon indicating copy to clipboard operation
stencil-site copied to clipboard

Add custom tags to DocSearch

Open scrpgil opened this issue 3 years ago • 2 comments

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 avatar Mar 27 '21 05:03 scrpgil

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 avatar Jun 05 '21 17:06 scrpgil

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.

scrpgil avatar Sep 11 '21 02:09 scrpgil