Skip to content

Commit f7f01e2

Browse files
authoredJun 11, 2024
Merge branch 'main' into php-8.2
2 parents 18f4f41 + ecda010 commit f7f01e2

File tree

5 files changed

+2998
-3005
lines changed

5 files changed

+2998
-3005
lines changed
 

‎.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ jobs:
8181
with:
8282
# fetch complete history so that the "last updated by" texts can be set correctly
8383
fetch-depth: 0
84-
- name: Use Node.js 14.x
84+
- name: Use Node.js 18.x
8585
uses: actions/setup-node@v1
8686
with:
87-
node-version: 14.x
87+
node-version: 18.x
8888
- name: Build Docs
8989
run: |
9090
cd docs
@@ -97,7 +97,7 @@ jobs:
9797
with:
9898
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9999
BRANCH: gh-pages
100-
FOLDER: docs/build/OpenWeatherMap-PHP-API
100+
FOLDER: docs/build
101101
CLEAN: true
102102
SINGLE_COMMIT: true
103103
GIT_CONFIG_NAME: GitHub Actions

‎.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

‎docs/docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = {
110110
],
111111
],
112112
plugins: [
113-
// require('path').resolve(__dirname, '../../docusaurus-search-local'),
113+
// require('path').resolve(__dirname, '../../docusaurus-search-local/packages/docusaurus-search-local'),
114114
require.resolve('@cmfcmf/docusaurus-search-local')
115115
]
116116
};

‎docs/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"private": true,
55
"scripts": {
66
"start": "docusaurus start",
7-
"build": "docusaurus build --out-dir build/OpenWeatherMap-PHP-API",
7+
"build": "docusaurus build",
88
"swizzle": "docusaurus swizzle",
99
"serve": "docusaurus serve",
1010
"deploy": "docusaurus deploy"
1111
},
1212
"dependencies": {
13-
"@cmfcmf/docusaurus-search-local": "^0.9.3",
14-
"@docusaurus/core": "^2.0.0-beta.14",
15-
"@docusaurus/preset-classic": "^2.0.0-beta.14",
16-
"clsx": "^1.1.1",
13+
"@cmfcmf/docusaurus-search-local": "^1.0.0",
14+
"@docusaurus/core": "^2.3.1",
15+
"@docusaurus/preset-classic": "^2.3.1",
16+
"clsx": "^1.2.1",
1717
"react": "^17.0.2",
1818
"react-dom": "^17.0.2"
1919
},

0 commit comments

Comments
 (0)