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
fix: move std library assets into docs directory to fix GitHub Pages deployment (#7365)
## Description
PR #7362 attempted to fix the std library documentation deployment but
broke it completely - the site now shows a 404 error at
https://fuellabs.github.io/sway/master/std/.
The issue was that CSS and JavaScript assets (`static.files/`,
`search.js`) were not being deployed, causing the documentation to be
unusable even when HTML pages loaded.
This fix:
1. Builds docs with `forc doc`
2. Moves `static.files/` and `search.js` into the `std/` directory
3. Updates HTML relative paths (removes `../` references)
4. Deploys the complete package to `master/std`
## Checklist
- [ ] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [ ] I have requested a review from the relevant team or maintainers.
0 commit comments