DISPLACE Documentation Guide
February 6, 2026 ยท View on GitHub
๐ Documentation Overview
DISPLACE documentation is built using Quarto, an open-source scientific publishing system that supports reproducible documentation with integrated code, visualizations, and narrative text.
Where to Find Documentation
- Main Documentation: See the
docs/directory - Online Documentation: (Coming soon - will be published to GitHub Pages)
- Quick Reference: See
docs/QUICKREF.mdfor common tasks - Contributing Guide: See
docs/CONTRIBUTING_DOCS.md
๐ Quick Start for Contributors
1. Install Prerequisites
- Quarto: Download from quarto.org
- Optional - R: For R code examples (r-project.org)
2. Preview Documentation Locally
cd docs
quarto preview
This opens a live preview in your browser that auto-updates as you edit.
3. Add New Content
Easy Way - Use the template:
cd docs
cp _template_chapter.qmd my-new-topic.qmd
# Edit my-new-topic.qmd
# Add to _quarto.yml
quarto preview
Step-by-Step Guide: See docs/README.md
๐ Documentation Structure
The documentation is organized as a book with the following parts:
Getting Started
- Quick Start - Installation and setup
- Building - Compilation instructions
- Running - How to run DISPLACE
User Guide
- R Routines - Data preparation workflows
- Output Formats - Understanding simulation outputs
Advanced Topics
(Coming soon - add your chapters here!)
โ๏ธ How to Contribute
Adding New Documentation
-
Copy the template:
cd docs cp _template_chapter.qmd your-topic.qmd -
Edit your chapter with content
-
Add to
_quarto.yml:book: chapters: - part: "Section Name" chapters: - your-topic.qmd -
Preview and test:
quarto preview -
Commit and push:
git add docs/ git commit -m "docs: add chapter on [topic]" git push
Updating Existing Documentation
- Edit the relevant
.qmdfile indocs/ - Preview your changes with
quarto preview - Commit and push
For detailed guidelines, see:
docs/README.md- Comprehensive documentation guidedocs/CONTRIBUTING_DOCS.md- Detailed contribution guidelinesdocs/QUICKREF.md- Quick reference for common tasks
๐ฏ Key Features
Easy to Expand
- Template provided - Just copy and fill in
- Clear structure - Organized by topic
- Live preview - See changes immediately
- Markdown-based - No complex tools needed
Integrated Code
- Execute R, Python, Julia, etc.
- Show code and output together
- Reproducible examples
Professional Output
- Clean HTML with navigation
- Automatic table of contents
- Search functionality
- Cross-references between chapters
- Bibliography support
Version Controlled
- All in Git
- Track changes over time
- Collaborative editing
๐ File Organization
DISPLACE_GUI/
โโโ docs/ # Main documentation directory
โ โโโ _quarto.yml # Documentation configuration
โ โโโ README.md # Documentation guide
โ โโโ CONTRIBUTING_DOCS.md # How to contribute
โ โโโ QUICKREF.md # Quick reference
โ โโโ _template_chapter.qmd # Template for new chapters
โ โ
โ โโโ index.qmd # Homepage
โ โโโ quickstart.qmd # Getting started
โ โโโ building.qmd # Build instructions
โ โโโ running.qmd # Running DISPLACE
โ โโโ routines.qmd # R routines
โ โโโ output-formats.qmd # Output formats
โ โ
โ โโโ references.bib # Bibliography
โ โโโ images/ # Documentation images
โ
โโโ quarto_docs/ # Legacy tutorial (being migrated)
โโโ quarto-tutorial.qmd
๐ Useful Links
๐ฌ Getting Help
- Documentation Questions: See
docs/README.md - Technical Issues: Open an issue on GitHub
- Quarto Help: Quarto documentation
- General Contributing: See
CONTRIBUTING.md
๐ What's New
The documentation system has been redesigned to make it easier to expand and maintain:
โ Organized structure with clear sections โ Template provided for quick chapter creation โ Comprehensive guides for contributors โ Live preview for immediate feedback โ Professional output with navigation and search โ All existing docs converted and integrated
๐ Next Steps
- Explore the documentation in
docs/ - Preview it locally with
quarto preview - Add your own chapters using the template
- Share your knowledge with the community!
For the legacy README content, see the documentation in docs/ or visit the DISPLACE website.