Skip to content

[DOC-587] Fix anchor links scrolling behaviour #251

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 1 commit into from
Sep 29, 2023
Merged

[DOC-587] Fix anchor links scrolling behaviour #251

merged 1 commit into from
Sep 29, 2023

Conversation

dandimeo
Copy link
Contributor

Description

modified the scrollToOpenApiFragment function to handle any fragment scrolling beahviour as scrollToFragment().
Include scrollToFragment() call in loadPage() so to handle the fragment scrolling in any kind of page loading

Upstream PRs

  • 3.10:
  • 3.11:
  • 3.12:

@arangodb-docs-automation
Copy link
Contributor

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

@dandimeo dandimeo changed the base branch from main to DOC-573 September 28, 2023 15:17
@nerpaula nerpaula merged commit 7a00d1a into DOC-573 Sep 29, 2023
@nerpaula nerpaula deleted the DOC-587 branch September 29, 2023 09:34
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