Skip to content

Fix dead custom types example link in docs - #2002

Open
farisbasha wants to merge 1 commit into
IBM:mainfrom
farisbasha:docs-custom-type-example-link
Open

farisbasha wants to merge 1 commit into
IBM:mainfrom
farisbasha:docs-custom-type-example-link

Conversation

@farisbasha

Copy link
Copy Markdown

In docs/docs/examples.rst, the "Example code" link of the custom types example points to https://github.com/IBM/unitxt/blob/main/examples/custom_types.py, which returns 404. The example file in the repository is examples/custom_type.py (defines CustomTurn / register_type, matching the section text), so this PR fixes the file name in the link.

Docs only; the commit is signed off (DCO).

I used an AI assistant to find this broken link; the old and new URLs were checked with curl.

The example file is examples/custom_type.py; the link pointed to
examples/custom_types.py, which does not exist (404).

Signed-off-by: farisbasha <farisbashatm@gmail.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant