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

Relative URLs fail in combination with cleanUrl #1774

Closed
Vinnl opened this issue Sep 5, 2019 · 1 comment
Closed

Relative URLs fail in combination with cleanUrl #1774

Vinnl opened this issue Sep 5, 2019 · 1 comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution v1 This issue is for Docusaurus 1

Comments

@Vinnl
Copy link
Contributor

Vinnl commented Sep 5, 2019

🐛 Bug Report

When cleanUrl is true, relatively links in both page.html and page/index.html have the same target, whereas the former should e.g. be target.html and the latter ../target.html.

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

(Assuming I haven't worked around it by the time this Issue is read:)

  1. Visit https://vincenttunru.gitlab.io/tripledoc/docs/getting-started.html
  2. Click "Cheatsheet" at the bottom of the page.
  3. Now visit https://vincenttunru.gitlab.io/tripledoc/docs/getting-started/index.html
  4. Click "Cheatsheet" at the bottom of the page.

Expected behavior

The correct page to be shown in both step 2 and 4.

Actual Behavior

The correct page is shown at step 2, but not at step 4.

Reproducible Demo

As above: https://vincenttunru.gitlab.io/tripledoc/docs/getting-started/index.html

@endiliey endiliey added the v1 This issue is for Docusaurus 1 label Oct 10, 2019
michielbdejong pushed a commit to michielbdejong/tripledoc that referenced this issue Oct 17, 2019
@endiliey endiliey added the bug An error in the Docusaurus core causing instability or issues with its execution label Nov 13, 2019
@slorber
Copy link
Collaborator

slorber commented Jun 10, 2021

The Docusaurus team is actively working on Docusaurus v2.

After a very long alpha, Docusaurus v2 is now in beta.
We believe that the v2 beta is already better than v1, and v2 is ready for maintstream adoption.

Apart from critical issues and security fixes, we don't plan to invest much time on Docusaurus v1 anymore.

We are all closing v1 issues.
Maybe the current issue is already fixed in Docusaurus v2.
Please try to upgrade, and if the issue is still there on Docusaurus v2, open a new issue.

@slorber slorber closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution v1 This issue is for Docusaurus 1
Projects
None yet
Development

No branches or pull requests

3 participants