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

Add 404 text, restore internationalization folder #238

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

smythp
Copy link
Collaborator

@smythp smythp commented Aug 24, 2023

Description

This PR restores the i18n (internationalization) folder that contains text for some interface elements on the site, such as the search box and 404 page. Further, it changes the 404 text and restyles the 404 page slightly.

Context

Currently, the 404 page has no text, which is not ideal. While the site is not a multilingual site, we have current issues open related to making the docs site multilingual and restoring the i18n page would be a good, if minor, first step in that direction. Therefore, I've restored the i18n page rather than hardcoding English into these interface elements.

Notes

Resolves #236

References #131

@netlify
Copy link

netlify bot commented Aug 24, 2023

Deploy Preview for docssigstore ready!

Name Link
🔨 Latest commit 1a5a812
🔍 Latest deploy log https://app.netlify.com/sites/docssigstore/deploys/64e6be925511fa00087161c1
😎 Deploy Preview https://deploy-preview-238--docssigstore.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Changed 404 text.

Restyled 404 page

Restored internationalization folder deleted while setting up site. This
folder is used for i18n of interface elements. By default, the 404 pages
and search box refer to the i18n folder for text.

Resolves sigstore#236

Signed-off-by: Patrick Smyth <patrick@iotaschool.com>
@smythp smythp force-pushed the add-404-restore-i18n branch from b52cbf0 to 1a5a812 Compare August 24, 2023 02:21
@ltagliaferri ltagliaferri merged commit 90537ba into sigstore:main Aug 24, 2023
normal-coder added a commit to normal-coder/Sigstore-Docs that referenced this pull request Aug 25, 2023
* main:
  ci(github action): add Markdown linter check support for main branch (sigstore#227)
  Redirects now appears in public (sigstore#234)
  add 'cosign sign-blob'in the mTLS TSA section (sigstore#239)
  Changed 404 text, restored i18n (sigstore#238)
  Restored Netlify redirects file (sigstore#233)
  Removed docs from URL path (sigstore#232)
  Corrected the confusion of steps in the document due to formatting (sigstore#220)
  Added anchor text to link to releases page (sigstore#223)
normal-coder added a commit to normal-coder/Sigstore-Docs that referenced this pull request Aug 25, 2023
* main:
  ci(github action): add Markdown linter check support for main branch (sigstore#227)
  Redirects now appears in public (sigstore#234)
  add 'cosign sign-blob'in the mTLS TSA section (sigstore#239)
  Changed 404 text, restored i18n (sigstore#238)
  Restored Netlify redirects file (sigstore#233)
  Removed docs from URL path (sigstore#232)
  Corrected the confusion of steps in the document due to formatting (sigstore#220)
  Added anchor text to link to releases page (sigstore#223)
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.

Add better 404 page
2 participants