Skip to content

Commit 19f98f3

Browse files
committed
convert rst to myst
1 parent b5cdfbe commit 19f98f3

7 files changed

+94
-169
lines changed

AUTHORS.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Credits
2+
3+
## Development Leads
4+
5+
- [Eric Hutton](https://github.com/mcflugen)
6+
- [Mark Piper](https://github.com/mdpiper)
7+
8+
## Contributors
9+
10+
- [Tian Gan](https://github.com/gantian127)
11+
- [Scott Stewart](https://github.com/sc0tts)
12+
- [Mike Taves](https://github.com/mwtoews)

AUTHORS.rst

-14
This file was deleted.

CHANGES.rst CHANGES.md

+21-70
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,75 @@
1-
Changelog for bmi-tester
2-
========================
1+
# Changelog for bmi-tester
32

4-
0.5.7 (unreleased)
5-
------------------
3+
## 0.5.7 (unreleased)
64

75
- Nothing changed yet.
86

9-
10-
0.5.6 (2023-12-15)
11-
------------------
7+
## 0.5.6 (2023-12-15)
128

139
- Fix docs build (#36)
14-
1510
- Updates for Python 3.12 (#35)
16-
1711
- Move static metadata to setup.cfg; update requirements; update CI workflows (#32)
1812

19-
20-
0.5.5 (2021-03-31)
21-
------------------
13+
## 0.5.5 (2021-03-31)
2214

2315
- Fixed documentation builds on readthedocs (#31)
24-
2516
- Added usage and installation instructions to the README,
2617
and did a general cleaning up of the docs (#30)
27-
2818
- Fixed a bug when validating some cf-compliant units (#29)
29-
3019
- Added gimli.units as a requirement for unit parsing (#29)
31-
3220
- Added GitHub actions for continuous integration (#28)
3321

34-
35-
0.5.4 (2020-10-31)
36-
------------------
22+
## 0.5.4 (2020-10-31)
3723

3824
- Removed the test for set_value as it's just too dangerous (#26)
39-
4025
- Fixed tests that use get_grid_node_count on grids that
4126
are not unstructured (#27)
4227

43-
44-
0.5.3 (2020-10-19)
45-
------------------
28+
## 0.5.3 (2020-10-19)
4629

4730
- Change tests that use ID arrays (e.g. face_nodes, edge_nodes, etc.) to
4831
allocate those array buffers as int32 (#25)
4932

50-
51-
0.5.2 (2020-10-09)
52-
------------------
33+
## 0.5.2 (2020-10-09)
5334

5435
- Fixed a bug in the unstructured grid tests (#24)
5536

56-
57-
0.5.1 (2020-09-10)
58-
------------------
37+
## 0.5.1 (2020-09-10)
5938

6039
- Fixed the time units check to allow dimensionless units (#22)
61-
6240
- Fixed remaining bmi version strings to 2.0 (#23)
6341

64-
0.5 (2020-09-02)
65-
----------------
42+
## 0.5 (2020-09-02)
6643

6744
- Fixed an error with empty_var_buffer where it returned a read-only array (#20)
68-
6945
- Fixed MANIFEST.in to include necessary source files (#21)
70-
7146
- Added test stages where successive stages depend on one another (#19)
72-
7347
- Cleaned up continuous integration and added Python 3.8 builds (#18)
7448

75-
76-
0.4.4 (2020-03-23)
77-
------------------
49+
## 0.4.4 (2020-03-23)
7850

7951
- Added test for get_grid_node_count (#17)
8052

81-
0.4.3 (2019-11-12)
82-
------------------
83-
84-
85-
0.4.2 (2019-07-24)
86-
------------------
87-
88-
89-
0.4.1 (2019-05-16)
90-
------------------
91-
92-
93-
0.4.0 (2018-10-25)
94-
------------------
95-
96-
97-
0.3.1 (2018-10-16)
98-
------------------
99-
100-
101-
0.3.0 (2018-09-30)
102-
------------------
53+
## 0.4.3 (2019-11-12)
10354

55+
## 0.4.2 (2019-07-24)
10456

105-
0.2.4 (2018-07-04)
106-
------------------
57+
## 0.4.1 (2019-05-16)
10758

59+
## 0.4.0 (2018-10-25)
10860

109-
0.2.2 (2018-07-03)
110-
------------------
61+
## 0.3.1 (2018-10-16)
11162

63+
## 0.3.0 (2018-09-30)
11264

113-
0.2.1 (2018-06-04)
114-
------------------
65+
## 0.2.4 (2018-07-04)
11566

67+
## 0.2.2 (2018-07-03)
11668

117-
0.2 (2018-06-04)
118-
----------------
69+
## 0.2.1 (2018-06-04)
11970

71+
## 0.2 (2018-06-04)
12072

121-
0.1.0 (2018-04-14)
122-
------------------
73+
## 0.1.0 (2018-04-14)
12374

12475
- Initial release

CREDITS.rst

-15
This file was deleted.

LICENSE.rst LICENSE.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
The MIT License (MIT)
2-
=====================
1+
# The MIT License (MIT)
32

4-
Copyright © `2020` `Community Surface Dynamics Modeling System`
3+
Copyright (c) `2020` `Community Surface Dynamics Modeling System`
54

65
Permission is hereby granted, free of charge, to any person
76
obtaining a copy of this software and associated documentation

README.rst README.md

+57-65
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
1-
bmi-tester: Test Basic Model Interface implementations
2-
======================================================
3-
4-
|Build Status| |Documentation Status| |Coverage Status| |Conda Version|
5-
|Conda Downloads|
6-
7-
About
8-
-----
1+
[anaconda-badge]: https://anaconda.org/conda-forge/bmi-tester/badges/version.svg
2+
[anaconda-link]: https://anaconda.org/conda-forge/bmi-tester
3+
[build-badge]: https://github.com/csdms/bmi-tester/actions/workflows/test.yml/badge.svg
4+
[build-link]: https://github.com/csdms/bmi-tester/actions/workflows/test.yml
5+
[coverage-badge]: https://coveralls.io/repos/github/csdms/bmi-tester/badge.svg
6+
[coverage-link]: https://coveralls.io/github/csdms/bmi-tester
7+
[docs-badge]: https://readthedocs.org/projects/bmi-tester/badge/?version=latest
8+
[docs-link]: https://readthedocs.org/projects/bmi-tester/
9+
[pypi-badge]: https://badge.fury.io/py/bmi-tester.svg
10+
[pypi-link]: https://pypi.org/project/bmi-tester/
11+
[python-badge]: https://img.shields.io/pypi/pyversions/bmi-tester.svg
12+
13+
# bmi-tester: Test Basic Model Interface implementations
14+
15+
![[Build Status][build-link]][build-badge]
16+
![[PyPI][pypi-link]][pypi-badge]
17+
![[Anaconda][anaconda-link]][anaconda-badge]
18+
![[Python][pypi-link]][python-badge]
19+
![[Documentation][docs-link]][docs-badge]
20+
![[Coverage][coverage-link]][coverage-badge]
21+
22+
## About
923

1024
The *bmi-tester* is a command-line utility and Python library for testing
1125
Basic Model Interface (BMI) implementations.
1226

13-
14-
Requirements
15-
------------
27+
## Requirements
1628

1729
The *bmi-tester* requires Python 3. Additional dependencies can be found
1830
in the project's *requirements.txt* file and can be installed using either
@@ -29,95 +41,75 @@ that things are working as they should. These dependencies are listed
2941
in *requirements-testing.txt* and can all be install with either *pip*
3042
or *conda*.
3143

32-
33-
Installation
34-
------------
44+
## Installation
3545

3646
To install, first create a new environment in which the project will be
3747
installed. This, although not necessary, will isolate the installation
3848
so that there won't be conflicts with your base *Python* installation.
3949
This can be done with *conda* as,
4050

41-
.. code:: bash
51+
```bash
52+
conda create -n bmi-tester python=3
53+
conda activate bmi-tester
54+
```
4255

43-
$ conda create -n bmi-tester python=3
44-
$ conda activate bmi-tester
45-
46-
47-
Stable Release
48-
++++++++++++++
56+
### Stable Release
4957

5058
The *bmi-tester*, and its dependencies, can most easily be installed
5159
with *conda*,
5260

53-
.. code:: bash
61+
```bash
62+
conda install bmi-tester -c conda-forge
63+
```
5464

55-
$ conda install bmi-tester -c conda-forge
56-
57-
From Source
58-
+++++++++++
65+
### From Source
5966

6067
After downloading the *bmi-tester* source code, run the following from
6168
the project's top-level folder (the one that contains *pyproject.toml*) to
6269
install into the current environment,
6370

64-
.. code:: bash
65-
66-
$ pip install -e .
71+
```bash
72+
pip install -e .
73+
```
6774

68-
Usage
69-
-----
75+
## Usage
7076

7177
You can access the *bmi-tester* from the command line with the *bmi-test*
7278
command. Use the *--help* option to get a brief description of the
7379
command line arguments,
7480

75-
.. code:: bash
76-
77-
$ bmi-test --help
81+
```bash
82+
bmi-test --help
83+
```
7884

7985
The *bmi-test* command takes a single argument, the name of the entry point
8086
of the class that implements the BMI you would like to test. To demonstrate
8187
how this works, we will use the *Hydrotrend* model as an example. To install
8288
the Python BMI for *Hydrotrend*, use *conda*,
8389

84-
.. code:: bash
85-
86-
$ conda install pymt_hydrotrend -c conda-forge
90+
```bash
91+
conda install pymt_hydrotrend -c conda-forge
92+
```
8793

8894
Once installed, the following will test the BMI implementation for the
8995
*Hydrotrend* class,
9096

91-
.. code:: bash
97+
```bash
98+
bmi-test pymt_hydrotrend:Hydrotrend
99+
```
92100

93-
$ bmi-test pymt_hydrotrend:Hydrotrend
94-
95-
The entry point is given as *<model>:<class>*. That is, in Python you would
101+
The entry point is given as *\<model>:\<class>*. That is, in Python you would
96102
import the *Hydrotrend* class as,
97103

98-
.. code:: python
99-
100-
>>> from pymt_hydrotrend import Hydrotrend
101-
102-
103-
Links
104-
-----
105-
106-
- `Source code <http://github.com/csdms/bmi-tester>`__: The
107-
*bmi-tester* source code repository.
108-
- `Documentation <http://bmi-tester.readthedocs.io/>`__: User
109-
documentation for *bmi-tester*
110-
- `Get <http://bmi-tester.readthedocs.io/en/latest/getting.html>`__:
111-
Installation instructions
104+
```python
105+
>>> from pymt_hydrotrend import Hydrotrend
106+
```
112107

108+
## Links
113109

114-
.. |Build Status| image:: https://github.com/csdms/bmi-tester/actions/workflows/test.yml/badge.svg
115-
:target: https://github.com/csdms/bmi-tester/actions/workflows/test.yml
116-
.. |Documentation Status| image:: https://readthedocs.org/projects/bmi-tester/badge/?version=latest
117-
:target: http://bmi-tester.readthedocs.io/en/latest/?badge=latest
118-
.. |Coverage Status| image:: https://coveralls.io/repos/github/csdms/bmi-tester/badge.svg
119-
:target: https://coveralls.io/github/csdms/bmi-tester
120-
.. |Conda Version| image:: https://anaconda.org/conda-forge/bmi-tester/badges/version.svg
121-
:target: https://anaconda.org/conda-forge/bmi-tester
122-
.. |Conda Downloads| image:: https://anaconda.org/conda-forge/bmi-tester/badges/downloads.svg
123-
:target: https://anaconda.org/conda-forge/bmi-tester
110+
- [Source code](http://github.com/csdms/bmi-tester): The
111+
*bmi-tester* source code repository.
112+
- [Documentation](http://bmi-tester.readthedocs.io/): User
113+
documentation for *bmi-tester*
114+
- [Get](http://bmi-tester.readthedocs.io/en/latest/getting.html):
115+
Installation instructions

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ requires = [
8787
build-backend = "setuptools.build_meta"
8888

8989
[tool.setuptools.dynamic.readme]
90-
file = "README.rst"
91-
content-type = "text/x-rst"
90+
file = "README.md"
91+
content-type = "text/markdown"
9292

9393
[tool.setuptools.dynamic.version]
9494
attr = "bmi_tester._version.__version__"

0 commit comments

Comments
 (0)