From 63c284c2d4ac54a2dc81a4dc9b6f9fe6c66d523d Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Fri, 10 Dec 2021 15:31:43 -0500 Subject: [PATCH] Prevent style_doc from tempering the config file --- docs/source/_config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/_config.py b/docs/source/_config.py index a038fc874..545860223 100644 --- a/docs/source/_config.py +++ b/docs/source/_config.py @@ -1,7 +1,9 @@ +# docstyle-ignore INSTALL_CONTENT = """ -# Transformers installation ! pip install transformers datasets # To install from source instead of the last release, -comment the command above and uncomment the following one. # ! pip install -git+https://github.com/huggingface/transformers.git +# Transformers installation +! pip install transformers datasets +# To install from source instead of the last release, comment the command above and uncomment the following one. +# ! pip install git+https://github.com/huggingface/transformers.git """ notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}] \ No newline at end of file