Skip to content

Add VectorLint documentation set with Mintlify configuration#75

Merged
oshorefueled merged 4 commits intoTRocket-Labs:mainfrom
taz-mon:add-docs
Apr 23, 2026
Merged

Add VectorLint documentation set with Mintlify configuration#75
oshorefueled merged 4 commits intoTRocket-Labs:mainfrom
taz-mon:add-docs

Conversation

@taz-mon
Copy link
Copy Markdown
Contributor

@taz-mon taz-mon commented Mar 30, 2026

Adds a complete /docs folder containing a Mintlify documentation site for VectorLint.

What's included

  • Full nav structure with Documentation and Reference tabs
  • Complete pages: introduction, quickstart, installation, how-it-works,
    use-cases, configuration, project-config, llm-providers, style-guide,
    customize-style-rules, presets, ci-integration, team-rule-packs,
    false-positive-tuning, best-practices, cli-reference, env-variables,
    troubleshooting, and more
  • Stub placeholders for scoring pages (no broken links in nav)
  • VECTORLINT.md global style instructions
  • docs.json with full nav configuration

Mintlify setup needed

To deploy from this repo, install the Mintlify GitHub app on
TRocket-Labs/vectorlint and set /docs as the monorepo path in
Git Settings at dashboard.mintlify.com.

Notes

  • .gitignore updated to remove docs and VECTORLINT.md exclusions
  • Logo sourced from TRocket-Labs/vectorlint-docs placeholder

Summary by CodeRabbit

  • Documentation
    • Added comprehensive docs covering installation, quickstart, CLI reference, configuration, presets, rule authoring, and how VectorLint works.
    • New guidance on environment variables, CI integration, false-positive tuning, scoring, troubleshooting, best practices, and rollout/use cases.
    • Introduced a global style guide and detailed writing/formatting conventions for project documentation.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 30, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f12eb5e1-7c86-4ab5-a1a2-8b4d3a0cda85

📥 Commits

Reviewing files that changed from the base of the PR and between 5908aa1 and 95c3abd.

📒 Files selected for processing (5)
  • docs/docs.json
  • docs/how-it-works.mdx
  • docs/installation.mdx
  • docs/quickstart.mdx
  • docs/use-cases.mdx
✅ Files skipped from review due to trivial changes (4)
  • docs/docs.json
  • docs/use-cases.mdx
  • docs/how-it-works.mdx
  • docs/installation.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/quickstart.mdx

📝 Walkthrough

Walkthrough

Added a tracked project-wide style guide and a comprehensive set of new documentation pages under docs/, and removed VECTORLINT.md and docs/ from .gitignore so those files are committed.

Changes

Cohort / File(s) Summary
Gitignore Update
\.gitignore
Removed ignore entries for VECTORLINT.md and docs/, enabling documentation and the global style guide to be version-controlled.
Global Style Guide
docs/VECTORLINT.md
Added project-wide VectorLint style and writing rules (voice/tone, headings/lists/procedures, admonition constraints, terminology conventions).
Core Docs & How‑To
docs/introduction.mdx, docs/how-it-works.mdx, docs/initial-style-check.mdx, docs/quickstart.mdx, docs/use-cases.mdx
New foundational pages explaining VectorLint purpose, evaluation flow, zero‑config checks, quickstart, and common use cases.
CLI, Install & Configuration Overview
docs/cli-reference.mdx, docs/installation.mdx, docs/configuration.mdx, docs/project-config.mdx, docs/configuration-schema.mdx
Added CLI reference, installation guide, configuration architecture, vectorlint init flows, and configuration schema details.
Rule Authoring & Presets
docs/style-guide.mdx, docs/customize-style-rules.mdx, docs/presets.mdx, docs/frontmatter-fields.mdx
Guides for authoring rule packs, frontmatter schema, using presets, and pack/pack-file examples.
LLM & Env Configuration
docs/llm-providers.mdx, docs/env-variables.mdx
Documentation for supported LLM/search providers, credential precedence, and environment variables (including CONFIDENCE_THRESHOLD).
CI, Tuning & Best Practices
docs/ci-integration.mdx, docs/false-positive-tuning.mdx, docs/best-practices.mdx, docs/troubleshooting.mdx
CI integration examples (GitHub Actions/GitLab/CircleCI), tuning guidance (confidence/strictness), rollout best practices, and troubleshooting.
Scoring & Architecture Reference
docs/quality-scoring.mdx, docs/density-scoring.mdx, docs/rubric-scoring.mdx
Added architecture and scoring pages; some are placeholders marked "coming soon."
Site Config & Misc Docs
docs/docs.json, docs/team-rule-packs.mdx
Added Mintlify site configuration and a placeholder team rule-packs page.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • oshorefueled

