-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link to backend info from project edit form #556
Conversation
Codecov Report
@@ Coverage Diff @@
## master #556 +/- ##
=======================================
Coverage 96.51% 96.51%
=======================================
Files 57 57
Lines 2985 2985
Branches 407 407
=======================================
Hits 2881 2881
Misses 70 70
Partials 34 34 Continue to review full report at Codecov.
|
Not agree with this commit.
Please use relative path. |
You mean absolute to the root of the web-site? Because I don't remember URL for this form to calculate relative path. If the path is relative to web-site root, then can you point me to documentation to find the helper for this site root, because I am not familiar with this framework? |
@nqb I just copy/pasted what seems to be logical for me. Should work. |
Hello @abitrolly, Seems better but I can't test. @jeremycline, your opinion ? |
Hi @abitrolly, Thanks for the PR. I'm on vacation at the moment, but I'll take a look at this when I get back next week. The code itself looks reasonable. Does this fix an open issue on the issue tracker? |
No, only self. |
@jeremycline so did you get the time to review this? |
Sorry, it dropped off my radar. I just gave this a test, it looks like it's not accounting for the documentation having moved away from |
The link is for helping users quickly choose proper backend. User guide is already available from the top menu. |
What I'm suggesting is that if someone doesn't know what backend they want, they probably want all the documentation on creating a new project. The documentation generally is linked at the top, but linking directly to the "create a project" documentation is more helpful. If just the backend field is linked, I (as a user) will wonder why the rest of the fields aren't linked or don't have documentation. The adjustment you've made doesn't look like it'll render, however. You've got |
I fixed the link, but until 0.12 is released #561 there it not much motivation to add other documentation links. I don't like layout of Sphinx docs and they are hard to customize, so nobody does it. As for if users should read the full doc or not - it's up to them - the link to the full doc is in the header. I was scratching my own itch. |
Now when there is version 0.13.1 live I want to add this PR. Just one note, this change is made in |
Rebased. Making a link for edit/new form is doable. I can do this right away. Without testing as I am not sure I have time to setup testing environment. https://github.com/release-monitoring/anitya/blob/master/anitya/templates/functions.html |
I added the code that should add the description to new/edit project form. It is completely theoretical and untested, because I can not get past login screen in development environment. |
To test it in current state, you need to delete |
Just commenting decorator helped. PR works ok. |
Squashed commits. |
Looks good. Could you just add news file for townscryer? Just add a new file to |
It is possible to autogenerate links for adding |
Link isn't working |
Because I removed my branch. |
No description provided.