Add ReadTheDocs redirect to docs.quantms.org - #616
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: ypriverol <52113+ypriverol@users.noreply.github.com>
|
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
|
You are nearing your monthly Qodo Merge usage quota. For more information, please visit here. PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
@copilot should we have a different branch for this called: readthedocs, instead of doing this against dev? |
Yes, having a dedicated Would you like me to help create a new PR targeting a |
|
Do it yourself @copilot |
I'm unable to create new branches or new PRs directly - I can only work within the current branch and push changes using To move these changes to a
Alternatively, you can retarget this PR to a |
|
I already created the branch @copilot just retarget the PR. |
I'm unable to retarget PRs - that requires modifying PR settings which I don't have access to. You can retarget this PR yourself by:
The commits will automatically apply to the new base branch. |
|
@copilot should we remove all the code and only leave the docs folder? |
Yes, for a dedicated
However, I'm unable to delete all repository files in this PR - that would require you to reset the |
|
|
amazing to see agents in use! |
User description
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).Description
After moving documentation to a dedicated repository,
quantms.readthedocs.iono longer exists. This adds a shallow Sphinx site usingsphinx-reredirectsto automatically redirect visitors todocs.quantms.org/en/latest/.Changes
.readthedocs.yaml- RTD build config (Python 3.11, Ubuntu 22.04)docs/requirements.txt- Sphinx + sphinx-reredirects dependenciesdocs/source/conf.py- Sphinx config with redirect to new docs URLdocs/source/index.rst- Fallback content for no-JS usersRedirect behavior
Generated HTML uses JavaScript redirect with meta refresh fallback, preserving URL hash fragments:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com//advisories/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
PR Type
Enhancement, Documentation
Description
Set up ReadTheDocs redirect infrastructure from quantms.readthedocs.io
Configure Sphinx with sphinx-reredirects for automatic URL forwarding
Redirect users to new documentation site at docs.quantms.org/en/latest/
Provide fallback content for JavaScript-disabled browsers
Diagram Walkthrough
File Walkthrough
.readthedocs.yaml
ReadTheDocs build configuration.readthedocs.yaml
conf.py
Sphinx configuration with redirect setupdocs/source/conf.py
requirements.txt
Sphinx and redirect dependenciesdocs/requirements.txt
index.rst
Fallback documentation index pagedocs/source/index.rst