foreman_theme_satellite 13.2.1 → 13.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30822812136e9b1c6bb20667e74aedb91a89d9df6c92f43da6839eff01d59544
|
|
4
|
+
data.tar.gz: af8a8f0ad58ab4e377e07d5353ae72a4a05c7a1ab8e23481e235862b38fda187
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1489ce8998f8398a68ebc07c75e87eda3c9c32c651739c199e011c06d7779996ee123d436ca5ac038e2faf90acf42b1e8c9bdc31db4ddb92bf0f585b17243e38
|
|
7
|
+
data.tar.gz: ab3134fc8748b5e110e01acb1dde35e406420308842c7f50316457e5dcf27275e0f63d5b6a08d54e06934e0bbe7e3d1fabc578a74e804a5619a6c78722bcd712
|
|
@@ -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
|
|
@@ -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
|
data/package.json
CHANGED
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.
|
|
4
|
+
version: 13.2.2
|
|
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-
|
|
12
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|