Skip to content

Commit

Permalink
UPDATE: pydata sphinx theme v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf authored Oct 16, 2021
1 parent 835ed92 commit e02177a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 33 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"click~=7.1",
"docutils>=0.15,<0.17",
'importlib-resources>=3.0,<3.5; python_version < "3.7"',
"pydata-sphinx-theme~=0.6.0",
"pydata-sphinx-theme~=0.7.1",
"pyyaml",
"sphinx>=3,<5",
],
Expand Down
30 changes: 0 additions & 30 deletions sphinx_book_theme/_templates/prev-next.html

This file was deleted.

2 changes: 1 addition & 1 deletion sphinx_book_theme/static/sphinx-book-theme.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/scss/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ button.toggle-button-hidden:before {
div.sidebar, div.margin, div.margin-caption p.caption, .cell.tag_popout, .cell.tag_margin {
width: 40%;
float: right;
background-color: unset;
border-left: 1px #a4a6a7 solid;
margin-left: 0.5em;
padding: .2em 0 .2em 1em;
Expand All @@ -606,6 +607,11 @@ div.sidebar, div.margin, div.margin-caption p.caption, .cell.tag_popout, .cell.t
}
}

// Sidebar-specific CSS
div.sidebar:not(.margin) {
background-color: #eeebee;
padding: 1em !important;
}

// Right margin CSS, largely copied from https://edwardtufte.github.io/tufte-css/
// 992px is the L breakpoint in bootstrap
Expand Down
2 changes: 1 addition & 1 deletion tests/test_build/test_build_book.sphinx4.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="site-logo" id="site-title">
</form>
<nav aria-label="Main" class="bd-links" id="bd-docs-nav">
<div class="bd-toc-item active">
<p class="caption" role="heading">
<p aria-level="2" class="caption" role="heading">
<span class="caption-text">
My caption
</span>
Expand Down

0 comments on commit e02177a

Please sign in to comment.