# vuejs/vitepress SLOC report

> vuejs/vitepress: 17,442 code lines at commit 40b2e090772a, counted with tokei-15.0.0 on 2026-11-12. Saved result f5f6426f053417e45082e6344da0ad5d80480ba91535031cf914637a7034a1da.

vuejs/vitepress has 17,442 source lines of code out of 28,283 total lines across 192 files, counted with tokei from the main ref at commit 40b2e090772a on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving vuejs/vitepress to commit 40b2e090772a, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

vuejs/vitepress: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 61.7% of all lines, comments represent 22.4%, and the repository averages 91 code lines per file. TypeScript accounts for 57.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 94 | 13,484 | 9,934 | 2,170 | 1,380 |
| YAML | 2 | 5,383 | 4,185 | 0 | 1,198 |
| CSS | 11 | 2,673 | 2,057 | 215 | 401 |
| Vue | 66 | 820 | 676 | 1 | 143 |
| JSON | 7 | 291 | 288 | 0 | 3 |
| Python | 1 | 309 | 198 | 79 | 32 |
| SVG | 2 | 62 | 62 | 0 | 0 |
| TOML | 1 | 38 | 31 | 0 | 7 |
| JavaScript | 1 | 16 | 11 | 2 | 3 |
| Markdown | 6 | 5,115 | 0 | 3,794 | 1,321 |
| Plain Text | 1 | 92 | 0 | 75 | 17 |

Top language: TypeScript 57.0%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/vuejs/vitepress/commit/40b2e090772ac11eac358d25ec92ee435fc2adbd?reportId=f5f6426f053417e45082e6344da0ad5d80480ba91535031cf914637a7034a1da&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/vuejs/vitepress/commit/40b2e090772ac11eac358d25ec92ee435fc2adbd?reportId=f5f6426f053417e45082e6344da0ad5d80480ba91535031cf914637a7034a1da&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does vuejs/vitepress have?

vuejs/vitepress has 17,442 lines of code, plus 6,336 comment lines and 4,505 blank lines, for 28,283 total lines at commit 40b2e090772a on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the vuejs/vitepress line count measured?

OctoCounts resolved the public GitHub repository to commit 40b2e090772a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for vuejs/vitepress?

This OctoCounts report was generated from main at commit 40b2e090772a on November 12, 2026.

## Similar repository reports

- [carlrannaberg/codebase-map](https://octocounts.com/github/carlrannaberg/codebase-map) — TypeScript, 17,468 code lines
- [pixiv/three-vrm](https://octocounts.com/github/pixiv/three-vrm) — TypeScript, 17,534 code lines
- [CheeseFox259/dsh-better-composer](https://octocounts.com/github/CheeseFox259/dsh-better-composer) — TypeScript, 17,190 code lines
- [CrKcel/index.web](https://octocounts.com/github/CrKcel/index.web) — TypeScript, 17,842 code lines
- [lackx741-tech/telegram-trading-bot](https://octocounts.com/github/lackx741-tech/telegram-trading-bot) — TypeScript, 16,916 code lines
- [gjtorikian/pi-workgraph](https://octocounts.com/github/gjtorikian/pi-workgraph) — TypeScript, 16,872 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
