diff --git a/src/components/ApiDocViewer.tsx b/src/components/ApiDocViewer.tsx index 77379e6..73b7940 100644 --- a/src/components/ApiDocViewer.tsx +++ b/src/components/ApiDocViewer.tsx @@ -71,9 +71,7 @@ export const ApiDocViewer = ({ onDocsPathChange, showAddModal, onCloseAddModal } setExternalDocs(docs) - const fileList = docs - .filter(doc => doc.relativePath.split('/').length < 3) - .map(d => d.relativePath) + const fileList = docs.map(d => d.relativePath) const tree = buildFileTree(fileList, '/') setFileTree(tree)