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

Doc styler v2 #14950

Merged
merged 15 commits into from
Dec 27, 2021
Merged

Doc styler v2 #14950

merged 15 commits into from
Dec 27, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Dec 27, 2021

What does this PR do?

This PR rewrites the doc-styler to work with the Markdown docstrings and re-enables the checks.

Merging and inspecting the doc is alright as the diff is... consequent :-)

@sgugger sgugger requested a review from LysandreJik December 27, 2021 21:02
@sgugger sgugger merged commit 87e6e4f into master Dec 27, 2021
@sgugger sgugger deleted the doc_styler_v2 branch December 27, 2021 21:31
stevhliu pushed a commit to stevhliu/transformers that referenced this pull request Jan 6, 2022
* New doc styler

* Fix issue with args at the start

* Code sample fixes

* Style code examples in MDX

* Fix more patterns

* Typo

* Typo

* More patterns

* Do without black for now

* Get more info in error

* Docstring style

* Re-enable check

* Quality

* Fix add_end_docstring decorator

* Fix docstring
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