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.

Reply via email to