Skip to content

ENT-14112: Converted bare URLs into clickable links#3677

Merged
olehermanse merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-14112
Jun 15, 2026
Merged

ENT-14112: Converted bare URLs into clickable links#3677
olehermanse merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-14112

Conversation

@aleksandrychev

Copy link
Copy Markdown
Contributor

Ticket: ENT-14112

@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@aleksandrychev aleksandrychev marked this pull request as draft June 4, 2026 12:06
@cf-bottom

Copy link
Copy Markdown

@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@aleksandrychev aleksandrychev force-pushed the ENT-14112 branch 2 times, most recently from 9b45863 to a18fb4e Compare June 9, 2026 11:53
@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@aleksandrychev aleksandrychev marked this pull request as ready for review June 9, 2026 12:10

@olehermanse olehermanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and seems to work correctly. I am missing a couple of comments and references to future devs finding this script :)

Comment thread hugo/config.toml Outdated
unsafe = true # Allow HTML in md files

# Automatically convert bare URLs into clickable links
# linkify skips IP addresses, which are handled by pre-process scripts

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I think you should add the name of that specific script

@@ -0,0 +1,93 @@
import re

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I think you should add a docstring explaining what this script does, along with any important details. For example does it look for URLs anywhere? Only when they are on their own line? Inside code blocks?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Ticket: ENT-14112
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@olehermanse please merge

@olehermanse olehermanse merged commit f9d7b0a into cfengine:master Jun 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants