Skip to content

Commit 793d8dc

Browse files
authored
Merge pull request #1655 from modflowpy/v3.3.6
Release 3.3.6
2 parents 05b538c + dae18e3 commit 793d8dc

File tree

1,318 files changed

+71776
-39579
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,318 files changed

+71776
-39579
lines changed

.docs/_images/orcid_16x16.png

236 Bytes
Loading

.docs/conf.py

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
import os
1414
import sys
1515

16+
import yaml
17+
1618
# add flopy root directory to the python path
1719
sys.path.insert(0, os.path.abspath(".."))
1820
from flopy import __author__, __version__
@@ -30,6 +32,10 @@
3032
rc_text = "release candidate"
3133
break
3234

35+
# -- get authors
36+
with open("../CITATION.cff") as f:
37+
citation = yaml.safe_load(f.read())
38+
3339
# -- update version number in main.rst
3440
rst_name = "main.rst"
3541
with open(rst_name, "r") as f:
@@ -62,10 +68,21 @@
6268
"post-processing. Members of the team\n"
6369
"currently include:\n\n"
6470
)
65-
authors = __author__.split(sep=",")
66-
for author in authors:
67-
line += f" * {author.strip()}\n"
71+
image_directives = ""
72+
orcid_image = "_images/orcid_16x16.png"
73+
parts = ["given-names", "name-particle", "family-names", "name"]
74+
for author in citation["authors"]:
75+
name = " ".join([author[pt] for pt in parts if pt in author])
76+
line += f" * {name}"
77+
if "orcid" in author:
78+
tag = "orcid_" + name.replace(" ", "_").replace(".", "")
79+
line += f" |{tag}|"
80+
image_directives += f".. |{tag}| image:: {orcid_image}\n"
81+
image_directives += f" :target: {author['orcid']}\n"
82+
line += "\n"
6883
line += " * and others\n\n"
84+
line += image_directives
85+
line += "\n"
6986
f.write(line)
7087
elif line.startswith(tag_end):
7188
write_line = True
@@ -90,14 +107,14 @@
90107
os.system(" ".join(cmd))
91108

92109
# -- Project information -----------------------------------------------------
93-
project = "flopy Documentation"
94-
copyright = f"2021, {__author__}"
110+
project = "FloPy Documentation"
111+
copyright = f"2022, {__author__}"
95112
author = __author__
96113

97114
# The version.
98115
version = __version__
99116
release = __version__
100-
language = None
117+
language = "en"
101118

102119
# -- General configuration ---------------------------------------------------
103120

.docs/introduction.rst

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ To install the bleeding edge version of FloPy from the git repository type:
5858
5959
pip install git+https://github.com/modflowpy/flopy.git
6060
61+
After FloPy is installed, MODFLOW and related programs can be installed using the command:
62+
63+
.. code-block:: bash
64+
65+
get-modflow :flopy
66+
67+
See documentation `get_modflow.md <https://github.com/modflowpy/flopy/blob/develop/docs/get_modflow.md>`_
68+
for more information.
6169

6270

6371
FloPy Resources
@@ -77,22 +85,49 @@ FloPy is developed by a team of MODFLOW users that have switched over to using
7785
Python for model development and post-processing. Members of the team
7886
currently include:
7987

80-
* Mark Bakker
81-
* Vincent Post
82-
* Joseph D. Hughes
83-
* Christian D. Langevin
84-
* Jeremy T. White
85-
* Andrew T. Leaf
86-
* Scott R. Paulinski
87-
* Jason C. Bellino
88-
* Eric D. Morway
89-
* Michael W. Toews
90-
* Joshua D. Larsen
91-
* Michael N. Fienen
92-
* Jon Jeffrey Starn
88+
* Mark Bakker |orcid_Mark_Bakker|
89+
* Vincent Post |orcid_Vincent_Post|
90+
* Joseph D. Hughes |orcid_Joseph_D_Hughes|
91+
* Christian D. Langevin |orcid_Christian_D_Langevin|
92+
* Jeremy T. White |orcid_Jeremy_T_White|
93+
* Andrew T. Leaf |orcid_Andrew_T_Leaf|
94+
* Scott R. Paulinski |orcid_Scott_R_Paulinski|
95+
* Jason C. Bellino |orcid_Jason_C_Bellino|
96+
* Eric D. Morway |orcid_Eric_D_Morway|
97+
* Michael W. Toews |orcid_Michael_W_Toews|
98+
* Joshua D. Larsen |orcid_Joshua_D_Larsen|
99+
* Michael N. Fienen |orcid_Michael_N_Fienen|
100+
* Jon Jeffrey Starn |orcid_Jon_Jeffrey_Starn|
93101
* Davíd Brakenhoff
94102
* and others
95103

