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

/dpv fix examples 404 - redirect to version #4537

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

coolharsh55
Copy link
Contributor

- the examples links e.g. https://w3id.org/dpv/examples#E0029 give a 404
  as the rule is set to go to https://w3c.github.io/dpv/examples/#E0066
  which results in a 404
- the correct link should go to the 2.0 versioned page as examples are
  declared in every version even if the files are outside the versioned
  folders at root level
- so the file https://w3c.github.io/dpv/examples/E0066.ttl is shown as
  https://w3c.github.io/dpv/2.0/examples#E0066
- the fix is to write rules that go to the actual file for RDF content
  types and go to the versioned page for HTML content type
- fixes w3c/dpv#200
@davidlehn davidlehn merged commit 7dac335 into perma-id:master Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX]: Examples in the specification results in a HTTP 404
2 participants