Skip to content

Commit

Permalink
修改: readthedocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Dec 12, 2024
1 parent 106c7d9 commit f898807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@

# ``pydata-sphinx-theme`` 配置
# Define the json_url for our version switcher.
json_url = 'https://xinetzone.github.io/d2py/_static/switcher.json'
json_url = 'https://xinetzone.github.io/torch-book/_static/switcher.json'
# -- Sitemap -----------------------------------------------------------------
# ReadTheDocs has its own way of generating sitemaps, etc.
if not os.environ.get("READTHEDOCS"):
Expand All @@ -207,7 +207,6 @@
# 默认情况下,编辑按钮将指向版本库的根。
# 如果你的文档被托管在一个子文件夹中,请使用以下配置:
"path_to_docs": "doc/", # 文档的路径,默认 `docs/``
"github_url": "https://github.com/xinetzone/torch-book",
"repository_url": "https://github.com/xinetzone/torch_book",
"repository_branch": "main", # 文档库的分支,默认 `master`
# -- 在导航栏添加一个按钮,链接到版本库的议题 ------------------------------
Expand Down
1 change: 0 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ python:
path: .
extra_requirements:
- doc
system_packages: true

0 comments on commit f898807

Please sign in to comment.