How virtualflybrain/vfb2 works
VFB2 is a static documentation site for Virtual Fly Brain. Its principal workflow is visitors consulting the site’s documentation and reference material; the repository also includes a term-page generator that fetches VFB term data, formats report pages, and writes them to disk. The README establishes the site’s purpose, while source excerpts support the generator and metadata-refresh relationships. The theme’s scripts and some documented site capabilities are present in the tree, but their runtime wiring was not sampled, so those links are omitted.
Main entry points: vfbterms.py Term page generator · fetch_video_metadata.py Video metadata refresh · en Documentation pages · videos.json Video metadata
Components 18
Documentation site
- Documentation pages
content/en - API guides
content/en/docs/APIs - Website feature guides
content/en/docs/Website Features - Data guides
content/en/docs/Data - Tutorials
content/en/docs/Tutorials - News and releases
content/en/blog - Hosted resources
content/en/hosted - Video content
content/en
Site theme
- Site layouts
themes/vfb-nova/layouts - Theme interactions
themes/vfb-nova/assets/js/app.js - Connectome interaction
themes/vfb-nova/assets/js/connectome.js
Data tools
- Term page generator
vfbterms.py - Report formatting
vfbterms.py - Generated term reports
- Video metadata refresh
scripts/fetch_video_metadata.py - Video metadata
data/videos.json
Other components
- Site visitor
- VFB term API
Connections 6
- Site visitor → Documentation pages: consults
README.md - Term page generator → VFB term API: fetches terms
vfbterms.py - Term page generator → Report formatting: formats data
vfbterms.py - Term page generator → Generated term reports: writes reports
vfbterms.py - Video metadata refresh → Video content: scans shortcodes
scripts/fetch_video_metadata.py - Video metadata refresh → Video metadata: writes metadata
scripts/fetch_video_metadata.py