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

Set the basepath for PR previews #1691

Merged
merged 6 commits into from
Jul 12, 2024
Merged

Set the basepath for PR previews #1691

merged 6 commits into from
Jul 12, 2024

Conversation

Eric-Arellano
Copy link
Collaborator

@Eric-Arellano Eric-Arellano commented Jul 11, 2024

This is necessary to get Next.js to use the correct links for loading CSS/JS files and for links to other HTML files. Otherwise, it uses links like /my-file which go to qiskit.github.io/my-file rather than qiskit.github.io/documentation/pr-x/my-file.

@Eric-Arellano Eric-Arellano added this pull request to the merge queue Jul 12, 2024
Merged via the queue into main with commit c3dbff1 Jul 12, 2024
1 check passed
@Eric-Arellano Eric-Arellano deleted the EA/fix-base-path branch July 12, 2024 16:10
frankharkins pushed a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
This is necessary to get Next.js to use the correct links for loading
CSS/JS files and for links to other HTML files. Otherwise, it uses links
like `/my-file` which go to `qiskit.github.io/my-file` rather than
`qiskit.github.io/documentation/pr-x/my-file`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants