Skip to content

Commit e7ef4de

Browse files
jessereynoldsbastelfreak
authored andcommitted
switch docs rake tasks to openvox-strings
1 parent 6bf2683 commit e7ef4de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rakelib/docs.rake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050

5151
# rubocop:disable Lint/SuppressedException
5252
begin
53-
require 'puppet-strings'
53+
require 'openvox-strings'
5454

5555
namespace :docs do
5656
desc 'Generate all markdown docs'
@@ -73,11 +73,11 @@ begin
7373
task :generate_strings do
7474
modules = Dir.children("#{__dir__}/../bolt-modules").map { |dir| dir.prepend('bolt-modules/') }
7575

76-
@puppet_strings ||= begin
76+
@openvox_strings ||= begin
7777
FileUtils.mkdir_p('tmp')
7878
tmpfile = 'tmp/boltlib.json'
7979

80-
PuppetStrings.generate(
80+
OpenvoxStrings.generate(
8181
['bolt-modules/*'],
8282
markup: 'markdown',
8383
json: true,
@@ -222,7 +222,7 @@ begin
222222
filepath = File.expand_path('../documentation/bolt_types_reference.md', __dir__)
223223
template = File.expand_path('../documentation/templates/bolt_types_reference.md.erb', __dir__)
224224

225-
@types = @puppet_strings['data_types'].map do |data|
225+
@types = @openvox_strings['data_types'].map do |data|
226226
functions = []
227227

228228
# Simplify select types.
@@ -280,7 +280,7 @@ begin
280280
filepath = File.expand_path('../documentation/plan_functions.md', __dir__)
281281
template = File.expand_path('../documentation/templates/plan_functions.md.erb', __dir__)
282282

283-
funcs = @puppet_strings.delete('puppet_functions')
283+
funcs = @openvox_strings.delete('puppet_functions')
284284

285285
apply = {
286286
"name" => "apply",

0 commit comments

Comments
 (0)