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

feat(v2): editUrl functions should receive md doc permalink #4232

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Feb 17, 2021

Motivation

The editUrl fn should provide the user with the doc/blog permalink.

This is useful for future integrations with online editing sandboxes like StackBlitz and CodeSandbox, as it allows to load the site on the correct page by passing a querystring param.

cc @EricSimons

Test Plan

tests

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Feb 17, 2021
@slorber slorber requested a review from lex111 as a code owner February 17, 2021 10:28
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Feb 17, 2021
@netlify
Copy link

netlify bot commented Feb 17, 2021

[V1] Deploy preview success

Built with commit ac641cc

https://deploy-preview-4232--docusaurus-1.netlify.app

@netlify
Copy link

netlify bot commented Feb 17, 2021

Deploy preview for docusaurus-2 ready!

Built with commit ac641cc

https://deploy-preview-4232--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 80
🟢 Accessibility 96
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-4232--docusaurus-2.netlify.app/classic/

@github-actions
Copy link

Size Change: +15 B (0%)

Total Size: 158 kB

ℹ️ View Unchanged
Filename Size Change
website/build/assets/css/styles.********.css 17.6 kB 0 B
website/build/assets/js/main.********.js 111 kB +14 B (0%)
website/build/blog/2017/12/14/introducing-docusaurus/index.html 21.7 kB -1 B (0%)
website/build/docs/introduction/index.html 180 B 0 B
website/build/index.html 6.95 kB +2 B (0%)

compressed-size-action

@slorber slorber merged commit ae988d0 into master Feb 17, 2021
@lex111 lex111 added this to the v2.0.0-alpha.71 milestone Mar 1, 2021
This was referenced Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants