Skip to content

Commit bbbb2bc

Browse files
authored
docs(rtd): fix migration section (#2289)
The new sections were not uploaded from GH actions to RTD, do so. Also move the PRT mf6.5->6.6 migration guide from the src/ to the .build_rtd_docs/ folder so it doesn't show up in the API docs.
1 parent 2c6a01c commit bbbb2bc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.build_rtd_docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898

9999
print(f"Copy migration guides to {dstdir}")
100100
fpth = "mf6_6_0_prt_migration_guide.md"
101-
src = os.path.join("..", "src", "Solution", "ParticleTracker", fpth)
101+
src = os.path.join(fpth)
102102
dst = os.path.join(dstdir, fpth)
103-
shutil.copy(src, dst)
103+
shutil.move(src, dst)
104104

105105
# -- build the deprecations table --------------------------------------------
106106
print("Build the deprecations markdown table")
File renamed without changes.

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ jobs:
174174
name: rtd-files-for-${{ github.sha }}
175175
path: |
176176
modflow6/.build_rtd_docs/dev.rst
177+
modflow6/.build_rtd_docs/migration.rst
177178
modflow6/.build_rtd_docs/index.rst
178179
modflow6/.build_rtd_docs/mf6io.rst
179180
modflow6/.build_rtd_docs/_dev/
181+
modflow6/.build_rtd_docs/_migration/
180182
modflow6/.build_rtd_docs/_mf6io/
181183
modflow6/.build_rtd_docs/_mf6run/
182184
modflow6/.build_rtd_docs/_static/

0 commit comments

Comments
 (0)