From b4450b720e8dd35d59d12ca61ae39969025da28d Mon Sep 17 00:00:00 2001 From: mzr1996 Date: Fri, 17 Dec 2021 18:07:19 +0800 Subject: [PATCH] [Docs] Fix colab link --- docs/en/conf.py | 8 ++++---- docs/zh_CN/conf.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/conf.py b/docs/en/conf.py index 1fe7701f5..c02707afd 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -103,16 +103,16 @@ html_theme_options = { 'Train and inference with shell commands', 'url': 'https://colab.research.google.com/github/' - 'open-mmlab/mmclassification/blob/master/docs/tutorials/' - 'MMClassification_tools.ipynb', + 'open-mmlab/mmclassification/blob/master/docs/en/' + 'tutorials/MMClassification_tools.ipynb', }, { 'name': 'Train and inference with Python APIs', 'url': 'https://colab.research.google.com/github/' - 'open-mmlab/mmclassification/blob/master/docs/tutorials/' - 'MMClassification_python.ipynb', + 'open-mmlab/mmclassification/blob/master/docs/en/' + 'tutorials/MMClassification_python.ipynb', }, ] }, diff --git a/docs/zh_CN/conf.py b/docs/zh_CN/conf.py index 9e3e70515..e9559807c 100644 --- a/docs/zh_CN/conf.py +++ b/docs/zh_CN/conf.py @@ -103,7 +103,7 @@ html_theme_options = { '用命令行工具训练和推理', 'url': 'https://colab.research.google.com/github/' - 'open-mmlab/mmclassification/blob/master/docs_zh-CN/' + 'open-mmlab/mmclassification/blob/master/docs/zh_CN/' 'tutorials/MMClassification_tools_cn.ipynb', }, { @@ -111,7 +111,7 @@ html_theme_options = { '用 Python API 训练和推理', 'url': 'https://colab.research.google.com/github/' - 'open-mmlab/mmclassification/blob/master/docs_zh-CN/' + 'open-mmlab/mmclassification/blob/master/docs/zh_CN/' 'tutorials/MMClassification_python_cn.ipynb', }, ]