-
Hi all, im trying to set up versioning with gitlab pages following the documentation on: When deploying a version with mike a new branch "gh-pages" is created wich contains folders with the deployed versions and aliases. Therefore i think that mike is working fine. But my deployed docs dont show a version selector. Q:
Any advice is immensely appreciated! Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I have no experience with GitLab, but you have to make sure that The structure must be as follows (which
Otherwise, consider asking on the |
Beta Was this translation helpful? Give feedback.
-
Solved: I've found a simple solution:
With this file set in place the versioning example of @squidfunk will work fine on GitLab. |
Beta Was this translation helpful? Give feedback.
Solved:
I've found a simple solution:
GitHub will automatically publish the gh-pages branch in the pages. But in GitLab we need to add a .gitlab-ci.yml file into the gh-pages branch to have the same effect. A simple example of that file could look like this:
With this file set in place the versioning example of @squidfunk will work fine on GitLab.