Skip to content

Commit

Permalink
Restructured overview and user guide (previously named implementation…
Browse files Browse the repository at this point in the history
…). Added file structure dropdowns in the usage guide to allow users to interact with the file structure.
  • Loading branch information
Oufattole committed Oct 23, 2024
1 parent d2ce1ad commit 45cdda7
Show file tree
Hide file tree
Showing 6 changed files with 612 additions and 519 deletions.
241 changes: 0 additions & 241 deletions docs/implementation.md

This file was deleted.

13 changes: 13 additions & 0 deletions docs/javascripts/directory-tree.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function toggleFolder(folderId) {
const content = document.getElementById(folderId);
const folderItem = content.previousElementSibling;

// Toggle active state on folder item
folderItem.classList.toggle('active');

// Toggle visibility of content
content.classList.toggle('visible');

// Prevent event bubbling
event.stopPropagation();
}
Loading

0 comments on commit 45cdda7

Please sign in to comment.