Skip to content

Commit 2cc38be

Browse files
committed
fix lint
1 parent 73375c6 commit 2cc38be

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/source/conf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import sys
2525
from typing import Any
2626

27-
import pytorch_sphinx_theme2
27+
import pytorch_sphinx_theme2 # type: ignore[import-untyped]
2828

2929
# To let us import ./custom_directives.py
3030
sys.path.insert(0, os.path.abspath("."))
@@ -215,7 +215,6 @@
215215
],
216216
"show_version_warning_banner": True,
217217
"use_edit_page_button": True,
218-
"navbar_center": "navbar-nav",
219218
"header_links_before_dropdown": 8,
220219
"navbar_align": "left",
221220
"navbar_start": ["navbar-logo", "version-switcher"],
@@ -249,9 +248,7 @@
249248
html_static_path = ["_static"]
250249

251250
# Add custom 404 page for GitHub Pages
252-
html_additional_pages = {
253-
"404": "404.html"
254-
}
251+
html_additional_pages = {"404": "404.html"}
255252

256253

257254
# Example configuration for intersphinx: refer to the Python standard library.

0 commit comments

Comments
 (0)