Skip to content

feat(v2): enable MDX for pages - #1610

Closed
yangshun wants to merge 6 commits into
srcfrom
pages-mdx
Closed

yangshun wants to merge 6 commits into
srcfrom
pages-mdx

Conversation

@yangshun

Copy link
Copy Markdown
Contributor

Motivation

I want to write markdown for pages!

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

See Netlify preview and go to /about.

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

@yangshun
yangshun requested a review from endiliey as a code owner June 15, 2019 07:30
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 15, 2019
endiliey and others added 6 commits June 16, 2019 00:00
* Add `unlisted` header option for blog posts, fixes #1393.

Previously, the blog sidebar listed the most recent blog posts sorted by
their publish date. This commit adds the ability to hide a specific blog
post from the sidebar and the feed of all blog posts by adding the
`unlisted: true` header option.

```md
title: My Draft Post
unlisted: true # Hide from blog sidebar and main blog page feed.
---
```

* Rename "unlisted" into "draft".
)

* refactor(v2): move source files to be under website/src directory

* misc: rename src constant
@yangshun yangshun closed this Jun 15, 2019
@yangshun
yangshun deleted the pages-mdx branch May 17, 2020 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants