Skip to content

Commit 5361bbb

Browse files
committed
refactor(docs): move the documentation into docs/source
1 parent 11d0c3c commit 5361bbb

11 files changed

Lines changed: 11 additions & 12 deletions

‎.gitignore‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ instance/
6363
.scrapy
6464

6565
# Sphinx documentation
66-
docs/_build/
67-
docs/autosummary/
66+
docs/build/
67+
docs/source/autosummary/
6868

6969
# PyBuilder
7070
target/

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ CodeEntropy
1414
CodeEntropy is a Python package for computing the configurational entropy of macromolecular systems using forces sampled from molecular dynamics (MD) simulations. It implements the multiscale cell correlation method to provide accurate and efficient entropy estimates, supporting a wide range of applications in molecular simulation and statistical mechanics.
1515

1616
<p align="center">
17-
<img src="docs/_static/logos/biosim-codeentropy_logo_light.png#gh-dark-mode-only" alt="CodeEntropy logo" width="300"/>
18-
<img src="docs/_static/logos/biosim-codeentropy_logo_dark.png#gh-light-mode-only" alt="CodeEntropy logo" width="300"/>
17+
<img src="docs/source/_static/logos/biosim-codeentropy_logo_light.png#gh-dark-mode-only" alt="CodeEntropy logo" width="300"/>
18+
<img src="docs/source/_static/logos/biosim-codeentropy_logo_dark.png#gh-light-mode-only" alt="CodeEntropy logo" width="300"/>
1919
</p>
2020

2121
See [CodeEntropy’s documentation](https://codeentropy.readthedocs.io/en/latest/) for more information.

‎docs/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
SPHINXPROJ = CodeEntropy
8-
SOURCEDIR = .
9-
BUILDDIR = _build
8+
SOURCEDIR = source
9+
BUILDDIR = build
1010

1111
# Put it first so that "make" without argument is like "make help".
1212
help:

docs/_static/logos/biosim-codeentropy_logo_dark.png renamed to docs/source/_static/logos/biosim-codeentropy_logo_dark.png

File renamed without changes.

docs/_static/logos/biosim-codeentropy_logo_light.png renamed to docs/source/_static/logos/biosim-codeentropy_logo_light.png

File renamed without changes.
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,18 @@ Run the same checks locally with `uv <https://docs.astral.sh/uv/>`_::
191191
Building Documentation
192192
----------------------
193193

194-
Build documentation locally::
194+
Install the documentation dependencies and build the documentation locally::
195195

196+
pip install -e ".[docs]"
196197
cd docs
197198
make html
198199

199200
The generated HTML files will be in ``docs/build/html/``.
200201

201202
Open ``index.html`` in your browser to preview.
202203

203-
Documentation sources are located in:
204-
205-
- ``docs/user_guide/``
206-
- ``docs/developer_guide/``
204+
The documentation sources are in ``docs/source/``, and the API reference is generated
205+
from the source code by sphinx-autoapi.
207206

208207
Contributing Code
209208
-----------------
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)