104+
.. |orcid_Mark_Bakker| image:: _images/orcid_16x16.png
105+
:target: https://orcid.org/0000-0002-5629-2861
106+
.. |orcid_Vincent_Post| image:: _images/orcid_16x16.png
107+
:target: https://orcid.org/0000-0002-9463-3081
108+
.. |orcid_Joseph_D_Hughes| image:: _images/orcid_16x16.png
109+
:target: https://orcid.org/0000-0003-1311-2354
110+
.. |orcid_Christian_D_Langevin| image:: _images/orcid_16x16.png
111+
:target: https://orcid.org/0000-0001-5610-9759
112+
.. |orcid_Jeremy_T_White| image:: _images/orcid_16x16.png
113+
:target: https://orcid.org/0000-0002-4950-1469
114+
.. |orcid_Andrew_T_Leaf| image:: _images/orcid_16x16.png
115+
:target: https://orcid.org/0000-0001-8784-4924
116+
.. |orcid_Scott_R_Paulinski| image:: _images/orcid_16x16.png
117+
:target: https://orcid.org/0000-0001-6548-8164
118+
.. |orcid_Jason_C_Bellino| image:: _images/orcid_16x16.png
119+
:target: https://orcid.org/0000-0001-9046-9344
120+
.. |orcid_Eric_D_Morway| image:: _images/orcid_16x16.png
121+
:target: https://orcid.org/0000-0002-8553-6140
122+
.. |orcid_Michael_W_Toews| image:: _images/orcid_16x16.png
123+
:target: https://orcid.org/0000-0003-3657-7963
124+
.. |orcid_Joshua_D_Larsen| image:: _images/orcid_16x16.png
125+
:target: https://orcid.org/0000-0002-1218-800X
126+
.. |orcid_Michael_N_Fienen| image:: _images/orcid_16x16.png
127+
:target: https://orcid.org/0000-0002-7756-4651
128+
.. |orcid_Jon_Jeffrey_Starn| image:: _images/orcid_16x16.png
129+
:target: https://orcid.org/0000-0001-5909-0010
130+
96131
How to Cite
97132
===========
98133

.docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if errorlevel 9009 (
2121
echo.may add the Sphinx directory to PATH.
2222
echo.
2323
echo.If you don't have Sphinx installed, grab it from
24-
echo.http://sphinx-doc.org/
24+
echo.https://www.sphinx-doc.org/
2525
exit /b 1
2626
)
2727

.docs/requirements.rtd.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

.docs/tutorials.rst

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Contents:
2828
_notebooks/tutorial06_mf6_data
2929
_notebooks/tutorial07_mf6_data
3030
_notebooks/tutorial08_mf6_data
31+
_notebooks/tutorial09_mf6_data
3132

3233

3334
MODFLOW 6 Output Tutorials
@@ -53,18 +54,6 @@ Contents:
5354
_notebooks/tutorial02_mf
5455

5556

56-
.IPYNB_CHECKPOINTS Tutorials
57-
----------------------------
58-
59-
Contents:
60-
61-
.. toctree::
62-
:maxdepth: 2
63-
64-
_notebooks/tutorial01_mf-checkpoint
65-
_notebooks/tutorial02_mf-checkpoint
66-
67-
6857
SEAWAT Tutorials
6958
----------------
7059

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'bug: '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Additional context**
32+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: 'feature: '
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

0 commit comments

Comments
 (0)