-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Issue description
Given release tags are using "complex" prefix (e.g., pack/v<VERSION>), like in CMSIS-View.
On release, the documentation is pushed onto the gh-pages branch into a folder named like the tag. For plain tags (without / in the name) this results in a new top-level folder as expected. But for "complex" tag names (with / in the name) this creates a folder hierarchy.
For CMSIS-View for example, having the release tags pack/v1.0.0 and pack/v1.1.0 lead to the folder structure on gh-pages branch like this:
π¦
β£ π pack
β β£ π v1.0.0 release 1.0.0 documentation
β β π v1.1.0 release 1.1.0 documentation
β£ π main main branch documentation
β£ π latest -> pack/v1.1.0 link to latest release documentation
β π versions.js Version selectorUnfortunately, when updating the versions.js file, searching for documentation versions is limited to the first directory level. This leads to documentation version published into some subfolder hierarchy not to be listed.
Expected behaviour
Instead, on the gh-pages branch all release versions should show up as s top-level folder named according to the release version. The release version is considered to be the tag name without the prefix.
For above example, the expected folder structure is like this:
π¦
β£ π 1.0.0 release 1.0.0 documentation
β£ π 1.1.0 release 1.1.0 documentation
β£ π main main branch documentation
β£ π latest -> 1.1.0 link to latest release documentation
β π versions.js Version selector