Skip to content

fix: increase toc depth#647

Merged
ovflowd merged 1 commit intomainfrom
fix/toc-depth
Mar 5, 2026
Merged

fix: increase toc depth#647
ovflowd merged 1 commit intomainfrom
fix/toc-depth

Conversation

@araujogui
Copy link
Member

Description

Increase toc depth

Validation

image

Related Issues

Fixes #645

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run node --run test and all tests passed.
  • I have check code formatting with node --run format & node --run lint.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings March 5, 2026 17:54
@araujogui araujogui requested a review from a team as a code owner March 5, 2026 17:54
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-docs-tooling Ready Ready Preview Mar 5, 2026 5:54pm

Request Review

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.90%. Comparing base (a41a0d3) to head (cda6741).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/generators/legacy-html/generate.mjs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #647      +/-   ##
==========================================
+ Coverage   73.87%   75.90%   +2.03%     
==========================================
  Files         145      145              
  Lines       12867    13735     +868     
  Branches      923      992      +69     
==========================================
+ Hits         9505    10426     +921     
+ Misses       3357     3303      -54     
- Partials        5        6       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

legacy-html Generator

File Base Head Diff
stream.html 808.72 KB 822.26 KB +13.55 KB (+1.68%)
diagnostics_channel.html 226.26 KB 235.43 KB +9.17 KB (+4.05%)
module.html 332.64 KB 334.64 KB +2.00 KB (+0.60%)
fs.html 927.66 KB 928.92 KB +1.26 KB (+0.14%)
async_hooks.html 219.76 KB 220.38 KB +638.00 B (+0.28%)
single-executable-applications.html 89.23 KB 89.80 KB +584.00 B (+0.64%)
inspector.html 113.27 KB 113.82 KB +560.00 B (+0.48%)
packages.html 121.25 KB 121.68 KB +436.00 B (+0.35%)
sqlite.html 197.83 KB 198.19 KB +372.00 B (+0.18%)
permissions.html 37.47 KB 37.72 KB +254.00 B (+0.66%)
http2.html 744.28 KB 744.51 KB +236.00 B (+0.03%)
modules.html 151.05 KB 151.28 KB +234.00 B (+0.15%)
url.html 322.27 KB 322.42 KB +148.00 B (+0.04%)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Increases the generated legacy HTML table-of-contents depth to include one additional heading level.

Changes:

  • Update TOC generation configuration to allow deeper nesting (maxDepth 4 → 5)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ovflowd ovflowd added the fast track This PR can land before the typical review time, with a :+1: from collaborators label Mar 5, 2026
@ovflowd
Copy link
Member

ovflowd commented Mar 5, 2026

Let's fast-track this!

@ovflowd ovflowd merged commit f744179 into main Mar 5, 2026
20 checks passed
@ovflowd ovflowd deleted the fix/toc-depth branch March 5, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast track This PR can land before the typical review time, with a :+1: from collaborators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partial stream.html TOC

5 participants