Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/_release_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: website/package-lock.json
cache: yarn
cache-dependency-path: website/yarn.lock

- name: Install Node dependencies
run: |
npm install
npm update @apify/docs-theme
yarn install
yarn upgrade @apify/docs-theme
working-directory: ./website

# We do this as early as possible to prevent conflicts if someone else would push something in the meantime
Expand All @@ -53,7 +53,7 @@ jobs:
git config user.name 'GitHub Actions'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add website/package.json
git add website/package-lock.json
git add website/yarn.lock
git diff-index --quiet HEAD || git commit -m 'chore: Automatic docs theme update [skip ci]' || true
git push

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ shell = "uv run ruff format --check && uv run ruff check"
shell = "uv run ruff check --fix && uv run ruff format"

[tool.poe.tasks.build-docs]
shell = "./build_api_reference.sh && npm ci && npm run build"
shell = "./build_api_reference.sh && corepack enable && yarn && uv run yarn build"
cwd = "website"

[tool.poe.tasks.run-docs]
shell = "./build_api_reference.sh && npm ci && npm run start"
shell = "./build_api_reference.sh && corepack enable && yarn && uv run yarn start"
cwd = "website"
2 changes: 2 additions & 0 deletions website/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
enableGlobalCache: true
30 changes: 15 additions & 15 deletions website/package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
{
"name": "apify-client-python",
"private": "true",
"scripts": {
"clean": "rimraf .docusaurus build",
"build": "npm run clean && docusaurus build",
"start": "npm run clean && docusaurus start",
"deploy": "npm run clean && docusaurus deploy",
"build": "yarn clean && docusaurus build",
"start": "yarn clean && docusaurus start",
"deploy": "yarn clean && docusaurus deploy",
"docusaurus": "docusaurus",
"publish-gh-pages": "docusaurus-publish",
"rename-version": "docusaurus rename-version",
"swizzle": "docusaurus swizzle",
"version": "docusaurus version",
"write-translations": "docusaurus write-translations",
"prettify": "prettier --write --config ./tools/docs-prettier.config.js ../docs/*.md ../docs/*.mdx",
"lint": "npm run lint:md && npm run lint:code",
"lint:fix": "npm run lint:md:fix && npm run lint:code:fix",
"lint": "yarn lint:md && yarn lint:code",
"lint:fix": "yarn lint:md:fix && yarn lint:code:fix",
"lint:md": "markdownlint --config ../.markdownlint.yaml '../docs/**/*.md' '../docs/**/*.mdx' --ignore '../docs/changelog.md'",
"lint:md:fix": "npm run lint:md -- --fix",
"lint:md:fix": "yarn lint:md --fix",
"lint:code": "eslint .",
"lint:code:fix": "eslint . --fix"
},
"dependencies": {
"@apify/docs-theme": "^1.0.181",
"@apify/docs-theme": "^1.0.203",
"@apify/docusaurus-plugin-typedoc-api": "^5.0.0",
"@docusaurus/core": "^3.8.1",
"@docusaurus/faster": "^3.8.1",
Expand All @@ -30,27 +29,28 @@
"@rspack/core": "<1.6.0",
"@signalwire/docusaurus-plugin-llms-txt": "^1.2.2",
"clsx": "^2.0.0",
"docusaurus-gtm-plugin": "^0.0.2",
"docusaurus-gtm-plugin": ">=0.0.1 <1.0.0",
"prop-types": "^15.8.1",
"raw-loader": "^4.0.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@apify/eslint-config-ts": "^0.4.0",
"@apify/tsconfig": "^0.1.0",
"@apify/eslint-config-ts": ">=0.0.1 <1.0.0",
"@apify/tsconfig": ">=0.0.1 <1.0.0",
"@types/react": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^7.0.0",
"markdownlint": "^0.39.0",
"markdownlint-cli": "^0.46.0",
"markdownlint": ">=0.0.1 <1.0.0",
"markdownlint-cli": ">=0.0.1 <1.0.0",
"path-browserify": "^1.0.1",
"prettier": "^3.0.0",
"rimraf": "^6.0.0"
"rimraf": "^6.0.0",
"typescript": "^5.0.0"
},
"packageManager": "npm@11.7.0"
"packageManager": "yarn@4.12.0"
}
Loading
Loading