After some internal discussions, this is a draft trial, as a first step for easier deployments & nightly versions
This PR tries to replace docs 'version' directory, with something generic
Note: It seems that linkinator fails on a check, but I cannot understand if there is a missing page
Run JustinBeckwith/linkinator-action@v1
Scanning _site
Error: [404] _site/site/static
Scanned total of 293 links!
Error: Detected 1 broken links.
_site/docs/5.2/examples/starter-template/
[404] _site/site/static
Build Report comparison
Open comparison...
main branch
| EN
-------------------+------
Pages | 144
Paginator pages | 0
Non-page files | 40
Static files | 156
Processed images | 0
Aliases | 21
Sitemaps | 1
Cleaned | 0
This branch
| EN
-------------------+------
Pages | 144
Paginator pages | 0
Non-page files | 40
Static files | 156
Processed images | 0
Aliases | 21
Sitemaps | 1
Cleaned | 0
List of changes
-
package.json change
css-prefix-examples-rtl
script - delete old 404 custom pages (default layout does the same job according to hugo docs
- transfer
site/static/assets
tosite/docs/assets
(we want(?) them under docs version) - transfer & separate
site/content/docs/*
onsite/content/docs
&site/content/latest
(the new versioning mapping) - module.mounts on config.yml & enable default 404