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

update Docusaurus, fix hash links #2119

Merged

Conversation

Simek
Copy link
Collaborator

@Simek Simek commented Aug 2, 2020

Refs facebook/docusaurus#3124

Fixes #2081

This PR updates Docusaurus to the latest version and adds slugPreprocessor config field with RegExp removing HTML content.

slugPreprocessor function is executed before creating the hash link slug, this enables the hash links customization.

@Simek Simek added the Dependencies Pull requests that update a dependency file label Aug 2, 2020
@Simek Simek requested a review from rachelnabors August 2, 2020 11:32
@react-native-bot
Copy link

Deploy preview for react-native ready!

Built with commit 7675ee0

https://deploy-preview-2119--react-native.netlify.app

Changes to docs/ are reflected in the next "master" version.

Thank you for your contributions.

How to ContributeDocumentation Sources

Copy link
Contributor

@rachelnabors rachelnabors left a comment

Choose a reason for hiding this comment

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

Thank you for working with Docusaurus to make this happen! This helps so much!

@rachelnabors rachelnabors merged commit 1005afe into facebook:master Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links of props getting exposed incorrectly.
4 participants