Botocore以前的版本文档

时间:2017-08-16 12:23:59

标签: boto3

是否可以阅读以前版本的文档?试了一下,寻找答案但到目前为止没有成功。

http://botocore.readthedocs.io/en/latest/

https://github.com/boto/botocore

2 个答案:

答案 0 :(得分:3)

以前的版本没有托管文档,没有。但是,您可以自己生成文档,并在需要时在本地查看它们。以下是执行此操作的步骤,我建议您在临时虚拟环境中执行此操作。

$ git clone https://github.com/boto/botocore.git
$ cd botocore
$ git checkout $RELEASE_COMMIT
$ pip install -r requirements.txt
$ pip install -r requirements-docs.txt
$ pip install -e .
$ cd docs
$ make html
$ open build/html/index.html

您可以轻松找到发布提交here

答案 1 :(得分:3)

您可以通过以下网址中的{version_number}替换为要访问的文档来访问文档的先前版本。 https://botocore.amazonaws.com/v1/documentation/api/{version_number}/index.html

例如,请访问https://botocore.amazonaws.com/v1/documentation/api/1.10.50/index.html以获取版本1.10.50的文档。

请注意,但是某些旧版本的文档不可用。我尝试了 1.10.1 版本,但没有可用的文档。

PS:从2018年10月4日起,问题中提到的链接http://botocore.readthedocs.io/en/latest/将重定向到https://botocore.amazonaws.com/v1/documentation/api/latest/index.html