You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,6 +56,25 @@ This theme is designed to be used as a Git submodule inside your site's source r
55
56
56
57
Load that URL in your browser. If you see the theme's documentation page, the site compiled successfully and you can customize it with your own content.
57
58
59
+
## Update the theme
60
+
61
+
To move your site to a newer theme release, check out the tag inside the
62
+
submodule and refresh its nested submodules:
63
+
64
+
```sh
65
+
cd themes/scientific-python-hugo-theme
66
+
git fetch --tags
67
+
git checkout v0.23
68
+
git submodule update --init --recursive
69
+
cd ../..
70
+
```
71
+
72
+
Then commit the updated submodule pointer. Anything that clones your site,
73
+
such as a `Makefile` target or a CI workflow, should also fetch submodules
74
+
recursively. For example, use `git clone --recurse-submodules`,
75
+
`git submodule update --init --recursive`, or `submodules: recursive` with
0 commit comments