Poem

🐰 I hopped through files with inked delight,

VECTORLINT.md now basks in repo light,
Docs sprang up for CLI, CI, and rules,
Carrots for clarity, no more docs in shadows,
Hop, read, and polish — the burrow's bright!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: a comprehensive VectorLint documentation set with Mintlify configuration is being added to the repository.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 10

🧹 Nitpick comments (3)
docs/introduction.mdx (1)

45-52: Consider clarifying the "PAT (Pay A Tax)" terminology.

The acronym "PAT (Pay A Tax)" is introduced without explanation and doesn't appear in the codebase. If this is established terminology in the LLM evaluation space, consider adding a brief explanation or citation. If it's a coined term for this project, consider whether a more self-explanatory phrase would serve readers better.

💡 Example alternative phrasing
-VectorLint uses a PAT (Pay A Tax) evaluation pipeline to keep output precise:
+VectorLint uses a two-stage evaluation pipeline to keep output precise:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/introduction.mdx` around lines 45 - 52, The "PAT (Pay A Tax)" acronym in
the "How false positives are reduced" section is unclear and not in the
codebase; either add one short explanatory sentence after the first mention
(e.g., define PAT as the pipeline’s requirement that each candidate "pays" by
providing required gate-check fields) or replace the acronym with a more
descriptive phrase like "gate-check evaluation pipeline" and, if PAT is a coined
term, add a parenthetical note that it is project-specific and a brief citation
or link to further documentation (update the heading/first paragraph in the same
section where "PAT (Pay A Tax)" appears).
docs/llm-providers.mdx (1)

10-16: Add Amazon Bedrock to “Supported Providers” for parity with implementation.

The runtime supports amazon-bedrock, but it’s missing from the provider table. This makes the reference incomplete for users choosing Bedrock.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/llm-providers.mdx` around lines 10 - 16, Add a new table row for Amazon
Bedrock in the providers table: set Provider to "Amazon Bedrock", `LLM_PROVIDER`
value to `amazon-bedrock`, and the Key variable to the exact environment
variable name used by the runtime implementation (search code for the Bedrock
env var, e.g., names containing "BEDROCK" or "AMAZON_BEDROCK") and insert that
exact identifier into the Key variable column so the docs match the
implementation.
docs/troubleshooting.mdx (1)

143-143: Consider more precise phrasing.

The phrase "Very large context" could be strengthened by replacing the intensifier with more specific language, such as "Excessively large context" or "Context exceeding recommended limits."

✍️ Optional style improvement
-**Cause:** The file is too large to serve as reliable global context. Very large context degrades LLM precision and increases API costs.
+**Cause:** The file is too large to serve as reliable global context. Excessively large context degrades LLM precision and increases API costs.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/troubleshooting.mdx` at line 143, Replace the vague intensifier "Very
large context" in the "Cause:" sentence with a more precise phrase such as
"Excessively large context" or "Context exceeding recommended limits"; locate
the sentence containing the exact phrase "Very large context" and update it to
the chosen wording so the guidance is clearer and more specific.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/cli-reference.mdx`:
- Line 87: The docs list an incorrect provider value: the LLM_PROVIDER
discriminator shown as "azure" is unsupported; update the documentation to use
"azure-openai" instead of "azure" where LLM_PROVIDER is described (search for
the LLM_PROVIDER entry in docs/cli-reference.mdx or the table row containing
`LLM_PROVIDER`) so users copy a valid provider identifier and provider selection
works as expected.

In `@docs/configuration.mdx`:
- Around line 6-13: Update the docs to accurately describe init behavior and
config.toml requiredness: change the statement that "Running `vectorlint init`
creates the first two automatically" to note that `vectorlint init` creates
VECTORLINT.md and .vectorlint.ini by default but `vectorlint init --quick` may
only scaffold minimal files, and clarify that a global
`~/.vectorlint/config.toml` is not strictly required—users can supply LLM API
keys via project-level environment variables or other project config, so reword
the table row for `config.toml` to indicate it is "Recommended for global API
keys" or "Optional if API keys are provided per-project" and add a short note
about alternative ways to provide provider credentials.

