Skip to content

Commit

Permalink
fix(docs): disable error message on docs to re-enable retext linter (#…
Browse files Browse the repository at this point in the history
…25594)

* disable error message on docs to re-enable linter

* add more fixes

* better title
  • Loading branch information
tesseralis committed Jul 8, 2020
1 parent f68db95 commit a531f9f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion dictionary.txt
Expand Up @@ -52,6 +52,7 @@
200px
20K
20x
21YunBox
250px
2a
2am
Expand Down Expand Up @@ -797,6 +798,7 @@ gatsby-source-shopify
gatsby-source-stripe
gatsby-source-tmdb
gatsby-source-wordpress
gatsby-source-wordpress-experimental
gatsby-source-x-cms
gatsby-ssr
gatsby-starter-blog
Expand Down Expand Up @@ -863,6 +865,7 @@ Gienow
gif
GIFs
Gitalk
Gitee
GitLab
Gitpod
Gitter
Expand Down Expand Up @@ -2078,6 +2081,8 @@ WeakMap
WebAIM
webapps
Webby
webfont
webfonts
WebGL
webhook
webhooks
Expand Down Expand Up @@ -2183,4 +2188,4 @@ Zuri
складних
создать
створення
створюємо
створюємо
4 changes: 2 additions & 2 deletions docs/blog/2020-07-08-blog-2.0/index.md
Expand Up @@ -84,7 +84,7 @@ If you'd rather not use any preset and set everything locally yourself, you can

Another option for presets are prism highlighting. Theme UI comes with a number of built-in [prism presets](https://theme-ui.com/packages/prism#syntax-themes) that you can reference directly by name and the theme will do the rest for you.

```
```javascript:title=gatsby-config.js
module.exports = {
plugins: [
{
Expand All @@ -107,7 +107,7 @@ This gives you more tools than ever before to use this theme as an add-on for si

## `gatsby-theme-blog-darkmode`

Another change is the darkmode toggle that's long been a staple of the blog theme. In order to make styling a bit more fun and remove the need for a darkmode out of the box, this is now a separate theme!
Another change is the dark mode toggle that's long been a staple of the blog theme. In order to make styling a bit more fun and remove the need for a dark mode out of the box, this is now a separate theme!

Use it in combination with `gatsby-theme-blog` and take advantage of the same functionality you've come to expect!

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/themes/shadowing.md
Expand Up @@ -85,7 +85,7 @@ export default {
}
```

> Note that any styles in shadowed files will automatically get deepmerged with your `preset` theme. Shadowed styles take precedence.
> Note that any styles in shadowed files will automatically get deep-merged with your `preset` theme. Shadowed styles take precedence.
Which will result in the following directory tree:

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/using-a-theme.md
Expand Up @@ -87,7 +87,7 @@ my-blog
└── package.json
```

Despite the `md` extension, `my-post.md` is treated as an MDX file. When using this theme, you can use `md` and `mdx` extensions interchangably.
Despite the `md` extension, `my-post.md` is treated as an MDX file. When using this theme, you can use `md` and `mdx` extensions interchangeably.

Inside that Markdown file, add content. The top section is called [frontmatter](/docs/mdx/writing-pages/#using-frontmatter-in-mdx) and `title` and `date` are required fields.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -135,7 +135,7 @@
"lerna-prepare": "lerna run prepare",
"lint": "npm-run-all --continue-on-error -p lint:code lint:docs lint:other",
"lint:code": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
"lint:docs": "remark --quiet --frail \"./docs/\" || echo \"Found linting errors in the docs. To add new words to the dictionary, run \\`yarn update-dictionary\\`.\"",
"lint:docs": "remark --quiet --frail \"./docs/\"",
"lint:scripts": "sh scripts/lint-shell-scripts.sh",
"lint:other": "npm run prettier -- --check",
"markdown": "md-magic --path \"starters/**/*.md\"",
Expand Down

0 comments on commit a531f9f

Please sign in to comment.