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
Copy file name to clipboardExpand all lines: content/en/cloud/academy/creating-your-learning-path/index.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -281,14 +281,14 @@ This action will automatically trigger the workflow, and your content will be de
281
281
282
282
## 6. Ongoing Maintenance and Updates
283
283
284
-
The Layer5 Academy uses a maintained Hugo theme called [`academy-theme`](https://github.com/layer5io/academy-theme). As improvements are made to the theme, it is important to keep your local copy up to date to benefit from the latest features and fixes.
284
+
The [`academy-theme`](https://github.com/layer5io/academy-theme) provides the core layout, style, and features for your learning path. Regularly updating it ensures you benefit from the latest improvements and bug fixes.
285
285
286
286
To upgrade to the latest theme version, run:
287
287
```bash
288
288
make theme-upgrade
289
289
```
290
290
291
-
This will trigger a sequence that updates the theme dependencies and applies the latest modules. The output below shows an example of what you might see:
291
+
You will see output similar to this as Hugo fetches the new modules:
It's a good practice to update the theme before creating a new release or when you notice that your local preview is missing recent design changes.
302
+
{{< /alert >}}
303
+
304
+
### Clearing the LocalCacheforTroubleshooting
301
305
302
-
- Before creating a release, to ensure you are using the most up-to-date theme.
303
-
- If your preview or build seems outdated or missing recent design improvements.
304
-
- After any update to the `academy-theme` repository is announced.
305
-
> Run `hugo mod graph` to inspect which version of the theme you are currently using.
306
+
If you encounter unexpected formatting issues or your content doesn't update correctly during local development, your build cache might be stale. Use the `make clean` command to resolve this.
307
+
This command first deletes the local build cache (`public` directory) and then restarts the development server, ensuring you are previewing a fresh build of your content.
0 commit comments