In `@docs/env-variables.mdx`:
- Around line 31-36: The docs incorrectly state that rules using the
technical-accuracy evaluator "return reduced-confidence results" when no search
provider is set; update the wording to reflect the actual behavior: if
`SEARCH_PROVIDER` (and required keys like `PERPLEXITY_API_KEY` for `perplexity`)
is not configured, the `technical-accuracy` evaluator currently raises a
missing-dependency error instead of degrading confidence. Edit the table rows
for `SEARCH_PROVIDER` and `PERPLEXITY_API_KEY` and the surrounding sentence to
mention that the evaluator will fail with a missing dependency error (and list
required provider values like `perplexity`) rather than returning
reduced-confidence results.
- Around line 83-87: The docs currently list precedence as Project `.env` →
Global `~/.vectorlint/config.toml` → System environment variables, which is
reversed; update the text to state that VectorLint resolves variables with
highest precedence first as: System environment variables (existing process.env)
→ Global `~/.vectorlint/config.toml` → Project `.env` file, and note that `.env`
and global config do not overwrite existing process.env values. Reference the
exact terms "Project `.env` file", "Global `~/.vectorlint/config.toml`", "System
environment variables", and "process.env" when making the change.

In `@docs/installation.mdx`:
- Around line 6-8: Update the "## Before you begin" paragraph to clarify Node.js
22 is in Maintenance LTS (security-only updates) and recommend using a currently
Active LTS with a longer support window (e.g., Node.js 24 or the latest Active
LTS); change the sentence that currently recommends "Node.js 22 LTS is
recommended" to explicitly note the maintenance status and suggest the Active
LTS alternative so readers know the difference and get a longer supported
release.

In `@docs/llm-providers.mdx`:
- Around line 10-16: Update the Azure provider entries so runtime config
matches: change the `LLM_PROVIDER` value from `azure` to `azure-openai` wherever
it appears (the provider table and the doc block around lines 72–80) and replace
the Azure env var `AZURE_OPENAI_API_KEY`/incorrect name with
`AZURE_OPENAI_DEPLOYMENT_NAME` (ensure both the "Key variable" column and any
explanatory text use `AZURE_OPENAI_DEPLOYMENT_NAME`), so the provider string and
env var names align with the runtime configuration.

In `@docs/presets.mdx`:
- Around line 53-59: The strictness override example uses the wrong preset rule
ID: it sets AIPatterns.strictness but the rule ID is AIPattern (singular);
update the example to target the correct rule ID by replacing
AIPatterns.strictness with AIPattern.strictness so the override applies to the
AIPattern rule ID.

In `@docs/quickstart.mdx`:
- Line 79: Replace the unresolved placeholder comment "{/* TBD: Add
representative terminal output here once confirmed — scored (1–10) or violations
list */}" with a concrete, final example of terminal output; remove the TODO
comment entirely and insert one of the suggested representative outputs (e.g., a
"No violations found" success block or an "✖ N violations found" block with a
short list of violations) so the published docs contain real sample output
instead of unfinished text.

In `@docs/use-cases.mdx`:
- Line 26: The documentation claims the technical-accuracy evaluator should
produce reduced-confidence results when no search provider is configured, but
the implementation currently throws a missing-dependency error; update the
technical-accuracy evaluator (e.g., the TechnicalAccuracyEvaluator class or
evaluateTechnicalAccuracy function) to detect absence of a search provider,
avoid throwing, and instead return a result object marked with reduced
confidence and an explanatory message indicating checks were skipped due to no
search provider; ensure any callers that expect thrown errors instead handle the
reduced-confidence response consistently.

In `@docs/VECTORLINT.md`:
- Around line 3-8: The header in VECTORLINT.md uses JSX-style comments `{/* ...
*/}`; update it to use HTML comments `<!-- ... -->` to match the project's
template and Markdown conventions — replace the `{/* ... */}` blocks in
VECTORLINT.md with `<!-- ... -->` and ensure the content and spacing remain
identical; also check the init-command.ts generated template (init-command.ts)
to confirm it already uses HTML comments and align any differences so both
sources use the same HTML comment format.

