Skip to content

docs: Add MkDocs Material documentation site#62

Merged
ericchansen merged 3 commits intomasterfrom
docs/website
Mar 19, 2026
Merged

docs: Add MkDocs Material documentation site#62
ericchansen merged 3 commits intomasterfrom
docs/website

Conversation

@ericchansen
Copy link
Copy Markdown
Owner

Summary

Add a full MkDocs Material documentation site with GitHub Pages auto-deployment. Slims the README to focus on motivation and quick start, moving detailed content to the docs site.

Pages

Page Description
Home (index.md) Hero, motivation, mermaid architecture diagram, what's new
Getting Started Installation, backend table, quick example, package structure, dev setup
Tutorial End-to-end workflow: QM Hessian -> Seminario init -> FF optimization (SN2 example)
API Overview Key classes/functions, optimization methods table, source links
Performance Benchmarks (already existed, now in nav)
References All 12 Q2MM papers with summaries, grouped by category

Changes

  • mkdocs.yml -- Material theme with mermaid, code highlighting, admonitions
  • .github/workflows/docs.yml -- Auto-deploy to gh-pages on push to master
  • pyproject.toml -- Added docs extra (mkdocs-material), Documentation URL
  • README.md -- Slimmed from 158 to 63 lines; keeps motivation, quick start, backends table, docs link
  • .gitignore -- Added site/

Testing

  • mkdocs build --strict passes with no warnings
  • ruff check + ruff format --check clean
  • pytest -q: 153 passed, 8 skipped, 1 xfailed

Site will be live at https://ericchansen.github.io/q2mm/ after merge.

- Add mkdocs.yml with Material theme, mermaid, code highlighting
- Add GitHub Actions workflow for auto-deploy to gh-pages
- Create docs: index, getting-started, tutorial, API, references
- Integrate existing performance.md into nav
- Slim README to focus on motivation, quick start, and docs link
- Add docs extra and Documentation URL to pyproject.toml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a MkDocs Material documentation site for Q2MM and wires up GitHub Pages deployment, while slimming the top-level README to emphasize motivation and quick start and moving long-form guidance into docs/.

Changes:

  • Introduces a Material-for-MkDocs site (mkdocs.yml + new docs/*.md pages) and a GitHub Actions workflow to deploy to gh-pages.
  • Adds a docs optional dependency extra and a Documentation URL in pyproject.toml.
  • Refactors README.md to link out to the new docs site and reduces in-repo long-form content.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pyproject.toml Adds docs extra (mkdocs-material) and a Documentation project URL.
mkdocs.yml Configures Material theme, nav, and markdown extensions (incl. Mermaid fences).
docs/index.md New docs landing page with architecture diagram and “What’s New”.
docs/getting-started.md Installation/backends overview + basic usage and dev commands.
docs/tutorial.md End-to-end tutorial workflow (QM → Seminario → optimization → export).
docs/api.md API overview page describing key models/optimizers/backends/parsers.
docs/references.md References page with grouped citations and summaries.
README.md Slimmed README with docs link and condensed quick-start/backends table.
.github/workflows/docs.yml Deploys docs to GitHub Pages on push to master.
.gitignore Ignores generated site/ output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread docs/api.md Outdated
Comment thread README.md Outdated
Comment thread docs/tutorial.md
Comment thread docs/tutorial.md Outdated
Comment thread docs/tutorial.md Outdated
Comment thread docs/api.md Outdated
Comment thread docs/api.md Outdated
ericchansen and others added 2 commits March 19, 2026 13:00
Correct 9 issues caught by Gemini 3 Pro and Opus 4.6 code reviews:

- Fix backend import paths (openmm_engine -> openmm, tinker_engine -> tinker)
- Fix TinkerEngine param name (tinker_path -> tinker_dir)
- Fix OptimizationResult attributes (.x/.score -> .final_params/.final_score)
- Fix GaussLog attributes (.energies/.geometries -> .structures/.evals/.evecs)
- Fix ObjectiveFunction param name (reference_data -> reference) and add missing molecules arg
- Add required data_idx to ReferenceData.add_frequency() example
- Fix atom_types type (list[int] -> list[str]) and bond_tolerance default (1.2 -> 1.3)
- Note estimate_force_constants accepts single molecule or list

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Make README Quick Start self-contained and copy-pasteable
- Add matplotlib install note in tutorial convergence plot
- Add README.md for examples/sn2-test/ (scripts, data, execution order)
- Add README.md for examples/rh-enamide/ (system description, files, quick start)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ericchansen ericchansen merged commit 54f68c1 into master Mar 19, 2026
6 checks passed
@ericchansen ericchansen deleted the docs/website branch March 19, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants