foreman_theme_satellite 13.2.1 → 13.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beaa054eccfb8898f7735f130efe942b9a7f8cee76f629073fe68c95a0aebd85
4
- data.tar.gz: 2d271c6335f17c3606e68d8cca80c161f177e7e32bac87340d723f71ff1e27a9
3
+ metadata.gz: 883629d7f0fb633d7a5f022d561f190dfc274c360f4241884164d392c186ba1e
4
+ data.tar.gz: 8e61024ad29a3654095ace1fe0d5522261593ac2963571c8751b77a285c214d6
5
5
  SHA512:
6
- metadata.gz: f2c992b80c8bb423478bcbec0ad8b1aa689e2790ce975668670e318d4a3a667fe5af06a642a03da6f69c85fcb159d3892279f9f889762da812b3996c9996ee7a
7
- data.tar.gz: 7e4e825dc142b3abf89f42ee2645aa8e08f9d3c357515ae153ca51f04c8d6a449bcbd8e0f75b82f4a9ae5966b650c2cbb64aa526be9700bd2aeda363ec1c5ca1
6
+ metadata.gz: 17b3f22c822b7a630da55500f01198ee729ca36576fdb7804e573b6bf74534823764cef86e0e4a17ca52fabd3dfd83291df05311c3735b297c9e7ff15075a82d
7
+ data.tar.gz: 309e697f165583646d2fda62ec4e113e03677f0b747543a6fa3e99de5e69652f0d8ca35c0b2a54cf1e66e4ff2a78247b790de9679de2b116db44b49f1a5474c2
@@ -30,4 +30,13 @@ module DocumentationControllerBranding
30
30
  def wiki_url(section: '')
31
31
  documentation_url(section)
32
32
  end
33
+
34
+ # For new documentation at docs.theforeman.org
35
+ # We do not use flavor downstream, but keeping it here for the same method signature
36
+ # rubocop:disable Lint/UnusedMethodArgument
37
+ def docs_url(guide:, flavor:, chapter: nil)
38
+ url = ForemanThemeSatellite::Documentation::DOCS_GUIDES_LINKS.dig(guide, chapter)
39
+ url || "#{ForemanThemeSatellite.documentation_root}/#{guide.downcase}/#{chapter}"
40
+ end
41
+ # rubocop:enable Lint/UnusedMethodArgument
33
42
  end
@@ -69,7 +69,7 @@ module ForemanThemeSatellite
69
69
  'Managing_Compliance_Policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Managing_Compliance_Policies_security-compliance",
70
70
  'Configuring_SCAP_Contents_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance",
71
71
  'tailoring-xccdf-profiles_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance#tailoring-xccdf-profiles_security-compliance",
72
- 'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/Configuring_SCAP_Contents_security-compliance#deploying-compliance-policies_security-compliance",
72
+ 'deploying-compliance-policies_security-compliance' => "#{ForemanThemeSatellite.documentation_root}/managing_security_compliance/compliance-policy-deployment-options_security-compliance",
73
73
  }.freeze
74
74
 
75
75
  PLUGINS_DOCUMENTATION = {
@@ -80,5 +80,11 @@ module ForemanThemeSatellite
80
80
  SPECIAL_LINKS = [
81
81
  [/docs\.theforeman\.org\/.*?\/Managing_Hosts\/.*?registering-a-host.*?managing-hosts/i, "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_managing-hosts"],
82
82
  ]
83
+
84
+ DOCS_GUIDES_LINKS = {
85
+ 'Managing_Hosts' => {
86
+ 'registering-a-host_managing-hosts' => "#{ForemanThemeSatellite.documentation_root}/managing_hosts/registering_hosts_to_server_managing-hosts#Registering_Hosts_managing-hosts",
87
+ }
88
+ }.freeze
83
89
  end
84
90
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanThemeSatellite
2
- VERSION = '13.2.1'.freeze
2
+ VERSION = '13.2.3'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_theme_satellite",
3
- "version": "13.2.1",
3
+ "version": "13.2.3",
4
4
  "description": "Satellite theme =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_theme_satellite
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.2.1
4
+ version: 13.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimon Stein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-05 00:00:00.000000000 Z
12
+ date: 2024-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport