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

Provide a 404 page for DPV #139

Closed
coolharsh55 opened this issue Apr 27, 2024 · 2 comments
Closed

Provide a 404 page for DPV #139

coolharsh55 opened this issue Apr 27, 2024 · 2 comments

Comments

@coolharsh55
Copy link
Collaborator

The 404 page currently is the generic Github 404 page e.g. https://w3c.github.io/dpv/random

Create a new 404 page for DPV that displays the 404 error, and (optionally) gives a list of all DPV links (e.g. all paths leading to HTML docs) or a broad overview of DPV with links (e.g. specs and extensions) or link to a sitemap (if sitemap is required, then create a new issue to generate the sitemap).

@coolharsh55
Copy link
Collaborator Author

Please review an implementation at https://harshp.com/dpv-x/test which:

  1. provides url and w3id purl in case there are typos
  2. checks if the url is unversioned and provides a versioned form (for latest release 2.0) to check if that is the correct url
  3. provides a list of resources (directories) in the repo which correspond to specifications

Code is at https://github.com/coolharsh55/dpv-x/blob/master/404.html

@coolharsh55 coolharsh55 added review and removed todo labels Jul 21, 2024
@coolharsh55
Copy link
Collaborator Author

Completed - see https://w3id.org/dpv/404/404 for demo.

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

1 participant