From 542af3bf7b855d9f3bf466c0b544edb80d0a1d13 Mon Sep 17 00:00:00 2001 From: darwintree <17946284+darwintree@users.noreply.github.com> Date: Tue, 7 Apr 2026 18:41:39 +0800 Subject: [PATCH] Update documentation to reference branch 'v1' instead of 'dev' in configuration and README files for both English and Chinese versions. --- docs/en/README.md | 2 +- docs/en/_config.yml | 2 +- docs/en/conf.py | 2 +- docs/zh-CN/README.md | 2 +- docs/zh-CN/_config.yml | 2 +- docs/zh-CN/conf.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/README.md b/docs/en/README.md index d9f73c6..c2ed8ec 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -1,6 +1,6 @@ # Introduction -[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/conflux-chain/python-conflux-sdk/dev?urlpath=tree/docs/en/examples/01-quickstart.ipynb) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/conflux-chain/python-conflux-sdk/v1?urlpath=tree/docs/en/examples/01-quickstart.ipynb) [![Documentation Status](https://readthedocs.org/projects/python-conflux-sdk/badge/?version=latest)](https://python-conflux-sdk.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/github/Conflux-Chain/python-conflux-sdk/branch/dev/graph/badge.svg?token=GZ62V9QW0A)](https://codecov.io/github/Conflux-Chain/python-conflux-sdk) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/conflux-web3) diff --git a/docs/en/_config.yml b/docs/en/_config.yml index a4c0252..04a1777 100644 --- a/docs/en/_config.yml +++ b/docs/en/_config.yml @@ -15,7 +15,7 @@ execute: repository: url: https://github.com/conflux-chain/python-conflux-sdk # Online location of your book path_to_book: docs/en # Optional path to your book, relative to the repository root - branch: dev # Which branch of the repository should be used when creating links (optional) + branch: v1 # Which branch of the repository should be used when creating links (optional) # Add GitHub buttons to your book # See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository diff --git a/docs/en/conf.py b/docs/en/conf.py index 9550d86..90541df 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -17,7 +17,7 @@ html_logo = '../logo.png' html_sourcelink_suffix = '' html_theme = 'sphinx_book_theme' -html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': '', 'deepnote_url': ''}, 'path_to_docs': 'docs/en', 'repository_url': 'https://github.com/conflux-chain/python-conflux-sdk', 'repository_branch': 'dev', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': '', 'plausible_analytics_domain': '', 'plausible_analytics_url': 'https://plausible.io/js/script.js'}, 'use_repository_button': True, 'use_edit_page_button': False, 'use_issues_button': True} +html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': '', 'deepnote_url': ''}, 'path_to_docs': 'docs/en', 'repository_url': 'https://github.com/conflux-chain/python-conflux-sdk', 'repository_branch': 'v1', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': '', 'plausible_analytics_domain': '', 'plausible_analytics_url': 'https://plausible.io/js/script.js'}, 'use_repository_button': True, 'use_edit_page_button': False, 'use_issues_button': True} html_title = 'python-conflux-sdk' latex_engine = 'pdflatex' myst_enable_extensions = ['colon_fence', 'dollarmath', 'linkify', 'substitution', 'tasklist'] diff --git a/docs/zh-CN/README.md b/docs/zh-CN/README.md index c896264..19fe4b1 100644 --- a/docs/zh-CN/README.md +++ b/docs/zh-CN/README.md @@ -1,6 +1,6 @@ # Introduction -[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/conflux-chain/python-conflux-sdk/dev?urlpath=tree/docs/en/examples/01-quickstart.ipynb) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/conflux-chain/python-conflux-sdk/v1?urlpath=tree/docs/en/examples/01-quickstart.ipynb) [![Documentation Status](https://readthedocs.org/projects/python-conflux-sdk/badge/?version=latest)](https://python-conflux-sdk.readthedocs.io/en/latest/?badge=latest) [README](https://python-conflux-sdk.readthedocs.io/en/latest/README.html) | [中文文档](https://python-conflux-sdk.readthedocs.io/zh_CN/latest/README.html) diff --git a/docs/zh-CN/_config.yml b/docs/zh-CN/_config.yml index c816cdc..b6a4492 100644 --- a/docs/zh-CN/_config.yml +++ b/docs/zh-CN/_config.yml @@ -15,7 +15,7 @@ execute: repository: url: https://github.com/conflux-chain/python-conflux-sdk # Online location of your book path_to_book: docs/zh-CN # Optional path to your book, relative to the repository root - branch: dev # Which branch of the repository should be used when creating links (optional) + branch: v1 # Which branch of the repository should be used when creating links (optional) # Add GitHub buttons to your book # See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository diff --git a/docs/zh-CN/conf.py b/docs/zh-CN/conf.py index a5dcc64..7ccb936 100644 --- a/docs/zh-CN/conf.py +++ b/docs/zh-CN/conf.py @@ -17,7 +17,7 @@ html_logo = '../logo.png' html_sourcelink_suffix = '' html_theme = 'sphinx_book_theme' -html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': '', 'deepnote_url': ''}, 'path_to_docs': 'docs/zh-CN', 'repository_url': 'https://github.com/conflux-chain/python-conflux-sdk', 'repository_branch': 'dev', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': '', 'plausible_analytics_domain': '', 'plausible_analytics_url': 'https://plausible.io/js/script.js'}, 'use_repository_button': True, 'use_edit_page_button': False, 'use_issues_button': True} +html_theme_options = {'search_bar_text': 'Search this book...', 'launch_buttons': {'notebook_interface': 'classic', 'binderhub_url': '', 'jupyterhub_url': '', 'thebe': False, 'colab_url': '', 'deepnote_url': ''}, 'path_to_docs': 'docs/zh-CN', 'repository_url': 'https://github.com/conflux-chain/python-conflux-sdk', 'repository_branch': 'v1', 'extra_footer': '', 'home_page_in_toc': True, 'announcement': '', 'analytics': {'google_analytics_id': '', 'plausible_analytics_domain': '', 'plausible_analytics_url': 'https://plausible.io/js/script.js'}, 'use_repository_button': True, 'use_edit_page_button': False, 'use_issues_button': True} html_title = 'python-conflux-sdk' latex_engine = 'pdflatex' myst_enable_extensions = ['colon_fence', 'dollarmath', 'linkify', 'substitution', 'tasklist']