Skip to content

Conversation

@NinoRisteski
Copy link
Contributor

broken link on documentation tests, now fixed.

broken link on documentation tests, now fixed.
Copy link
Contributor

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for many fixes to our docs!

For this PR, the link is out dated because the file doesn't exist since #25680. We can remove the whole section instead.

docs/README.md Outdated
Comment on lines 367 to 368
To include your example in the daily doctests, you need to add the filename that
contains the example docstring to the [documentation_tests.txt](../utils/documentation_tests.txt).
contains the example docstring to the [documentation_tests.txt](https://github.com/huggingface/transformers/blob/main/utils/slow_documentation_tests.txt).
Copy link
Contributor

Choose a reason for hiding this comment

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

We can get rid of this line completely, documentation_tests.txt has been removed and the user doesn't need to add the tests anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's my pleasure! Should I create another PR and delete the line?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nope - you can keep this one, make the change and update the PR description

deleted the line containing documentation tests
Copy link
Contributor

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for updating this!

@ydshieh Is there any additional info about doc testing we should add / update alongside this change?

Comment on lines -367 to -368
To include your example in the daily doctests, you need to add the filename that
contains the example docstring to the [documentation_tests.txt](../utils/documentation_tests.txt).
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is a new file named utils/not_doctested.txt. For a file to be doctested, it SHOULD NOT be in that file. We can add a sentence at this place :-)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@NinoRisteski NinoRisteski closed this by deleting the head repository Sep 26, 2023
@ydshieh
Copy link
Collaborator

ydshieh commented Sep 26, 2023

Hi @NinoRisteski Sorry we forgot to merge this PR, and it ends up being done in another PR #26213.

We really appreciate your contribution and I want to apologize for what happens here 🙏 .

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.

4 participants