bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Change version dir on docs to something generic

Open GeoSot opened this issue 3 years ago • 2 comments

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 to site/docs/assets (we want(?) them under docs version)
  • transfer & separate site/content/docs/* on site/content/docs & site/content/latest (the new versioning mapping)
  • module.mounts on config.yml & enable default 404

https://deploy-preview-36805--twbs-bootstrap.netlify.app/

/cc @mdo @XhmikosR

GeoSot avatar Jul 21 '22 23:07 GeoSot

Please don't hurry about this kind of changes. I haven't forgotten about it, I'm busy with real life and this is not urgent.

XhmikosR avatar Jul 22 '22 14:07 XhmikosR

Just putting them in a 'hidden' order, hoping we will manage to address them ;)

GeoSot avatar Jul 22 '22 14:07 GeoSot