Skip to content

Commit 19ba219

Browse files
committed
fix
1 parent 23f28c8 commit 19ba219

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/asciidoctor/lib/chunker/url_to_v3.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def initialize(doc)
1818
# # Read content from the specified file and convert it to a dictionary
1919
# mapping = JSON.parse(File.read(file_path)) if File.exist?(file_path)
2020

21+
segments = outdir.sub('/tmp/docsbuild/target_repo/raw', '').split('/')
22+
2123
path_dir = if segments.empty?
2224
''
2325
elsif segments.length > 1

0 commit comments

Comments
 (0)