Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

remove any method or property with underscore in submodule list of navbar

0divbd80de40c46a
diff --git a/apps/web/prebuild.js b/apps/web/prebuild.js
index 169d025c4..8be697e5b 100644
--- a/apps/web/prebuild.js
+++ b/apps/web/prebuild.js
@@ -81,7 +81,7 @@ function getSubModules(pkg, href, dirPath) {
let title = line.slice(3).trim()
// Remove backslashes from title
title = title.replace(/\\/g, '')
- if (title) {
+ if (title && !title.startsWith('_')) {
subModules.push({
title: title,
href: href + toAnchorLink(title),