This repository builds a static website containing Data Catalog user guides and relevant resources created at BRIGHT.
The website is built using Sphinx with the Wagtail Theme and deployed via GitHub Pages.
π Visit the live site: https://biosustain.github.io/data-catalog-resources/
- Latest - Documentation from main branch
- Stable - Latest release documentation
- Specific versions available at
/v{version}/(e.g.,/v1.0.0/)
The website automatically generates versioned documentation for each GitHub release.
data-catalog-resources/
βββ _static/ # Static assets (CSS, JS, images, files)
β βββ css/custom.css # Custom styling
β βββ js/mobile-toc.js # Mobile navigation & theme toggle
β βββ images/ # Image assets
βββ _templates/ # Custom HTML templates
βββ docs/ # Main resource content
βββ Contact.md # Contact/ Report Issues
βββ Dataset # Dataset content
β βββ Add_Dataset.md # Dataset Creation / Access Rights / Dataset Lineage
β βββ Exploring_Datasets.md # Overview of Dataset List / Dataset Home page
β βββ Files.md # Upload / Managage Files
β βββ index.md # Dataset section overview
β βββ Manage_Datasets.md # Manage Datasets / User Permissions
βββ Login.md # Log in
βββ Project # Project content
β βββ Create_Project.md # Project Creation / Access Rights / Link Dataset to Project
β βββ DMP.md # Data Management Plan content (DMP)
β βββ Exploring_Projects.md # Overview of Project List / Project Home page
β βββ index.md # Project section overview
β βββ Manage_Projects.md # Manage Projects / User Permissions
βββ Search.md # Basic / Advanced Search
βββ index.md # Homepage content
βββ conf.py # Sphinx configuration
βββ requirements.txt # Python dependencies
βββ README.md # This file
We welcome contributions! Please:
- Follow the branching workflow described below
- Write clear commit messages
- Test your changes locally before pushing
- Request reviews from relevant team members
- Use MyST Markdown syntax for enhanced formatting
git clone https://github.com/biosustain/data-catalog-resources.git
cd data-catalog-resources
code . # Opens VS CodeIn VS Code Terminal (Ctrl/Cmd + Shift + `` ``):
git checkout -b your-working-branchOr using VS Code Git Interface:
- Click Source Control icon (
Ctrl/Cmd + Shift + G) - Click branch name at bottom-left β Create new branch from... β main
- Enter your branch name
- Navigate files: Explorer panel (
Ctrl/Cmd + Shift + E) - Edit content: Click on any
.mdfile to open - Save changes:
Ctrl/Cmd + S - Preview Markdown:
Ctrl/Cmd + Shift + V
- Add articles in
docs/folder (markdown format) - Update
index.mdfor homepage content - Add images to
_static/images/directory - Add downloadable files to
_static/files/directory
pip install -r requirements.txtsphinx-build -b html . _buildpython -m http.server 8000 --directory _buildOpen http://localhost:8000 in your browser.
Using VS Code Git Interface:
- Open Source Control panel (
Ctrl/Cmd + Shift + G) - Click + next to changed files to stage
- Enter commit message and click Commit
- Click Publish Branch or Sync
Using Terminal:
git add .
git commit -m "Add new data catalog documentation"
git push origin your-working-branchVS Code Extension (Recommended):
- Install "GitHub Pull Requests and Issues" extension
- Click Create Pull Request in Source Control panel
- Fill in title/description and create
Web Interface:
- Visit https://github.com/biosustain/data-catalog-resources
- Click "Compare & pull request" for your branch
- Fill in details and click "Create pull request"
Note: Pull requests automatically generate preview pages. Check the PR comments for the preview URL after the workflow completes.
PR Preview Page Cleanup
A workflow is provided for manual cleanup of old PR preview directories that accumulate over time on the gh-pages branch, in case the automatic cleanup processes were not triggered properly when the pr was merged/closed.
How to trigger
- Go to GitHub Actions
- Select "Cleanup PR Previews" workflow
- Click the "Run workflow" button and select the desired branch, if needed
- Configure options:
- max_age_days: How old directories should be to get deleted (default: 30 days)
- dry_run: Set to
trueto preview what would be deleted without actually deleting
What it cleans
- Removes PR preview directories older than the specified age
- Built with: Sphinx 7.4.7+ with MyST-NB extension
- Theme: Sphinx Wagtail Theme v6.4.0+ with custom modifications
- Deployment: GitHub Actions β GitHub Pages
- Python: 3.9+ required
For questions or issues:
- Check existing Issues
- Create a new issue with detailed description
- Contact the Research Data Management team or Ding He at BRIGHT
Copyright (C) 2026 [BRIGHT, Technical University of Denmark]
This documentation is free: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE file in this repository for more details.
You should have a copy of the GNU General Public License along with this documentation. If not, see https://www.gnu.org/licenses/.
Research Data Management Team
BRIGHT
Technical University of Denmark