Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
cd7a301b
Unverified
Commit
cd7a301b
authored
May 28, 2025
by
Emmanuel Ferdman
Committed by
GitHub
May 28, 2025
Browse files
fix: resolve regex library warnings (#1237)
Signed-off-by:
Emmanuel Ferdman
<
emmanuelferdman@gmail.com
>
parent
9abe8dff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/generate_docs.py
docs/generate_docs.py
+1
-1
No files found.
docs/generate_docs.py
View file @
cd7a301b
...
@@ -160,7 +160,7 @@ def replace_url_with_relpath(url, src_doc_path):
...
@@ -160,7 +160,7 @@ def replace_url_with_relpath(url, src_doc_path):
# The "target_path" must be a file at this line.
# The "target_path" must be a file at this line.
relpath
=
os
.
path
.
relpath
(
target_path
,
start
=
os
.
path
.
dirname
(
src_doc_path
))
relpath
=
os
.
path
.
relpath
(
target_path
,
start
=
os
.
path
.
dirname
(
src_doc_path
))
return
re
.
sub
(
dynamo_github_url_reg
,
relpath
,
url
,
1
)
return
re
.
sub
(
dynamo_github_url_reg
,
relpath
,
url
,
count
=
1
)
def
replace_relpath_with_url
(
relpath
,
src_doc_path
):
def
replace_relpath_with_url
(
relpath
,
src_doc_path
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment