From c439752482759c94784e11a87dcbf08ce69dccf3 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Mon, 22 Jun 2020 16:38:53 -0400 Subject: [PATCH] Switch master/stable doc and add older releases (#5193) --- .circleci/deploy.sh | 11 ++++++++++- README.md | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index 5602607f4e..0008b23494 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -17,7 +17,8 @@ function deploy_doc(){ fi } -deploy_doc "master" +# You can find the commit for each tag on https://github.com/huggingface/transformers/tags +deploy_doc "master" master deploy_doc "b33a385" v1.0.0 deploy_doc "fe02e45" v1.1.0 deploy_doc "89fd345" v1.2.0 @@ -27,3 +28,11 @@ deploy_doc "3616209" v2.2.0 deploy_doc "d0f8b9a" v2.3.0 deploy_doc "6664ea9" v2.4.0 deploy_doc "fb560dc" v2.5.0 +deploy_doc "b90745c" v2.5.1 +deploy_doc "fbc5bf1" v2.6.0 +deploy_doc "6f5a12a" v2.7.0 +deploy_doc "11c3257" v2.8.0 +deploy_doc "e7cfc1a" v2.9.0 +deploy_doc "7cb203f" v2.9.1 +deploy_doc "10d7239" v2.10.0 +deploy_doc "b42586e" #v2.11.0 Latest stable release \ No newline at end of file diff --git a/README.md b/README.md index 5c35ff2785..c09a3654a3 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Choose the right framework for every part of a model's lifetime | [Quick tour: Share your models ](#Quick-tour-of-model-sharing) | Upload and share your fine-tuned models with the community | | [Migrating from pytorch-transformers to transformers](#Migrating-from-pytorch-transformers-to-transformers) | Migrating your code from pytorch-transformers to transformers | | [Migrating from pytorch-pretrained-bert to pytorch-transformers](#Migrating-from-pytorch-pretrained-bert-to-transformers) | Migrating your code from pytorch-pretrained-bert to transformers | -| [Documentation][(v2.5.0)](https://huggingface.co/transformers/v2.5.0)[(v2.4.0/v2.4.1)](https://huggingface.co/transformers/v2.4.0)[(v2.3.0)](https://huggingface.co/transformers/v2.3.0)[(v2.2.0/v2.2.1/v2.2.2)](https://huggingface.co/transformers/v2.2.0) [(v2.1.1)](https://huggingface.co/transformers/v2.1.1) [(v2.0.0)](https://huggingface.co/transformers/v2.0.0) [(v1.2.0)](https://huggingface.co/transformers/v1.2.0) [(v1.1.0)](https://huggingface.co/transformers/v1.1.0) [(v1.0.0)](https://huggingface.co/transformers/v1.0.0) [(master)](https://huggingface.co/transformers) | Full API documentation and more | +| Documentation [(master)](https://huggingface.co/transformers/master) [(stable)](https://huggingface.co/transformers/) [(v2.10.0)](https://huggingface.co/transformers/v2.10.0) [(v2.9.0/v2.9.1)](https://huggingface.co/transformers/v2.9.1) [(v2.8.0)](https://huggingface.co/transformers/v2.8.0) [(v2.7.0)](https://huggingface.co/transformers/v2.7.0) [(v2.6.0)](https://huggingface.co/transformers/v2.6.0) [(v2.5.0/v2.5.1)](https://huggingface.co/transformers/v2.5.1) [(v2.4.0/v2.4.1)](https://huggingface.co/transformers/v2.4.0)[(v2.3.0)](https://huggingface.co/transformers/v2.3.0)[(v2.2.0/v2.2.1/v2.2.2)](https://huggingface.co/transformers/v2.2.0) [(v2.1.1)](https://huggingface.co/transformers/v2.1.1) [(v2.0.0)](https://huggingface.co/transformers/v2.0.0) [(v1.2.0)](https://huggingface.co/transformers/v1.2.0) [(v1.1.0)](https://huggingface.co/transformers/v1.1.0) [(v1.0.0)](https://huggingface.co/transformers/v1.0.0) | Full API documentation and more | ## Installation