Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter_website_en_v2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas80
duniter_website_en_v2
Commits
ad38d627
Commit
ad38d627
authored
6 months ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
fix script to ignore images
parent
113dca79
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/get_external_content.py
+3
-1
3 additions, 1 deletion
scripts/get_external_content.py
with
3 additions
and
1 deletion
scripts/get_external_content.py
+
3
−
1
View file @
ad38d627
...
@@ -30,6 +30,8 @@ def replace_all_in(folder):
...
@@ -30,6 +30,8 @@ def replace_all_in(folder):
for
root
,
dirs
,
files
in
os
.
walk
(
folder
):
for
root
,
dirs
,
files
in
os
.
walk
(
folder
):
for
name
in
files
:
for
name
in
files
:
filename
=
os
.
path
.
join
(
root
,
name
)
filename
=
os
.
path
.
join
(
root
,
name
)
if
filename
.
endswith
(
"
.md
"
):
# only do this on markdown files
replace
(
root
,
filename
)
replace
(
root
,
filename
)
def
replace
(
folder
,
filename
):
def
replace
(
folder
,
filename
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment