DISPLACE documentation is built using Quarto, an open-source scientific publishing system that supports reproducible documentation with integrated code, visualizations, and narrative text.
- 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
- Quarto: Download from quarto.org
- Optional - R: For R code examples (r-project.org)
cd docs
quarto previewThis opens a live preview in your browser that auto-updates as you edit.
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 previewStep-by-Step Guide: See docs/README.md
The documentation is organized as a book with the following parts:
- Quick Start - Installation and setup
- Building - Compilation instructions
- Running - How to run DISPLACE
- R Routines - Data preparation workflows
- Output Formats - Understanding simulation outputs
(Coming soon - add your chapters here!)
-
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
- 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
- Template provided - Just copy and fill in
- Clear structure - Organized by topic
- Live preview - See changes immediately
- Markdown-based - No complex tools needed
- Execute R, Python, Julia, etc.
- Show code and output together
- Reproducible examples
- Clean HTML with navigation
- Automatic table of contents
- Search functionality
- Cross-references between chapters
- Bibliography support
- All in Git
- Track changes over time
- Collaborative editing
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
- Documentation Questions: See
docs/README.md - Technical Issues: Open an issue on GitHub
- Quarto Help: Quarto documentation
- General Contributing: See
CONTRIBUTING.md
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
- 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.