Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fix error in verify_doc_links.py script #244

Conversation

ckadner
Copy link
Member

@ckadner ckadner commented Sep 15, 2022

Motivation

In its current version the verify_doc_links.py script excludes any URLs that contain a colon : character.

This was meant to exclude any local URLs with a port like ":8008". Instead it excludes any URLs that start with "http:" or "https:". The "rookie" who created that script! 🙄

Modifications

Remove the ":" from the list of patterns to identify URLs that should be excluded from the link verification.

Result

220 links found instead of 211 before.

In its current version the verify-doc-links script excludes
any URLs that contain a colon character ":" which was meant
to exclude any local URLs with a port like ":8008" but instead
it excludes any URLs that start with "http:" or "https:"

Signed-off-by: Christian Kadner <[email protected]>
@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner, njhill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@njhill
Copy link
Member

njhill commented Sep 15, 2022

/lgtm

@kserve-oss-bot kserve-oss-bot merged commit c5e0d9f into kserve:main Sep 15, 2022
hdefazio pushed a commit to hdefazio/modelmesh-serving that referenced this pull request Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants