Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !36805

Change version dir on docs to something generic

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open GeoSot requested to merge gs/change-version-dir-on-docs into main Jul 21, 2022
  • Overview 2
  • Commits 3
  • Pipelines 0
  • Changes 292

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gs/change-version-dir-on-docs