Skip to content

Commit

Permalink
docs(rtd): include DFN specification in dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jul 15, 2024
1 parent 47762d4 commit 9873f00
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .build_rtd_docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
dstdir = "_dev"
fpth = "DEVELOPER.md"
src = os.path.join("..", fpth)
dst = os.path.join(dstdir, fpth)
dst = os.path.join(dstdir, fpth.lower())
# clean up an existing _mf6run directory
if os.path.isdir(dstdir):
shutil.rmtree(dstdir)
Expand All @@ -72,7 +72,7 @@
# -- copy contributor docs
fpth = "CONTRIBUTING.md"
src = os.path.join("..", fpth)
dst = os.path.join(dstdir, fpth)
dst = os.path.join(dstdir, fpth.lower())
shutil.copy(src, dst)

# -- copy style guide
Expand All @@ -81,6 +81,11 @@
dst = os.path.join(dstdir, fpth)
shutil.copy(src, dst)

# -- copy DFN spec
fpth = "readme.md"
src = os.path.join("..", "doc", "mf6io", "mf6ivar", fpth)
dst = os.path.join(dstdir, "dfn.md")

# -- copy deprecations markdown ---------------------------------------------
print("Copy the deprecations table")
dstdir = "_mf6run"
Expand Down
5 changes: 3 additions & 2 deletions .build_rtd_docs/dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This section includes developer instructions and conventions.
:maxdepth: 1
:glob:

_dev/CONTRIBUTING.md
_dev/DEVELOPER.md
_dev/contributing.md
_dev/developer.md
_dev/styleguide.md
_dev/dfn.md

0 comments on commit 9873f00

Please sign in to comment.