Skip to content

Commit 2f15914

Browse files
committed
correct image reference in referenced setup partials
1 parent 0f0c2df commit 2f15914

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

REMOTE_SETUP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Let's install [Visual Studio Code](https://code.visualstudio.com) text editor.
230230
- Open the file you have just downloaded.
231231
- Install it with few options:
232232

233-
![VS Code installation options](https://github.com/lewagon/data-engineering-setup/blob/main/https://github.com/lewagon/setup/blob/master/images/windows_vscode_installation.png)
233+
![VS Code installation options](https://github.com/lewagon/setup/blob/master/images/windows_vscode_installation.png)
234234

235235
When the installation is finished, launch VS Code.
236236

VM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Let's install [Visual Studio Code](https://code.visualstudio.com) text editor.
243243
- Open the file you have just downloaded.
244244
- Install it with few options:
245245

246-
![VS Code installation options](https://github.com/lewagon/data-engineering-setup/blob/main/https://github.com/lewagon/setup/blob/master/images/windows_vscode_installation.png)
246+
![VS Code installation options](https://github.com/lewagon/setup/blob/master/images/windows_vscode_installation.png)
247247

248248
When the installation is finished, launch VS Code.
249249

build.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def load_partial(partial, locale)
258258
.read
259259
# replace data-setup repo relative path by data-engineering-setup repo URL
260260
image_paths = content.scan(/\!\[.*\]\((.*)\)/).flatten
261-
image_paths.each { |ip| content.gsub!(ip, "https://github.com/lewagon/data-engineering-setup/blob/main/#{ip}")}
261+
image_paths.reject { |ip| ip.start_with?("http") }.each { |ip| content.gsub!(ip, "https://github.com/lewagon/data-engineering-setup/blob/main/#{ip}")}
262262
# alternative image format
263263
image_paths = content.scan(/src="(images\/.*)"/).flatten
264264
image_paths.each { |ip| content.gsub!(ip, "https://github.com/lewagon/data-engineering-setup/blob/main/#{ip}")}

0 commit comments

Comments
 (0)