---

Nitpick comments:
In `@docs/introduction.mdx`:
- Around line 45-52: The "PAT (Pay A Tax)" acronym in the "How false positives
are reduced" section is unclear and not in the codebase; either add one short
explanatory sentence after the first mention (e.g., define PAT as the pipeline’s
requirement that each candidate "pays" by providing required gate-check fields)
or replace the acronym with a more descriptive phrase like "gate-check
evaluation pipeline" and, if PAT is a coined term, add a parenthetical note that
it is project-specific and a brief citation or link to further documentation
(update the heading/first paragraph in the same section where "PAT (Pay A Tax)"
appears).

In `@docs/llm-providers.mdx`:
- Around line 10-16: Add a new table row for Amazon Bedrock in the providers
table: set Provider to "Amazon Bedrock", `LLM_PROVIDER` value to
`amazon-bedrock`, and the Key variable to the exact environment variable name
used by the runtime implementation (search code for the Bedrock env var, e.g.,
names containing "BEDROCK" or "AMAZON_BEDROCK") and insert that exact identifier
into the Key variable column so the docs match the implementation.

In `@docs/troubleshooting.mdx`:
- Line 143: Replace the vague intensifier "Very large context" in the "Cause:"
sentence with a more precise phrase such as "Excessively large context" or
"Context exceeding recommended limits"; locate the sentence containing the exact
phrase "Very large context" and update it to the chosen wording so the guidance
is clearer and more specific.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fc0953cc-02da-4285-9d7d-3205d0e44b14

📥 Commits

Reviewing files that changed from the base of the PR and between 27097c3 and 17fdf92.

⛔ Files ignored due to path filters (5)
  • docs/favicon.svg is excluded by !**/*.svg
  • docs/logo/dark.svg is excluded by !**/*.svg
  • docs/logo/light.svg is excluded by !**/*.svg
  • docs/logo/logo.svg is excluded by !**/*.svg
  • docs/logo/vectorlint.png is excluded by !**/*.png
📒 Files selected for processing (27)
  • .gitignore
  • docs/VECTORLINT.md
  • docs/best-practices.mdx
  • docs/ci-integration.mdx
  • docs/cli-reference.mdx
  • docs/configuration-schema.mdx
  • docs/configuration.mdx
  • docs/customize-style-rules.mdx
  • docs/density-scoring.mdx
  • docs/docs.json
  • docs/env-variables.mdx
  • docs/false-positive-tuning.mdx
  • docs/frontmatter-fields.mdx
  • docs/how-it-works.mdx
  • docs/initial-style-check.mdx
  • docs/installation.mdx
  • docs/introduction.mdx
  • docs/llm-providers.mdx
  • docs/presets.mdx
  • docs/project-config.mdx
  • docs/quality-scoring.mdx
  • docs/quickstart.mdx
  • docs/rubric-scoring.mdx
  • docs/style-guide.mdx
  • docs/team-rule-packs.mdx
  • docs/troubleshooting.mdx
  • docs/use-cases.mdx
💤 Files with no reviewable changes (1)
  • .gitignore

Comment thread docs/cli-reference.mdx
Comment thread docs/configuration.mdx
Comment thread docs/env-variables.mdx
Comment thread docs/env-variables.mdx
Comment thread docs/installation.mdx
Comment thread docs/llm-providers.mdx Outdated
Comment thread docs/presets.mdx
Comment thread docs/quickstart.mdx Outdated
Comment thread docs/use-cases.mdx Outdated
Comment thread docs/VECTORLINT.md
@oshorefueled
Copy link
Copy Markdown
Contributor

Thanks for this @taz-mon. Can we delete the Mintlify logo? I don't believe we need that.

taz-mon added 2 commits April 6, 2026 00:20
- Move use-cases before how-it-works in Overview nav
- Rewrite quickstart as true Golden Path with 4-step flow
- Add LLM provider warning to quickstart and installation
- Rewrite use-cases as task-oriented persona paths
- Reframe how-it-works as architecture reference, not onboarding
- Drop unexplained PAT acronym, preserve two-phase filtering structure
@oshorefueled oshorefueled merged commit f66a0a2 into TRocket-Labs:main Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants