Skip to content

[DOC-565] 404 page #247

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

Merged
merged 8 commits into from
Oct 3, 2023
Merged

[DOC-565] 404 page #247

merged 8 commits into from
Oct 3, 2023

Conversation

dandimeo
Copy link
Contributor

Description

Upstream PRs

  • 3.10:
  • 3.11:
  • 3.12:

@arangodb-docs-automation
Copy link
Contributor

Deploy Preview Available Via
https://deploy-preview-247--docs-hugo.netlify.app

@Simran-B
Copy link
Contributor

Accessing an invalid version seems to load the stable version, which is a little strange:
https://deploy-preview-247--docs-hugo.netlify.app/3.9/get-started/overview/

@Simran-B
Copy link
Contributor

Invalid URLs like https://deploy-preview-247--docs-hugo.netlify.app/latest/aql/functions/ now give the 404 page.
3.8/3.9 redirects are a nice touch!

@nerpaula nerpaula merged commit 3c3abb3 into DOC-573 Oct 3, 2023
@nerpaula nerpaula deleted the DOC-565 branch October 3, 2023 11:09
nerpaula added a commit that referenced this pull request Oct 5, 2023
* add permalinks to main hugo config

* basic alias versioning working

* add netlify redirect test

* use _redirects into public for netlify redirect

* try sudo chown on public

* finalize netlify redirects

* first draft of new alias handling

* delete netlify redirects

* cut _redirects from circleci

* fix changeVersion

* stable as redirect

* alias header-links

* fix title

* add aliases to breadcrumbs and homepage button

* add back to top button

* add 404 call to not found page

* use notfound page for real 404

* use notfound.html as real 404 page

* fix 3.8 3.9 redirect issue

* fix setVersionSelector

* fix: fix not found version

* fix: fix anchor links scroll behaviour, put the scroll function call in loadPage() and delete debug warnf page (#251)

Co-authored-by: dandimeo <daniele@arangodb.com>

* fix: fix introduced bug that didn't redirect to 3.8 3.9 old docs

* [DOC-565] 404 page (#247)

* first 404 implemenetaiton

* fix: add missing / at homepage redirect

* finish not found implementation

* get rid of page-loading system in 404.html

---------

Co-authored-by: dandimeo <daniele@arangodb.com>

* fix search on page load

---------

Co-authored-by: dandimeo <daniele@arangodb.com>
Co-authored-by: Paula Mihu <97217318+nerpaula@users.noreply.github.com>
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.

3 participants