ionic-team / stencil-site

Stencil site and documentation source.
https://stenciljs.com/
MIT License
338 stars 422 forks source link

Add custom tags to DocSearch #723

Open scrpgil opened 3 years ago

scrpgil commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.