Welcome page should link to manual instead of wiki
The welcome page shown when no data exists should link to the new manual on theforeman.org instead of the wiki pages. Perhaps via some static redirects for a given version number, as the URLs may not be consistent.
#3 Updated by Dominic Cleal over 9 years ago
Ky Zh wrote:
I will try to send a new PR to update the few links within foreman.
Thanks! FYI, the manual URL will be versioned for 1.2, so best to make the URLs in the app point to this. We're about to push the 1.2 manual to the website (as a copy of 1.1).
#6 Updated by Ky Zh over 9 years ago
So i went ahead and did a PR https://github.com/theforeman/foreman/pull/571
One fix the home page, one fix the other link related to the wiki.
I can change 1.1 occurrences to 1.2 and do another pull request ?
A solution that could work for the front page would be to have http://www.theforeman.org/manuals or http://www.theforeman.org/manuals/ redirecting to the latest version available.
Another one would be to replace the "1.1" strings by the foreman version.
I don't know how complicated the later would be to do.
#8 Updated by Dominic Cleal over 9 years ago
- Status changed from New to Ready For Testing
Thanks, I'll review your PR soon.
You can use latest in place of 1.1/1.2, but it won't work well as we will want to move links around. We do have
SETTINGS[:version] for getting the current version (which is 1.1 in develop, even though it will be 1.2), so that would be a good solution.
EDIT: just push with -f to update your existing branch rather than a new PR