问题
I'm using R markdown (README.Rmd
) to knit/render to README.md
at the top level of a project directory. GitLab (both in Project and Public views) chooses the .Rmd
file to render vs the .md
file and produces a visual mess instead of a nicely-formatted project description.
Is there any way to tell GitLab to ignore .Rmd
files when picking the "right" one to use for the project/public view or am I left with a workflow that will mean keeping the README.Rmd
in a separate directory then having the R project build process render and copy a knitted README.md
to the top-level project directory?
This is a fresh install (this week) of a self-hosted instance of GitLab, but you can see it rendering the wrong README
here.
回答1:
I've reproduced this issue. I'll look into this tomorrow and make a PR for fixing this.
来源:https://stackoverflow.com/questions/25169393/gitlab-rendering-the-wrong-readme-in-project-public-views