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

Docs viewer improvements #83

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Docs viewer improvements #83

merged 2 commits into from
Mar 1, 2024

Conversation

rafapaezbas
Copy link
Contributor

No description provided.

window.scrollBy(0, -1 * (pearHeaderHeight + extraScroll - elementY))
}
const anchor = opts.anchor
if (isDocumentationPage && anchor) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we talked about, I'd still change this so that it's all covered in the name. So const shouldShowSpecificSection = anchor && pathname.startsWith('/documentation')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@rafapaezbas rafapaezbas merged commit 675ac09 into main Mar 1, 2024
5 checks passed
@rafapaezbas rafapaezbas deleted the docs-viewer-improvements branch March 1, 2024 09:44
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.

2 participants