I need to be able to version my projects (mike and projects plugin compatibility) #8180
Replies: 3 comments 3 replies
-
Hello @PhilStollery I believe that this configuration will not work as expected. The problem is that Mike was primarily developed for GitHub Pages, which by default uses the “gh-pages” branch as a source. GitLab Pages works fundamentally different and uses a different workflow for publishing documentation. After several tests and different approaches, I could not successfully integrate Mike into GitLab. I did some research on the internet and it seems that there is no alternative that works in GitLab - unfortunately. |
Beta Was this translation helpful? Give feedback.
-
I'm using GitLab pages at the moment - but have a rather complex pipeline as we build and deploy to Kubernetes. Maybe I can reverse engineer the versions.json file? |
Beta Was this translation helpful? Give feedback.
-
I think I need to clarify - we can ignore GitLab for now. On my docs site, how can I have a different version drop down for each project? (Using the insiders projects plugin). So I need one mkdocs site, that has docs for all our individual products, each product has their own version number and versions of their docs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm working on a programme that is developing a suite of products/services. Our documentation can't be versioned at the programme level, I need to be able to have different versions for each product.
I've installed (and became an insider) the projects plugin and thought all I need to do is use mike in each subproject site. Is that right?
To complicate things, it's a government project so it's hosted on a private GitLab repo - so all the CI/CD is not GitHub. The current build pipeline works, but adding mike into it might be a problem?
Once I've proved it all hangs together, I'll be going to finance to ask for an enterprise licence. But want to know if it'll work before then.
Beta Was this translation helpful? Give feedback.
All reactions