Bug #2167
closedWelcome page should link to manual instead of wiki
Description
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.
Updated by Ky Zh over 11 years ago
I will try to send a new PR to update the few links within foreman.
Updated by Dominic Cleal over 11 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).
Updated by Ohad Levy over 11 years ago
Dominic - there is a latest redirect, but maybe we can actually link to the correct version (as foreman knows the version too;))
Updated by Dominic Cleal over 11 years ago
Yep, it should match the version rather than latest ideally.
Updated by Ky Zh over 11 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.
Updated by Ky Zh over 11 years ago
Just realised i missed the last two comments.
I will try to figure where the version is hold and what need to change to make it available to the template.
Updated by Dominic Cleal over 11 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
Updated by Dominic Cleal about 11 years ago
- Is duplicate of Feature #2763: Wiki links should be replaced with correct doco links added
Updated by Dominic Cleal about 11 years ago
- Status changed from Ready For Testing to Duplicate