Open JensPeter92 opened 2 years ago
I did not try it with gitlab pages. I've been busy but might be able to look into it some point in the near future. Hopefully we can resolve this sooner rather than later.
You could have a look to my comment here: https://github.com/jdoiro3/mkdocs-multirepo-plugin/issues/33#issuecomment-1180649139
It works fine for me.
Hi jdoiro3,
I am currently facing the issue that the nav based import does not work for my Gitlab CICD runner. However, when I change it to a repo base import, it works.
I cannot reconstruct the bug, when working on my PC. There both ways are working.
The error message I am facing is 'ImportDocsException(f"{self.name} doesn't have {yml_file} at {str(config_file)}")'. The repo I attach to my mkdocs: https://gitlab.com/pages/mkdocs - It has a mkdocs.yml file. It is a public repository, so the AccessToken should not influence the result.
Nav based import works with github repos via Gitlab CICD runners without problems.
Did you try the CICD approach once for gitlab pages?