Skip to content

Conversation

@patrikbraborec
Copy link
Contributor

Summary

Remove the landing page and redirect users directly to the documentation. Users will now go to /cli/docs instead of the landing page at /cli/.

Changes

  • Removed website/src/pages/index.js (landing page component)
  • Removed website/src/pages/index.module.css (associated styles)

Rationale

The landing page duplicated information already available in the main documentation. By removing it and redirecting to /cli/docs, we provide a more streamlined experience for users.

Related

This PR is related to apify/apify-docs PR that updates the menu links to point to /cli/docs.

🤖 Generated with Claude Code

Remove the landing page and redirect users directly to the documentation.
Users will now go to /cli/docs instead of the landing page at /cli/.

Changes:
- Removed website/src/pages/index.js (landing page component)
- Removed website/src/pages/index.module.css (associated styles)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Create redirect page at /cli/ that redirects to /cli/docs
- Override footer logo to point to /docs instead of /
- Fixes broken links after landing page removal

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
patrikbraborec added a commit to apify/apify-client-js that referenced this pull request Jan 23, 2026
## Summary
Remove the landing page and redirect users directly to the documentation. Users will now go to `/api/client/js/docs` instead of the landing page at `/api/client/js/`.

## Changes
- Replaced landing page with redirect to `/api/client/js/docs`
- Removed `website/src/pages/index.module.css` (associated styles)
- Updated footer logo href to point to `docs`

## Rationale
The landing page duplicated information already available in the main documentation. By removing it and redirecting to `/api/client/js/docs`, we provide a more streamlined experience for users.

## Related
This PR is coordinated with:
- apify/apify-docs#2201 that updates the menu links
- apify/apify-cli#1003 (similar change for CLI)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
patrikbraborec added a commit to apify/apify-client-python that referenced this pull request Jan 23, 2026
## Summary
Remove the landing page and redirect users directly to the documentation. Users will now go to `/api/client/python/docs/introduction/overview` instead of the landing page at `/api/client/python/`.

## Changes
- Replaced landing page with redirect to `/api/client/python/docs/introduction/overview`
- Removed `website/src/pages/index.module.css` (associated styles)
- Updated footer logo href to point to `docs/introduction/overview`

## Rationale
The landing page duplicated information already available in the main documentation. By removing it and redirecting to `/api/client/python/docs/introduction/overview`, we provide a more streamlined experience for users.

## Related
This PR is coordinated with:
- apify/apify-docs#2201 that updates the menu links
- apify/apify-cli#1003 (similar change for CLI)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
patrikbraborec added a commit to apify/apify-client-js that referenced this pull request Jan 23, 2026
## Summary
Remove the landing page and redirect users directly to the documentation. Users will now go to `/api/client/js/docs` instead of the landing page at `/api/client/js/`.

## Changes
- Replaced landing page with redirect to `/api/client/js/docs`
- Removed `website/src/pages/index.module.css` (associated styles)
- Updated footer logo href to point to `docs`

## Rationale
The landing page duplicated information already available in the main documentation. By removing it and redirecting to `/api/client/js/docs`, we provide a more streamlined experience for users.

## Related
This PR is coordinated with:
- apify/apify-docs#2201 that updates the menu links
- apify/apify-cli#1003 (similar change for CLI)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
patrikbraborec added a commit to apify/apify-client-python that referenced this pull request Jan 23, 2026
## Summary
Remove the landing page and redirect users directly to the documentation. Users will now go to `/api/client/python/docs/introduction/overview` instead of the landing page at `/api/client/python/`.

## Changes
- Replaced landing page with redirect to `/api/client/python/docs/introduction/overview`
- Removed `website/src/pages/index.module.css` (associated styles)
- Updated footer logo href to point to `docs/introduction/overview`

## Rationale
The landing page duplicated information already available in the main documentation. By removing it and redirecting to `/api/client/python/docs/introduction/overview`, we provide a more streamlined experience for users.

## Related
This PR is coordinated with:
- apify/apify-docs#2201 that updates the menu links
- apify/apify-cli#1003 (similar change for CLI)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
@patrikbraborec patrikbraborec changed the title Remove landing page from CLI documentation docs: Remove landing page from CLI documentation Jan 23, 2026
@patrikbraborec patrikbraborec requested review from B4nan and TC-MO January 23, 2026 11:37
Comment on lines +7 to +9
useEffect(() => {
history.replace('/cli/docs');
}, [history]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets add a server side redirect to https://github.com/apify/apify-docs/blob/master/nginx.conf

(this applies to all the PRs about the landing pages)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-c&c Team covering store and finance matters.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants