1
0
Fork 0

chore: rename next branch to main (#1478)

This commit is contained in:
Clément Vannicatte 2022-08-02 17:49:20 +02:00 committed by GitHub
parent 2c64362067
commit 142fd13e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -187,4 +187,4 @@ workflows:
- build
filters:
branches:
only: next
only: main

View file

@ -18,8 +18,8 @@ about: Help us improve DocSearch.
**Live reproduction:**
- JavaScript: https://codesandbox.io/s/github/algolia/docsearch/tree/next/examples/js-demo
- React: https://codesandbox.io/s/github/algolia/docsearch/tree/next/examples/demo
- JavaScript: https://codesandbox.io/s/github/algolia/docsearch/tree/main/examples/js-demo
- React: https://codesandbox.io/s/github/algolia/docsearch/tree/main/examples/demo
## Expected behavior

View file

@ -15,5 +15,5 @@ jobs:
github-token: ${{ secrets.ALGOLIA_BOT_TOKEN }}
repo-owner: algolia
repo-name: docsearch
branch-base: next
branch-base: main
pull-request-title: 'chore(deps): dependencies'

View file

@ -10,7 +10,7 @@ Opening an issue is very effective way to contribute because many users might al
Before reporting an issue, first check that there is not an already open issue for the same topic using the [issues page](https://github.com/algolia/docsearch/issues). Don't hesitate to thumb up an issue that corresponds to the problem you have.
Another element that will help us go faster at solving the issue is to provide a reproducible test case. We recommend to [use this CodeSandbox template](https://codesandbox.io/s/github/algolia/docsearch/tree/next/examples/js).
Another element that will help us go faster at solving the issue is to provide a reproducible test case. We recommend to [use this CodeSandbox template](https://codesandbox.io/s/github/algolia/docsearch/tree/main/examples/js).
## Code contribution

View file

@ -120,7 +120,7 @@ export default App;
DocSearch is made of the following repositories:
- **[algolia/docsearch](https://github.com/algolia/docsearch)**: DocSearch source code.
- **[algolia/docsearch/packages/website](https://github.com/algolia/docsearch/tree/next/packages/website)**: DocSearch website and documentation.
- **[algolia/docsearch/packages/website](https://github.com/algolia/docsearch/tree/main/packages/website)**: DocSearch website and documentation.
- **[algolia/docsearch-configs](https://github.com/algolia/docsearch-configs)**: DocSearch websites configurations that DocSearch powers.
- **[algolia/docsearch-scraper](https://github.com/algolia/docsearch-scraper)**: DocSearch crawler that extracts data from your documentation.

View file

@ -432,7 +432,7 @@ You get access to the [current state](https://github.com/algolia/autocomplete/bl
[5]: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
[6]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
[7]: https://www.algolia.com/doc/api-reference/search-api-parameters/
[8]: https://github.com/algolia/docsearch/blob/next/packages/docsearch-react/src/Hit.tsx
[8]: https://github.com/algolia/docsearch/blob/main/packages/docsearch-react/src/Hit.tsx
[9]: https://codesandbox.io/s/docsearch-v3-debounced-search-gnx87
[10]: https://www.algolia.com/doc/api-client/getting-started/what-is-the-api-client/javascript/?client=javascript
[11]: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/keyboard-navigation/

View file

@ -25,7 +25,7 @@ const lightCodeTheme = require('prism-react-renderer/themes/github');
path: 'docs',
sidebarPath: 'sidebars.js',
editUrl:
'https://github.com/algolia/docsearch/edit/next/packages/website/',
'https://github.com/algolia/docsearch/edit/main/packages/website/',
versions: {
current: {
label: 'current',