File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 70
70
"twitter_url" : "https://twitter.com/pandas_dev" ,
71
71
"use_edit_page_button" : True ,
72
72
"show_toc_level" : 1 ,
73
- "navbar_align_with_content" : True , # For testing that the navbar items snap to left properly
73
+ # "navbar_align_with_content": False , # For testing that the navbar items snap to left properly
74
74
}
75
75
76
76
html_context = {
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def test_navbar_align_with_content(sphinx_build):
121
121
index_html = sphinx_build .get ("index.html" )
122
122
assert "col-lg-9" in index_html .select ("div#navbar-menu" )[0 ].attrs ["class" ]
123
123
124
- sphinx_build .build (["-D" , "html_theme_options.navbar_align_with_content=True " ])
124
+ sphinx_build .build (["-D" , "html_theme_options.navbar_align_with_content=False " ])
125
125
index_html = sphinx_build .get ("index.html" )
126
- assert "col-11" in index_html .select ("div#navbar-menu" )[0 ].attrs ["class" ]
126
+ assert "col-lg-9" not in index_html .select ("div#navbar-menu" )[0 ].attrs ["class" ]
127
127
sphinx_build .clean ()
You can’t perform that action at this time.
0 commit comments