GitLab在Project&中渲染了错误的自述文件公众意见 [英] GitLab rendering the wrong README in Project & Public views

查看:62
本文介绍了GitLab在Project&中渲染了错误的自述文件公众意见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用R markdown(README.Rmd)在项目目录的顶层编织/渲染为README.md. GitLab(在项目视图和公共视图中)选择.Rmd文件进行渲染,而不是.md文件,并产生视觉混乱,而不是格式正确的项目描述.

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.

在选择用于项目/公共视图的正确"文件时,是否有任何方法告诉GitLab忽略.Rmd文件,或者我离开了工作流程,这意味着将README.Rmd保留在单独的目录中然后让R项目构建过程呈现并复制编织的README.md到顶层项目目录?

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?

这是本周自我安装的GitLab实例的全新安装(本周),但是您会看到它呈现了错误的README

This is a fresh install (this week) of a self-hosted instance of GitLab, but you can see it rendering the wrong README here.

推荐答案

我已重现了此问题.明天我会调查这个问题,并提出修复此问题的公关.

I've reproduced this issue. I'll look into this tomorrow and make a PR for fixing this.

这篇关于GitLab在Project&中渲染了错误的自述文件公众意见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