v0.5.0
Highlights
- The theme no longer vendors the custom Lato and Open Sans fonts, but uses default system fonts instead. If you want to change back to a custom font, check the user guide about customizing fonts.
- A set of CSS variables (or custom properties) is now available for easier customization of styling aspects (eg highlight color for active navigation items) as a downstream user. See the user guide on using CSS variables for more details.
- Problems with the navbar covering the target when linking a header or inline reference are fixed. In addition, this should now also work with larger navbars when setting the
--pst-header-height
CSS variable. - Making more extensive use of sphinx to generate the html of the navigation elements (sidebars, navbar) fixes several issues in the link text (code styling, automatic numbering, etc).
- New options
navbar_align
(controlling the left/right/center alignment of the navigation links in the navbar),logo_link
(if your logo should link to a different page as the main sphinx index page),icon_links
(for custom icon links on the right side of the navbar). See the configuration user guide for all options.
Changelog
Merged PRs
- Update pandas-dev->pydata github url #333 (@jorisvandenbossche)
- Bump elliptic from 6.5.3 to 6.5.4 #332 (@dependabot)
- FIX: new CSS approach to navbar-covers-target-anchor problem #318 (@drammock)
- Fix (responsive) navbar dropdown menu #313 (@jorisvandenbossche)
- Add --pst prefix to all our CSS custom properties (variables) #312 (@jorisvandenbossche)
- Add htmlzip as format on readthedocs #311 (@jorisvandenbossche)
- ✨ ENH: Make starting depth of sidebar configurable in generated html #309 (@jorisvandenbossche)
- TST: refactor to use sphinx test fixtures #308 (@jorisvandenbossche)
- 🐛 Fix in-page headers incorrectly appearing in navbar #307 (@jorisvandenbossche)
- MAINT: Work around Sphinx deprecation #301 (@larsoner)
- Add section with subpages to demo docs + fix hover styling #300 (@jorisvandenbossche)
- Fix gitlab logo #296 (@pgjones)
- Bump ini from 1.3.5 to 1.3.8 #295 (@dependabot)
- ENH: add icon_links option for custom navbar icons (with docs and pypi example) #293 (@bollwyvl)
- DOC: fix typo - navbar_align_with_content to navbar_align) #290 (@CodeCox)
- Allow for a gitlab social media button #289 (@pgjones)
- Feature/variable header height #286 (@hoetmaaiers)
- Use native font stack / remove vendored open-sans + lato fonts #285 (@jorisvandenbossche)
- Feature/anchor all elements #283 (@hoetmaaiers)
- Updating note color and adding docs for colors #281 (@choldgraf)
- FIX: Add anchor offset for
<dt>
anchor links #280 (@hoetmaaiers) - IMPROVE: adding GUI label CSS #278 (@choldgraf)
- ✨ NEW: hide sidebar + navbar_align options #263 (@choldgraf)
- ENH: Add logo_link theme option #246 (@leonarduschen)
- ✨ Using sphinx toc functions #219 (@choldgraf)
- ENH: Allow CSS variables to manipulate theme #190 (@hoetmaaiers)
- Bump jquery from 3.4.1 to 3.5.1 #170 (@dependabot)
Contributors to this release
(GitHub contributors page for this release)
@12rambau | @aterrel | @bollwyvl | @bryevdv | @CAM-Gerlach | @choldgraf | @CodeCox | @dependabot | @djhoese | @drammock | @eric-wieser | @hoetmaaiers | @jorisvandenbossche | @larsoner | @leonarduschen | @mattip | @MegChai | @mgeier | @mwaskom | @pgjones | @pradyunsg | @riedgar-ms | @TheRajatSethi