Skip to content

Commit bcc268c

Browse files
chore: Exclude docs/ from Prettier formatting (#18620)
1 parent 6079e98 commit bcc268c

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ analyses-snapshot-testing/analysis_results
4141

4242
opentrons-ai-server/package
4343
opentrons-ai-server/api/storage/index/
44+
45+
# Leave Markdown formatting alone because some of it is load-bearing for MkDocs.
46+
# Note that this is a Prettier thing, not an ESLint thing. Prettier shares this config file.
47+
/docs/**/*.md

.stylelintrc.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ module.exports = {
1010

1111
extends: ['stylelint-config-standard', 'stylelint-config-styled-components'],
1212

13-
ignoreFiles: ['api/**', '**/dist/**', '**/coverage/**', '**/venv/**', 'docs/**'],
13+
ignoreFiles: [
14+
'api/**',
15+
'**/dist/**',
16+
'**/coverage/**',
17+
'**/venv/**',
18+
'docs/**',
19+
],
1420

1521
rules: {
1622
'selector-class-pattern': /^[a-z0-9_]+$/,

docs/flex-manual/mkdocs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site_name: Opentrons Flex Instruction Manual
22

3-
nav:
3+
nav:
44
- Preface: preface.md
55
- Introduction: introduction.md
66
- Installation and Relocation: installation-relocation.md
@@ -11,10 +11,10 @@ nav:
1111
- Software and Operation: software-operation.md
1212
- Maintenance and Service: maintenance-service.md
1313
- Appendices:
14-
- Glossary: glossary.md
15-
- Additional Documentation: additional-documentation.md
16-
- Open-Source Software: open-source-software.md
17-
- Support and Contact Information: support-contact-information.md
14+
- Glossary: glossary.md
15+
- Additional Documentation: additional-documentation.md
16+
- Open-Source Software: open-source-software.md
17+
- Support and Contact Information: support-contact-information.md
1818

1919
theme:
2020
name: material
@@ -37,7 +37,7 @@ markdown_extensions:
3737
- md_in_html
3838
- pymdownx.emoji:
3939
emoji_index: !!python/name:material.extensions.emoji.twemoji
40-
emoji_generator: !!python/name:material.extensions.emoji.to_svg
40+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
4141
- pymdownx.inlinehilite
4242
- pymdownx.highlight:
4343
anchor_linenums: true
@@ -52,4 +52,4 @@ extra_css:
5252
- manual.css
5353
- opentrons-theme.css
5454

55-
copyright: "© Opentrons 2025. All rights reserved. <br /> Trademarks: Opentrons®, Opentrons drop logo (Opentrons Labworks, Inc.). <br /> Registered names, trademarks, etc. used in this document, even when not specifically marked as such, are not to be considered unprotected by law."
55+
copyright: '© Opentrons 2025. All rights reserved. <br /> Trademarks: Opentrons®, Opentrons drop logo (Opentrons Labworks, Inc.). <br /> Registered names, trademarks, etc. used in this document, even when not specifically marked as such, are not to be considered unprotected by law.'

0 commit comments

Comments
 (0)