Skip to content

Commit

Permalink
Revert mermaid_config.js prettier-ignore comment (just-the-docs#1189
Browse files Browse the repository at this point in the history
)

I introduced a bug in just-the-docs#1172 --- there's an implicit requirement that the line in `mermaid_config.js` has either an expression or the start of a code block; a comment (and then a newline) is invalid.

(to maintain the ignore behaviour, I've instead moved it to the `.prettierignore`)

This one's on me -- I hadn't realized that the `prettier-ignore` affected this file. Given the relative urgency of this, going to merge this in.

Closes just-the-docs#1188.
  • Loading branch information
mattxwang authored Mar 3, 2023
1 parent 6a55d05 commit 1999256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ assets/js/search-data.json
assets/js/zzzz-search-data.json
assets/js/just-the-docs.js
*.md
_includes/mermaid_config.js
1 change: 0 additions & 1 deletion _includes/mermaid_config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// prettier-ignore
{}

0 comments on commit 1999256

Please sign in to comment.