Skip to content

Add a Sphinx documentation site (#32) - #76

Merged
galjos merged 2 commits into
mainfrom
docs-site
Jul 6, 2026
Merged

Add a Sphinx documentation site (#32)#76
galjos merged 2 commits into
mainfrom
docs-site

Conversation

@galjos

@galjos galjos commented Jul 6, 2026

Copy link
Copy Markdown
Member

Resolves #32 — structured user + API documentation. (The issue's two notes were already partly met: DFTB+/Slater-Koster setup is documented in the README, and examples/ has an end-to-end input; this adds the structured site around them.)

What changed

  • docs/ — a Sphinx site that builds cleanly (0 warnings):
    • installation.rst — pip vs. the environment.yml full stack, the backends table, and explicit DFTB+/Slater-Koster + GBSA setup via thermo setup-dftb.
    • usage.rst — all four CLI subcommands (including thermo screen, previously undocumented) + a Python quickstart (dftb+/xtb/xtb-cli/conformers) + a pointer to the examples/ end-to-end input.
    • configuration.rst — reference for engines/parameter-sets, solvation, quasi-RRHO, spin/charge, temperature/pressure, --resume, and the screening input formats.
    • api.rst — autodoc of the public API (dftbplus_thermo, xtb_thermo, xtb_cli_thermo, run_thermo, screen, generate_conformers, System, Thermo, readers, backend setup).
    • conf.py — autodoc + napoleon + viewcode, alabaster theme (no extra deps beyond the existing docs extra), tblite mocked (lazy/optional import).
  • .github/workflows/docs.yml — builds the docs on every push/PR so they can't rot.
  • README — links the docs and how to build them.

Verified

python -m sphinx -b html docs docs/_build/htmlbuild succeeded, 0 warnings; autodoc imports the package and renders the API.

Closes #32. No source changes, so the test suite is unaffected (269 passed / 11 skipped).

Resolves #32: structured user + API documentation.

- docs/: a Sphinx site (installation, usage, configuration, API reference)
  with autodoc + napoleon; builds cleanly (0 warnings). Installation covers the
  DFTB+/Slater-Koster setup explicitly and points at the examples/ end-to-end
  input; usage documents all four CLI subcommands (including screen) and a Python
  quickstart; configuration is a reference for engines, solvation, spin, etc.
- .github/workflows/docs.yml: build the docs on every push/PR so they cannot rot.
- README: link the docs and how to build them.

Closes #32
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.80%. Comparing base (c3ba41f) to head (a8a2414).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   96.80%   96.80%           
=======================================
  Files          25       25           
  Lines        1629     1629           
=======================================
  Hits         1577     1577           
  Misses         52       52           
Flag Coverage Δ
unittests 96.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@galjos
galjos merged commit 4e58987 into main Jul 6, 2026
4 checks passed
@galjos
galjos deleted the docs-site branch July 6, 2026 12:59
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.

Build user and API documentation

1 participant