Compare commits
6 Commits
main
...
docusaurus
| Author | SHA1 | Date |
|---|---|---|
|
|
e1ca429a1a | |
|
|
dee6c4648e | |
|
|
b873486c87 | |
|
|
6b9ba34020 | |
|
|
eac9710dff | |
|
|
4e12fbf28e |
|
|
@ -3,7 +3,7 @@ name: Canary Release
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- docusaurus-v1
|
||||
paths:
|
||||
- 'packages/**'
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ name: Lint
|
|||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- docusaurus-v1
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ name: Migration CLI
|
|||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- docusaurus-v1
|
||||
paths:
|
||||
- packages/docusaurus-migration/**
|
||||
- website-1.x/**
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ name: V1 Tests Windows
|
|||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- docusaurus-v1
|
||||
paths:
|
||||
- 'website-1.x/**'
|
||||
- 'packages/docusaurus-1.x/**'
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ name: V1 Tests
|
|||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- docusaurus-v1
|
||||
paths:
|
||||
- 'website-1.x/**'
|
||||
- 'packages/docusaurus-1.x/**'
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -20,6 +20,16 @@
|
|||
<a href="https://meercode.io/facebook/docusaurus"><img src="https://meercode.io/badge/facebook/docusaurus?type=ci-score" alt="CI Score"></a>
|
||||
</p>
|
||||
|
||||
## DOCUSAURUS-V1 BRANCH
|
||||
|
||||
Important: this is the archive branch containing the Docusaurus v1 code.
|
||||
|
||||
It also contains Docusaurus v2, because when we created the branch, both v1 and v2 lived on master.
|
||||
|
||||
As v1 is not active anymore, we didn't do the cleanup of this branch.
|
||||
|
||||
---
|
||||
|
||||
> **We are working hard on Docusaurus v2. If you are new to Docusaurus, try using the new version instead of v1. See the [Docusaurus v2 website](https://docusaurus.io/) for more details.**
|
||||
|
||||
> Docusaurus v1 doc is available at [v1.docusaurus.io](https://v1.docusaurus.io)
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
"@babel/plugin-proposal-optional-chaining": "^7.12.16",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.12.13",
|
||||
"@babel/preset-typescript": "^7.12.16",
|
||||
"@crowdin/cli": "^3.5.3",
|
||||
"@crowdin/cli": "^3.7.1",
|
||||
"@formatjs/intl-datetimeformat": "^3.2.12",
|
||||
"@formatjs/intl-numberformat": "^6.2.2",
|
||||
"@formatjs/intl-pluralrules": "^4.0.11",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
title: Algolia DocSearch Migration
|
||||
author: Sébastien Lorber
|
||||
authorTitle: Docusaurus maintainer
|
||||
authorURL: https://sebastienlorber.com
|
||||
authorImageURL: https://github.com/slorber.png
|
||||
authorTwitter: sebastienlorber
|
||||
tags: [algolia]
|
||||
image: /img/blog/2021-05-12-announcing-docusaurus-two-beta/social-card.png
|
||||
---
|
||||
|
||||
Algolia DocSearch is migrating to a new system.
|
||||
|
||||
Docusaurus v1 sites should upgrade their configuration.
|
||||
|
||||
<!--truncate-->
|
||||
|
||||
Algolia will stop crawling and updating your existing index soon, potentially leading to stale search results.
|
||||
|
||||
From now on, it will be required to use an `appId` in your Docusaurus v1 site configuration:
|
||||
|
||||
```js
|
||||
const siteConfig = {
|
||||
algolia: {
|
||||
appId: '...', // Now required!
|
||||
apiKey: '...',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = siteConfig;
|
||||
```
|
||||
|
||||
The migration will roll out in batches, and you should receive a new `appId` and `apiKey` by email soon, with an invitation to join the Algolia SaaS application.
|
||||
|
||||
More information can be found in on the [DocSearch migration page](https://docsearch.algolia.com/docs/migrating-from-legacy) and we will publish a [Docusaurus v2 blog post](https://v2.docusaurus.io/blog).
|
||||
|
|
@ -519,6 +519,13 @@ const users = [
|
|||
pinned: false,
|
||||
},
|
||||
{
|
||||
caption: 'phpseclib',
|
||||
image: '/img/users/phpseclib.png',
|
||||
infoLink: 'https://phpseclib.com/',
|
||||
fbOpenSource: false,
|
||||
pinned: false,
|
||||
},
|
||||
{
|
||||
caption: 'pnpm',
|
||||
image: '/img/users/pnpm.svg',
|
||||
infoLink: 'https://pnpm.js.org/',
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ const siteConfig = {
|
|||
footerIcon: 'img/docusaurus_monochrome.svg',
|
||||
favicon: 'img/docusaurus.ico',
|
||||
algolia: {
|
||||
apiKey: '3eb9507824b8be89e7a199ecaa1a9d2c',
|
||||
// apiKey: '3eb9507824b8be89e7a199ecaa1a9d2c',
|
||||
appId: 'NHNLQ9RRTP',
|
||||
apiKey: '9fd932b3605878e173f39bf8e2049466',
|
||||
indexName: 'docusaurus',
|
||||
algoliaOptions: {
|
||||
facetFilters: ['language:LANGUAGE', 'version:VERSION'],
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
|
|
@ -1239,10 +1239,10 @@
|
|||
exec-sh "^0.3.2"
|
||||
minimist "^1.2.0"
|
||||
|
||||
"@crowdin/cli@^3.5.2", "@crowdin/cli@^3.5.3":
|
||||
version "3.5.3"
|
||||
resolved "https://registry.yarnpkg.com/@crowdin/cli/-/cli-3.5.3.tgz#2d7a92fa25ecddc3f74ca024ab3ec352e8fab814"
|
||||
integrity sha512-pzgiu5Mxy6j4tibVjTsNDnms+jGBbgaEPtD2RMOBa4psyhX8yY7LUOYbo1ok4b0VQMUMwJ/KYXzmjJS4GVGgUw==
|
||||
"@crowdin/cli@^3.5.2", "@crowdin/cli@^3.7.1":
|
||||
version "3.7.1"
|
||||
resolved "https://registry.yarnpkg.com/@crowdin/cli/-/cli-3.7.1.tgz#41807cff11d3e07bc07cae9bfe012332f31dfd3b"
|
||||
integrity sha512-UJrppchjYW2Gyl/2Tl9C2txYsyA44lJkrx04BhmaihvsJT82x5YKvvvUuvvfCUukG4+3relo0EoQG846PZX3ng==
|
||||
dependencies:
|
||||
shelljs "^0.8.4"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue