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

Fix syntax for class references #14644

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Fix syntax for class references #14644

merged 1 commit into from
Dec 6, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Dec 6, 2021

What does this PR do?

This PR fixes the documentation links made of the form :obj:~transformers.ObjectName. Those are not detected by doc-builder (and can't really be added since we use :obj: very often) so I searched and fixed the docstrings instead.

See the TextClassificationPipeline in the current doc for an example of the problem:

image

cc @mishig25 @LysandreJik (merging to fix but will address any comment you have on your return Lysandre).

@sgugger sgugger merged commit e513c16 into master Dec 6, 2021
@sgugger sgugger deleted the fix_intra_refs branch December 6, 2021 18:31
@LysandreJik
Copy link
Member

LGTM, thanks for the ping

Albertobegue pushed a commit to Albertobegue/transformers that referenced this pull request Jan 27, 2022
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.

None yet

2 participants