Update Notes about the repo

2025-11-26 21:09:55 -05:00
parent 3e81122f83
commit 71b69ebf94

@@ -1,8 +1,8 @@
Important to keep in mind if renaming the repo
### S.A.M.Y UI - External CSS & JS Wiring
### SAMY UI - External CSS & JS Wiring
This document explains where S.A.M.Y references the external CSS and JavaScript files hosted on the SVS Git server, and what you need to update if those files move.
This document explains where SAMY references the external CSS and JavaScript files hosted on the SVS Git server, and what you need to update if those files move.
---
@@ -11,7 +11,7 @@ This document explains where S.A.M.Y references the external CSS and JavaScript
In `Get-UIHtml`, the HTML template includes a `<link>` tag for the stylesheet:
<link rel="stylesheet" href="https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/samy.css">
<link rel="stylesheet" href="https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/samy.css">
- This `href` is the only place the PowerShell script refers to the CSS file.
- If you rename the repo, branch, or CSS filename, update this URL.
@@ -24,7 +24,7 @@ In `Get-UIHtml`, the HTML template includes a `<link>` tag for the stylesheet:
Near the bottom of the same HTML template, the script includes an external JS file:
<!-- External JS from Gitea -->
<script src="https://git.svstools.ca/SVS_Public_Repo/S.A.M.Y/raw/branch/main/samy.js"></script>
<script src="https://git.svstools.ca/SVS_Public_Repo/SAMY/raw/branch/main/samy.js"></script>
- This `src` is the only reference to the UI logic (JS) outside the PS1.
- If the JS file moves or is renamed, update this URL accordingly.