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): markdown pages #3158

Merged
merged 14 commits into from
Jul 31, 2020
Merged

feat(v2): markdown pages #3158

merged 14 commits into from
Jul 31, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jul 29, 2020

Motivation

#2882

(replaces former pr: #2947)

We should be able to create pages by dropping a .md / .mdx file directly into the /pages folder.

Frontmatter: keep it simple for now, just title/description

Test Plan

Deploy preview, tests, and dogfooding with an example page on D2 website

Doc

https://v2.docusaurus.io/docs/next/creating-pages

@slorber slorber marked this pull request as draft July 29, 2020 17:43
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jul 29, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 7d25e7e

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

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 29, 2020
# Conflicts:
#	packages/docusaurus-plugin-content-pages/package.json
#	packages/docusaurus-plugin-content-pages/src/__tests__/index.test.ts
#	packages/docusaurus-plugin-content-pages/src/index.ts
#	packages/docusaurus-utils/src/index.ts
# Conflicts:
#	packages/docusaurus-plugin-content-pages/package.json
@slorber slorber marked this pull request as ready for review July 30, 2020 17:29
@slorber
Copy link
Collaborator Author

slorber commented Jul 30, 2020

Ready for review, will merge tomorrow

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Jul 31, 2020
@slorber slorber merged commit 7cceee7 into master Jul 31, 2020
@yangshun yangshun deleted the slorber/md-pages branch August 26, 2020 02:00
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