#2236 Link to the doc when the documentation is activated but has no content
Merged by pingou. Opened by pingou.
doc_doc  into  master

Download 2236.patch

New user of pagure may not know how the documentation works in pagure.
So they will see the settings page, activate the documentation and if
they do not upload anything to the documentation git repo, nothing will
happen and they may wonder why.
So in addition to the error message that nothing was found in the git
repo, this commit adds a link to the relevant section of pagure's
documentation.

Fixes https://pagure.io/pagure/issue/1562

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Looks good, nice clean test :thumbsup:

It looks like there's an unrelated test failure in Jenkins (which obviously would be good to fix, but isn't a blocker for me). I leave it up to you if you want a thumbs-up from Jenkins in addition to me or not.

rebased

Thanks for the review! I'll wait to see if jenkins is still happy and merge :)

Pull-Request has been merged by pingou

Metadata