-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fixes #36838 - Make doc links point to the new docs #547
Changes from 5 commits
d321d82
cc57a2c
535a970
e65670c
72e3eab
308ba42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -9,6 +9,6 @@ | |||||
<%= _("You don't seem to have any ARF report. ARF report is a summary of a single scan occurrence on a particular host for a given Compliance Policy.") %></br> | ||||||
</p> | ||||||
<div class="blank-slate-pf-main-action"> | ||||||
<%= link_to _('Documentation'), documentation_url("4.4ARFReports", :root_url => "https://www.theforeman.org/plugins/foreman_openscap/0.8/index.html#"), :rel => 'external', :class => 'btn btn-primary btn-lg' %> | ||||||
<%= link_to _('Documentation'), documentation_url("Monitoring_Compliance_security-compliance", :root_url => scap_doc_url), :rel => 'external', :class => 'btn btn-primary btn-lg' %> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this use
Suggested change
For a moment I thought about using |
||||||
</div> | ||||||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
<% title_actions( | ||
display_link_if_authorized(_("New Compliance Policy"), hash_for_new_policy_path, :class => "btn btn-primary"), | ||
documentation_button('#4.2Creatingpolicywizard', :root_url => scap_doc_url) | ||
documentation_button('Managing_Compliance_Policies_security-compliance', :root_url => scap_doc_url) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would it make sense to create |
||
) %> | ||
|
||
<%= render :partial => 'list' %> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% title _("SCAP Contents") %> | ||
|
||
<% title_actions(display_link_if_authorized(_("Upload New SCAP Content"), hash_for_new_scap_content_path, :class => 'btn btn-primary'), | ||
documentation_button('#4.1CreatingSCAPcontent', :root_url => scap_doc_url)) %> | ||
documentation_button('Configuring_SCAP_Contents_security-compliance', :root_url => scap_doc_url)) %> | ||
|
||
<%= render :partial => 'list' %> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<% title _("Tailoring Files") %> | ||
<% title_actions(display_link_if_authorized(_("Upload New Tailoring file"), hash_for_new_tailoring_file_path, :class => 'btn btn-primary'), | ||
documentation_button('#4.5Tailoringfiles(foreman_openscap>=0.6.5)', :root_url => scap_doc_url)) %> | ||
documentation_button('tailoring-xccdf-profiles_security-compliance', :root_url => scap_doc_url)) %> | ||
<%= render :partial => 'list' %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My biggest concern is that the OpenSCAP guide is not published in stable branches as
foreman-el
:https://github.com/theforeman/foreman-documentation/blob/5a811af4a30310b96a15e3bec708079e04256c31/guides/doc-Managing_Security_Compliance/master.adoc#L14-L18
This results in linking to https://docs.theforeman.org/3.8/Managing_Security_Compliance/index-foreman-el.html (for Foreman 3.8).
This is because it hasn't been properly reviewed. You can see examples such as https://docs.theforeman.org/nightly/Managing_Security_Compliance/index-foreman-el.html#Deploying_a_Policy_in_a_Host_Group_Using_Ansible_security-compliance
Content syncing is not available without Foreman, so that needs to be addressed.
We do publish the nightly docs, just so you can at least review some of it, even if it's broken.