Skip to content

Commit

Permalink
docs: Update search plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cmfcmf committed Feb 26, 2023
1 parent 255b93e commit ecda010
Show file tree
Hide file tree
Showing 5 changed files with 2,998 additions and 3,005 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ jobs:
with:
# fetch complete history so that the "last updated by" texts can be set correctly
fetch-depth: 0
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- name: Build Docs
run: |
cd docs
Expand All @@ -102,7 +102,7 @@ jobs:
with:
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/OpenWeatherMap-PHP-API
FOLDER: docs/build
CLEAN: true
SINGLE_COMMIT: true
GIT_CONFIG_NAME: GitHub Actions
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = {
],
],
plugins: [
// require('path').resolve(__dirname, '../../docusaurus-search-local'),
// require('path').resolve(__dirname, '../../docusaurus-search-local/packages/docusaurus-search-local'),
require.resolve('@cmfcmf/docusaurus-search-local')
]
};
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"private": true,
"scripts": {
"start": "docusaurus start",
"build": "docusaurus build --out-dir build/OpenWeatherMap-PHP-API",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"serve": "docusaurus serve",
"deploy": "docusaurus deploy"
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.9.3",
"@docusaurus/core": "^2.0.0-beta.14",
"@docusaurus/preset-classic": "^2.0.0-beta.14",
"clsx": "^1.1.1",
"@cmfcmf/docusaurus-search-local": "^1.0.0",
"@docusaurus/core": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"clsx": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
Loading

0 comments on commit ecda010

Please sign in to comment.