Skip to content

Commit 6bbea9b

Browse files
committed
test
1 parent 3527106 commit 6bbea9b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.buildkite/scripts/build_pr.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ PREVIEW_URL="https://${TARGET_BRANCH}.docs-preview.app.elstc.co"
228228
build_cmd="./build_docs --all \
229229
--target_repo [email protected]:elastic/built-docs \
230230
--reference /opt/git-mirrors/ \
231+
--skiplinkcheck \
231232
--target_branch ${TARGET_BRANCH} \
232233
--push \
233234
--announce_preview ${PREVIEW_URL}/diff \

resources/asciidoctor/lib/chunker/url_to_v3.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize(doc)
2828
segments[0]
2929
end
3030

31-
actual_url = '/guide' + path_dir + '/*/' + current_url
31+
actual_url = 'https://www.elastic.co/guide' + path_dir + '/*/' + current_url
3232

3333
if mapping.key?(actual_url)
3434
new_url = mapping[actual_url]
@@ -39,7 +39,7 @@ def initialize(doc)
3939
@header = Asciidoctor::Block.new(doc, :pass, source: <<~HTML)
4040
<div id="url-to-v3">
4141
From: #{actual_url}
42-
To: <a href="#{new_url}">NEW URL</a>
42+
To: <a href="https://www.elastic.co#{new_url}">NEW URL</a>
4343
</div>
4444
HTML
4545
end

0 commit comments

Comments
 (0)