Skip to content

Commit

Permalink
Use README.md verbatim in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamPattinson committed Jan 24, 2025
1 parent 1887a1b commit f169a24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# A lightweight simulation data creator and database manager
# simplesimdb: A lightweight simulation data creator and database manager

A python module for creation and management of simple simulation data.
Essentially, a very basic database manager that creates its own data.

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx_autodoc_typehints",
"myst_nb",
"myst_parser",
]

autosummary_generate = True
Expand Down
17 changes: 2 additions & 15 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,9 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
simplesimdb: A lightweight simulation data creator and database manager
=======================================================================
A python module for creation and management of simple simulation data.
Essentially, a very basic database manager that creates its own data.

Simplesimdb is typically used to generate and analyse research data
from a Python script, where the data generation is done by an external
(typically highly optimized, written in C/C++ say) code that generates
an output for a given set of input parameters. The emphasize here is
on the fact that the parameter generation, code execution and data
management loop is **automated**, which allows the user to run large
parameter scans with a few lines of Python code **without manual
interference**. In this way for example publication grade plots can
be (re-)produced from scratch by just executing Python scripts. (See
for example the `impurities project <https://github.com/mwiesenberger/impurities>`_)
.. include:: ../README.md
:parser: myst_parser.sphinx_

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ docs = [
"sphinx >= 5.3",
"sphinx_autodoc_typehints >= 1.19",
"sphinx-book-theme >= 0.4.0rc1",
"myst_nb",
"myst_parser",
]

[build-system]
Expand Down

0 comments on commit f169a24

Please sign in to comment.