16 Commits

Author SHA1 Message Date
David Karlsson
9fe8e768d1 lint: add MD059/descriptive-link-text markdownlint rule
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-11-03 15:24:10 +01:00
Sarah Sanders
6ccfd7da2f fix: re-add lint rule (#23627)
## Description
- Reverts a change we made in E2B launch that was blocking
2025-10-30 16:27:14 -04:00
Sarah Sanders
17ff955196 guide: code quality checks (#23595)
## Description
- Adds guide for AI-powered code quality checks w/ E2B and Docker MCP
- Provides a full e2e tutorial to build a code quality check workflow w/
customization options
- Adds troubleshooting page

## Related issues or tickets
https://docker.atlassian.net/browse/ENGDOCS-3073
2025-10-23 10:15:07 -04:00
Sarah Sanders
edd8605f4b security: update SCIM docs for Azure OIDC (#22771)
## Description
- Adds section to SCIM docs for Entra ID/Azure OIDC
- Adds testing section to SCIM doc
- Adds troubleshooting guide for provisioning
- Fixes numbers to 1,1,1 format
- Ignore vale

## Related issues or tickets
https://docker.atlassian.net/browse/ENGDOCS-2648

## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
2025-06-11 09:59:33 -04:00
David Karlsson
50b97b01d5 lint: disable warning for reference links with shortcut syntax
The shortcut syntax is used by GitHub-style alerts and trigger a lint
warning.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-15 22:06:22 +02:00
David Karlsson
b75fe78d4f lint: enable markdownlint MD022 / blanks-around-headings
Headings should be surrounded by blank lines

Rationale: Aside from aesthetic reasons, some parsers, including kramdown, will not parse headings that don't have a blank line before, and will parse them as regular text.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-04-17 09:36:28 +02:00
David Karlsson
dc379cf085 test: add lint rule for empty links
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 16:01:46 +01:00
David Karlsson
6225724f32 test: add lint rule for trailing punctuation in headings
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 15:57:19 +01:00
David Karlsson
7eb5ad6c38 test: add lint rule for single h1
We should never have more than one h1 on a page.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 15:45:56 +01:00
David Karlsson
078a817e12 test: add lint rule for heading start
Heading markup should start on the first column of a line, otherwise we
risk it being rendered as a paragraph, per the markdown spec.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 15:45:56 +01:00
David Karlsson
e1ac3a4f36 test: add lint rules for tables
Formatting for tables wasn't guarded by markdownlint validation rules,
which increases the risk of releasing incorrectly formatted tables.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-02-01 15:45:53 +01:00
David Karlsson
b7111d05ec test: require language tag for code blocks
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-11-01 10:52:00 +01:00
David Karlsson
b758af9775 lint: add check for missing link definitions
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-09-16 21:41:48 +02:00
Justin Chadwell
ebd4a33866 Add linting information to CONTRIBUTING.md
This adds information on how the docs use linting, and more detailed
instructions on how to enable it in an IDE, using VSCode as a concrete
and widespread example.

Additionally, to do this, we add a duplicate style config for
markdownlint in JSON format for the Node.js implementation of
markdownlint that is used by various editor plugins. These both
implement the same core set of warnings, and appear to function
identically.
2022-08-03 09:58:01 +01:00
CrazyMax
9c296afa3e switch to ruby markdownlint and add ci validation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-25 12:17:09 +02:00
Usha Mandya
8a93a1ccff add mdlint json file to fix yaml copy/paste issues 2020-02-17 15:36:32 +00:00