Thread overview | |||||
---|---|---|---|---|---|
|
January 03, 2017 code.dlang.org package readme.md | ||||
---|---|---|---|---|
| ||||
Hi all. How it is possible to show readme.md from github repository in code.dlang.org for a particular project? Thanks. |
January 05, 2017 Re: code.dlang.org package readme.md | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexandru Ermicioi | On Tuesday, 3 January 2017 at 11:51:56 UTC, Alexandru Ermicioi wrote:
> Hi all.
>
> How it is possible to show readme.md from github repository in code.dlang.org for a particular project?
>
> Thanks.
I believe this should be done automatically, however I suspect code.dlang.org is case sensitive and requires the file name to be README.md or something like that.
|
January 06, 2017 Re: code.dlang.org package readme.md | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexandru Ermicioi | On Tuesday, 3 January 2017 at 11:51:56 UTC, Alexandru Ermicioi wrote: > Hi all. > > How it is possible to show readme.md from github repository in code.dlang.org for a particular project? > > Thanks. Yes, code.dlang.org will display the readme file of the package if and only if it is named "README.md". For reference: https://github.com/dlang/dub-registry/blob/v2.0.0/views/view_package.dt#L128 https://github.com/dlang/dub-registry/blob/v2.0.0/source/dubregistry/registry.d#L351 The naming scheme is probably not set in stone (it just seemed to work ok in practice), so if you want you can open a pull request to make it more flexible. |
Copyright © 1999-2021 by the D Language Foundation