Update from code changes: document mint deslop command#6644
Closed
mintlify[bot] wants to merge 4 commits into
Closed
Update from code changes: document mint deslop command#6644mintlify[bot] wants to merge 4 commits into
mintlify[bot] wants to merge 4 commits into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Author
|
Update from code changes updated this PR. Translated the new deslop Admin API endpoint into Spanish, French, and Chinese Source PRs
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
mint deslopCLI command and its Admin API counterpart, which check documentation pages for AI-sounding prose and return humanization suggestions.Changes
mint deslopsection tocli/commands.mdxcovering the arguments, flags (--subdomain,--format,--threshold,--fix-whitespace), default file selection, exit-code behavior, examples, whitespace normalizer, and JSON output shape.POST /v1/deslop/{projectId}toadmin-openapi.jsonwith the request body, scored and skipped response shapes, and error responses (400,402,429,503).api/deslop/check.mdxpage under a new Deslop group in the API reference navigation, with a credits note and acurlexample.es/), French (fr/), and Chinese (zh/).Context
Documents:
mint deslop [files..]CLI command with--threshold,--format table|plain|json,--fix-whitespace, and JSON output for agent loops.POST /api/cli/deslop(CLI) andPOST /api/external/v1/deslop/:projectId(Admin API) backed by Pangram detection and OpenRouter rewrite suggestions; each scored page charges 1 AI credit and pages under 50 words are settled as a free skip.Update history
mint deslopCLI reference section in English (documents mintlify/mint#9046).mint deslopCLI section into Spanish, French, and Chinese.POST /v1/deslop/{projectId}— added the OpenAPI operation, a newapi/deslop/checkpage under a new Deslop navigation group, translations, and a cross-link from the CLI section (documents mintlify/server#6593).Note
Low Risk
Documentation and OpenAPI/navigation updates only; no application or API implementation changes in this repo.
Overview
Documents deslop—AI-sounding prose detection for MDX/Markdown—across the CLI reference, Admin OpenAPI spec, and API reference navigation.
Adds a
mint deslopsection tocli/commands.mdx(flags, default git-changed file selection, threshold/exit behavior,--fix-whitespace, JSON output) and links it to the HTTP API. IntroducesPOST /v1/deslop/{projectId}inadmin-openapi.jsonwith request/response schemas, credit rules (1 AI credit per scored page; free skip under 50 words), and400/402/429/503errors. Addsapi/deslop/checkunder a new Deslop nav group indocs.json, plus mirrored OpenAPI, MDX, CLI, and nav entries for es, fr, and zh.Reviewed by Cursor Bugbot for commit 133c4c7. Bugbot is set up for automated code reviews on this repo. Configure here.