Skip to content

Commit

Permalink
Merging from master
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Mar 1, 2021
2 parents adee3fc + c9fae28 commit 3b2b636
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 9 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

# v0.0.40 - 2021-02-27

([full changelog](https://github.com/executablebooks/sphinx-book-theme/compare/v0.0.39...4ab518e211163a52f01562912ce6e41548a734d1))

## New features added

- Added tag for cell-input [#259](https://github.com/executablebooks/sphinx-book-theme/pull/259) ([@AakashGfude](https://github.com/AakashGfude))
- Add a shadow to topbar, on scroll [#255](https://github.com/executablebooks/sphinx-book-theme/pull/255) ([@pradyunsg](https://github.com/pradyunsg))
- Add CSS to center align images with class [#292](https://github.com/executablebooks/sphinx-book-theme/pull/292) ([@DrDrij](https://github.com/DrDrij))

## Enhancements made

- Add footnote translations [#274](https://github.com/executablebooks/sphinx-book-theme/pull/274) ([@chrisjsewell](https://github.com/chrisjsewell))

## Bugs fixed

- translation of suggest edit [#284](https://github.com/executablebooks/sphinx-book-theme/pull/284) ([@chrisjsewell](https://github.com/chrisjsewell))
- Pin bs4 and sphinx dependencies [#271](https://github.com/executablebooks/sphinx-book-theme/pull/271) ([@chrisjsewell](https://github.com/chrisjsewell))
- fixing right toc whitespace overlap [#268](https://github.com/executablebooks/sphinx-book-theme/pull/268) ([@choldgraf](https://github.com/choldgraf))
- Fixing linenos style [#263](https://github.com/executablebooks/sphinx-book-theme/pull/263) ([@AakashGfude](https://github.com/AakashGfude))


## v0.0.39 - 2020-11-08
([full changelog](https://github.com/executablebooks/sphinx-book-theme/compare/v0.0.38...v0.0.39))

Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
("py:class", "docutils.parsers.rst.directives.body.Sidebar"),
]

suppress_warnings = ["myst.domains"]

numfig = True

myst_enable_extensions = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"click",
"pydata-sphinx-theme~=0.4.1",
"beautifulsoup4>=4.6.1,<5",
'importlib-resources~=3.0.0; python_version < "3.7"',
'importlib-resources>=3.0,<3.5; python_version < "3.7"',
],
extras_require={
"code_style": ["pre-commit~=2.7.0"],
Expand Down
2 changes: 1 addition & 1 deletion sphinx_book_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from .launch import add_hub_urls
from . import static as theme_static

__version__ = "0.0.39"
__version__ = "0.0.40"
"""sphinx-book-theme version"""

SPHINX_LOGGER = logging.getLogger(__name__)
Expand Down

This file was deleted.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sphinx_book_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
inherit = pydata_sphinx_theme
pygments_style = tango
sidebars = sidebar-search-bs.html, sbt-sidebar-nav.html, sbt-sidebar-footer.html
stylesheet = sphinx-book-theme.30103ff4bb455cea15229add4c0a4304.css
stylesheet = sphinx-book-theme.c441f2ba0852f4cabcb80105e3a46ae6.css

[options]
single_page = False
Expand Down
7 changes: 6 additions & 1 deletion src/scss/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,16 @@ main.bd-content {
// Images
img {

&.align-center {
margin-left: auto;
margin-right: auto;
display:block;
}

&.align-left {
clear: left;
float: left;
margin-right: 1em;

}

&.align-right {
Expand Down

0 comments on commit 3b2b636

Please sign in to comment.