GitLab rendering the wrong README in Project & Public views

一世执手 提交于 2020-01-06 05:10:19

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!