Skip to content

update Docusaurus, fix hash links#2119

Merged
nearestnabors merged 1 commit into
react:masterfrom
Simek:update-docusaurus-fix-hash-links
Aug 3, 2020
Merged

update Docusaurus, fix hash links#2119
nearestnabors merged 1 commit into
react:masterfrom
Simek:update-docusaurus-fix-hash-links

Conversation

@Simek

@Simek Simek commented Aug 2, 2020

Copy link
Copy Markdown
Collaborator

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 nearestnabors August 2, 2020 11:32
@react-native-bot

Copy link
Copy Markdown

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

@nearestnabors nearestnabors left a comment

Copy link
Copy Markdown
Contributor

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!

@nearestnabors nearestnabors merged commit 1005afe into react: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