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

docs(fix): revert prettier formatting on markdown files #1612

Merged
merged 2 commits into from Aug 14, 2018

Conversation

Copy link
Contributor

@tech4him1 tech4him1 commented Aug 14, 2018

Summary

Prettier formatting our markdown files is causing bugs because of the differences between Gatsby's parser and Prettier's. Also, Prettier formats the inline code-blocks containing example CMS configs, but the formatting it uses doesn't really make much sense or match the suggested CMS config style.

It doesn't actually make much sense to format the docs anyway, since we use the CMS itself to edit/generate them.

Test plan

A picture of a cute animal (not mandatory but encouraged)

@tech4him1 tech4him1 requested review from talves and Benaiah Aug 14, 2018
@verythorough
Copy link
Contributor

@verythorough verythorough commented Aug 14, 2018

Deploy preview for netlify-cms-www ready!

Built with commit 32ee5a3

https://deploy-preview-1612--netlify-cms-www.netlify.com

@tech4him1 tech4him1 changed the title docs: fix: revert prettier formatting on markdown files docs(fix): revert prettier formatting on markdown files Aug 14, 2018
@verythorough
Copy link
Contributor

@verythorough verythorough commented Aug 14, 2018

Deploy preview for cms-demo ready!

Built with commit 32ee5a3

https://deploy-preview-1612--cms-demo.netlify.com

@tech4him1 tech4him1 force-pushed the revert-prettier-docs branch 3 times, most recently from 66ba987 to b6f56ae Compare Aug 14, 2018
Prettier formatting our markdown files is causing bugs because of the
differences between Gatsby's parser and Prettier's. Also, Prettier
formats the inline code-blocks containing example CMS configs, but the
formatting it uses doesn't really make much sense or match the suggested
CMS config style.

It doesn't actually make much sense to format the docs anyway, since we
use the CMS itself to edit/generate them.
Copy link
Collaborator

@talves talves left a comment

Make sure the format in the widgets folder does not regress my changes in #1606

Blank lines

```

Copy link
Collaborator

@talves talves Aug 14, 2018

Choose a reason for hiding this comment

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

These blank line separators cause format errors. (needs review when build completes).

list.md looks like it might be the only one so far

@tech4him1
Copy link
Contributor Author

@tech4him1 tech4him1 commented Aug 14, 2018

@talves Done. I already merged your #1606 changes in, thanks for the reminder.

Copy link
Collaborator

@talves talves left a comment

👍 Looks good

@tech4him1 tech4him1 merged commit ebc2471 into netlify:master Aug 14, 2018
2 checks passed
@tech4him1 tech4him1 deleted the revert-prettier-docs branch Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants