Migrate the RAPIDS docs portal while preserving API hosting - #827
Conversation
✅ Deploy Preview for docs-rapids-ai ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| status: |
There was a problem hiding this comment.
Remove this option, make it always 301.
| run: | | ||
| uv run python scripts/generate_redirect_site.py \ | ||
| --output _redirect_site/_redirects \ | ||
| --status 302 |
There was a problem hiding this comment.
Remove this option, always use status 301.
| def _context(app, docname: str = "index") -> dict: | ||
| data = app.rapids_portal_data | ||
| config = getattr(app, "config", None) | ||
| site_baseurl = getattr(config, "html_baseurl", "https://docs.rapids.ai/") |
There was a problem hiding this comment.
The default should be https://docs.nvidia.com/datascience/.
|
I just went through this PR, and I think we can make a small change in the This workflow publishes at the One idea to resolve this would be to add an optional That would eliminate the need for AWS setup, S3 sync, Akamai dependency installation, flush requests and cleanup which is all done in inline code in the workflow, in favour of using the Happy to open a PR on |
Add an optional `target-s3-exclude` input to the `publish-docs` action Newline separated glob patterns can be passed to the `aws s3 sync` as `--exclude` flags. These paths are neither uploaded or deleted as a result and a subtree published by another workflow can be independent under the same location. Towards [rapidsai/docs#827](rapidsai/docs#827 (comment)), with the aim of publishing the deployment docs separate from the main RAPIDS docs. Authors: - Jaya Venkatesh (https://github.com/jayavenkatesh19) Approvers: - Bradley Dice (https://github.com/bdice) URL: #145
Summary
Move the RAPIDS documentation portal to https://docs.nvidia.com/datascience/ while keeping unmigrated API documentation available on
docs.rapids.ai.rapidsai/shared-actions/publish-docs. Excludedeployment/*from uploads and deletions sorapidsai/deploymentretains ownership of that subtree.Rollout checks
docs.rapids.ai.