Skip to content

Commit f7afa86

Browse files
committed
Documentation update
1 parent dae76ee commit f7afa86

File tree

7 files changed

+66
-2
lines changed

7 files changed

+66
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ devel_env:
2424
stage: init_ci
2525
script:
2626
- $nr_of_occurrences = (Get-ChildItem -Include *.md,*.rst -Recurse -Exclude .\git,.\build| Select-String -pattern "$CondaEnvironmentName" -AllMatches).matches.count
27-
- if ($nr_of_occurrences -ne 4) { Throw "devel env name does not match the docs"}
27+
- if ($nr_of_occurrences -ne 6) { Throw "devel env name does not match the docs"}
2828

2929
initialize_python_deps: # make sure we have an up-to-date conda and pip available
3030
stage: init_ci

.vscode/cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"Foerderung",
2929
"Forschung",
3030
"IISB",
31+
"Jülich",
32+
"BMBF",
3133
// rst and sphinx
3234
"automodule",
3335
"genindex",

docs/acknowledgment.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Acknowledgment
2+
==============
3+
4+
.. |logo_fkz| image:: ./_static/bmbf.png
5+
6+
+-------------------------------------+------------------------------------+
7+
| This work was financially supported | |logo_fkz| |
8+
| by the Federal Ministry of | |
9+
| Education Research within the | |
10+
| projects FKZ: 03XP0338C ("SimBAS"). | |
11+
| The project is cared by Project | |
12+
| Management Jülich. | |
13+
| The responsibility for this | |
14+
| publication rests with the authors. | |
15+
+-------------------------------------+------------------------------------+

docs/development/changelog.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ The format is based on
77
`Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
88
and this project adheres to `Calendar Versioning <https://calver.org/>`_.
99

10+
[2024.03.0] 2024-03-26
11+
----------------------
12+
13+
Added
14+
^^^^^
15+
16+
- Additionally to the `README.md` also state the acknowledgement in the
17+
documentation itself.
18+
- Add documentation on how to build the `BaSD` Python package.
19+
1020
[2024.01.1] 2024-01-22
1121
----------------------
1222

docs/development/dev-installation.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,24 @@ For Development
3737
$ code .
3838
$ cd src # testing needs to be run in source directory
3939
$ python -m basd design -r ../tests/requirements/Example-system.json --database ../tests/cells
40+
41+
Packaging
42+
+++++++++
43+
44+
.. code-block:: console
45+
46+
$ # user: activate any conda base environment
47+
$ conda activate basd-devel-env-11
48+
$ cd path/to/repo
49+
$ flit build
50+
51+
Documentation Build
52+
+++++++++++++++++++
53+
54+
.. code-block:: console
55+
56+
$ # user: activate any conda base environment
57+
$ conda activate basd-devel-env-11
58+
$ cd path/to/repo
59+
$ cd docs
60+
$ make html

docs/index.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,25 @@ system configurations.
2424

2525
The following documentation describes how to use and extend |basd|.
2626

27+
.. |logo_fkz| image:: ./_static/bmbf.png
28+
2729
.. note::
2830

2931
|basd| is licensed under the :ref:`MIT license <LICENSE>`.
3032

33+
.. note::
34+
35+
+-------------------------------------+------------------------------------+
36+
| This work was financially supported | |logo_fkz| |
37+
| by the Federal Ministry of | |
38+
| Education Research within the | |
39+
| projects FKZ: 03XP0338C ("SimBAS"). | |
40+
| The project is cared by Project | |
41+
| Management Jülich. | |
42+
| The responsibility for this | |
43+
| publication rests with the authors. | |
44+
+-------------------------------------+------------------------------------+
45+
3146
.. toctree::
3247
:maxdepth: 1
3348
:caption: User Guide
@@ -70,6 +85,7 @@ The following documentation describes how to use and extend |basd|.
7085
license.rst
7186
GitHub <https://github.com/foxBMS/BaSD>
7287
Documentation <https://basd.readthedocs.io>
88+
acknowledgment.rst
7389

7490
Indices and tables
7591

src/basd/utils/basd_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333

3434
"""Defines the BaSD version number"""
3535

36-
_version = "2024.01.1" #: BaSD version number: YYYY.MM.PATCH
36+
_version = "2024.03.0" #: BaSD version number: YYYY.MM.PATCH
3737

3838
__version__ = _version

0 commit comments

Comments
 (0)