Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some page URLs end in .rst #798

Closed
frankharkins opened this issue Feb 13, 2024 · 2 comments
Closed

Some page URLs end in .rst #798

frankharkins opened this issue Feb 13, 2024 · 2 comments
Assignees

Comments

@frankharkins
Copy link
Member

The following files in docs/api/qiskit end in .rst.md:

qiskit.pulse.library.Constant_class.rst.md
qiskit.pulse.library.Cos_class.rst.md
qiskit.pulse.library.Drag_class.rst.md
qiskit.pulse.library.Gaussian_class.rst.md
qiskit.pulse.library.Sawtooth_class.rst.md
qiskit.pulse.library.Sech_fun.rst.md
qiskit.pulse.library.Sin_class.rst.md
qiskit.pulse.library.Square_fun.rst.md
qiskit.pulse.library.Triangle_class.rst.md

The .rst ends up in the URL. For example, see https://docs.quantum.ibm.com/api/qiskit/qiskit.pulse.library.Square_fun.rst.

@Eric-Arellano
Copy link
Collaborator

Yeah, this quirk has caused a lot of problems, including with our redirect rules. We should fix this, but make sure we set up redirects correctly.

@Eric-Arellano
Copy link
Collaborator

I've opened up Qiskit/qiskit#13107. Assuming that gets merged, we'll need to set up redirects.

github-merge-queue bot pushed a commit that referenced this issue Sep 13, 2024
This brings in a fix for
#798, which means that we
need to set up our historical redirects for those RST files in Qiskit to
go to the now renamed files. I will set up redirects in closed source.
@javabster javabster removed this from Docs Planning Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants