diff --git a/_service b/_service index 9895688..610d3df 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/pydata/pydata-sphinx-theme.git git - v0.7.1 + v0.13.1 @PARENT_TAG@ v(.*) .git* diff --git a/_servicedata b/_servicedata index c009833..15770e4 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/pydata/pydata-sphinx-theme.git - 91441e705adb304e93a5d2f3ecc52b0b6d5d5a61 \ No newline at end of file + d7be3e599ef634820f0b1e049fc1f69e4707d05a \ No newline at end of file diff --git a/prepare_vendor.sh b/prepare_vendor.sh new file mode 100644 index 0000000..cc01232 --- /dev/null +++ b/prepare_vendor.sh @@ -0,0 +1,80 @@ +#!/bin/bash +# Script based on the fedora package +# https://src.fedoraproject.org/rpms/python-pydata-sphinx-theme/blob/rawhide/f/prepare_vendor.sh + +PKG_DIR="$(pwd)" +PKG_PATH=pydata-sphinx-theme +PKG_NAME=python-pydata-sphinx-theme +PKG_VERSION=0.13.1 + +cleanup_tmpdir() { + popd 2>/dev/null + rm -rf /tmp/yarn--* + rm /tmp/core-js-banners +} +trap cleanup_tmpdir SIGINT + +cleanup_and_exit() { + cleanup_tmpdir + if test "$1" = 0 -o -z "$1" ; then + exit 0 + else + exit $1 + fi +} + +cd $PKG_PATH +export YARN_CACHE_FOLDER=".package-cache" +echo ">>>>>> Install npm modules" +yarn install --frozen-lockfile +if [ $? -ne 0 ]; then + echo "ERROR: yarn install failed" + cleanup_and_exit 1 +fi + +echo ">>>>>> Cleanup object dirs" +find node_modules/ -type d -name "*.o.d" -execdir rm {} + +find node_modules/ -type d -name "__pycache__" -execdir rm {} + + +echo ">>>>>> Cleanup object files" +find node_modules/ -name "*.node" -execdir rm {} + + +find node_modules/ -name "*.dll" | grep -v signal-client | xargs rm -f +find node_modules/ -name "*.dylib" -delete +find node_modules/ -name "*.so" -delete +find node_modules/ -name "*.o" -delete +find node_modules/ -name "*.a" -delete +find node_modules/ -name "*.snyk-*.flag" -delete + +echo ">>>>>> Cleanup build info" +find node_modules/ -name "builderror.log" -delete +find node_modules/ -name "yarn-error.log" -delete +find node_modules/ -name "yarn.lock" -delete +find node_modules/ -name ".deps" -type d -execdir rm {} + +find node_modules/ -name "Makefile" -delete +find node_modules/ -name "*.target.mk" -delete +find node_modules/ -name "config.gypi" -delete +find node_modules/ -name "package.json" -exec sed -i "s#$PKG_PATH#/tmp#g" {} \; + +echo ">>>>>> Cleanup yarn tarballs" +find node_modules/ -name ".yarn-tarball.tgz" -delete + +echo ">>>>>> Cleanup source maps" +find node_modules/ -name "*.js.map" -delete +find node_modules/ -name "*.ts.map" -delete +find node_modules/ -name "*.mjs.map" -delete +find node_modules/ -name "*.cjs.map" -delete +find node_modules/ -name "*.css.map" -delete +find node_modules/ -name "*.min.map" -delete + +echo ">>>>>> Package vendor files" +rm -f ${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz +XZ_OPT="-9e -T$(nproc)" tar cJf $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor.tar.xz .package-cache + +yarn add license-checker +yarn license-checker --summary | sed "s#$PKG_PATH#/tmp#g" > $PKG_DIR/${PKG_NAME}-${PKG_VERSION}-vendor-licenses.txt + +rm -rf .package-cache +cd - + +cleanup_and_exit 0 diff --git a/pydata-sphinx-theme-0.13.1.obscpio b/pydata-sphinx-theme-0.13.1.obscpio new file mode 100644 index 0000000..afe30c0 --- /dev/null +++ b/pydata-sphinx-theme-0.13.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eb1aa4074985b02e002d748e0dd78b2f674f32ff679cabd56cd9cd389b1934d +size 4295692 diff --git a/pydata-sphinx-theme-0.13.1.tar.gz b/pydata-sphinx-theme-0.13.1.tar.gz new file mode 100644 index 0000000..8b40556 --- /dev/null +++ b/pydata-sphinx-theme-0.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9e0fdf38dbc25d4e5df8e97b2bf5e433931074a63d3c4bfa3fc58fe019bcc46 +size 3417575 diff --git a/pydata-sphinx-theme-0.7.1.tar.gz b/pydata-sphinx-theme-0.7.1.tar.gz deleted file mode 100644 index 8ef72ea..0000000 --- a/pydata-sphinx-theme-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1e9bb818b50e179a4a0f6762062d74bd07e2ca5406a10fb25526919ccab1616 -size 2635533 diff --git a/pydata-sphinx-theme.obsinfo b/pydata-sphinx-theme.obsinfo index 2cc2a68..796337f 100644 --- a/pydata-sphinx-theme.obsinfo +++ b/pydata-sphinx-theme.obsinfo @@ -1,5 +1,4 @@ name: pydata-sphinx-theme -version: 0.7.1 -mtime: 1633197028 -commit: 91441e705adb304e93a5d2f3ecc52b0b6d5d5a61 - +version: 0.13.1 +mtime: 1677937217 +commit: d7be3e599ef634820f0b1e049fc1f69e4707d05a diff --git a/python-pydata-sphinx-theme-0.13.1-vendor-licenses.txt b/python-pydata-sphinx-theme-0.13.1-vendor-licenses.txt new file mode 100644 index 0000000..5e806a6 --- /dev/null +++ b/python-pydata-sphinx-theme-0.13.1-vendor-licenses.txt @@ -0,0 +1,23 @@ +yarn run v1.22.19 +$ /home/danigm/Projects/suse/obs/home:dgarcia:sphinx-theme-builder/python-/tmp//tmp/node_modules/.bin/license-checker --summary +├─ MIT: 718 +├─ ISC: 111 +├─ BSD-2-Clause: 18 +├─ Apache-2.0: 15 +├─ BSD-3-Clause: 13 +├─ Unlicense: 4 +├─ (MIT OR CC0-1.0): 3 +├─ (MIT OR Apache-2.0): 2 +├─ CC0-1.0: 2 +├─ (CC-BY-4.0 AND OFL-1.1 AND MIT): 1 +├─ MIT*: 1 +├─ CC-BY-4.0: 1 +├─ (AFL-2.1 OR BSD-3-Clause): 1 +├─ (BSD-3-Clause OR GPL-2.0): 1 +├─ (MIT AND Zlib): 1 +├─ (MIT AND BSD-3-Clause): 1 +├─ CC-BY-3.0: 1 +├─ (MIT AND CC-BY-3.0): 1 +└─ 0BSD: 1 + +Done in 1.04s. diff --git a/python-pydata-sphinx-theme-0.13.1-vendor.tar.xz b/python-pydata-sphinx-theme-0.13.1-vendor.tar.xz new file mode 100644 index 0000000..13ca534 --- /dev/null +++ b/python-pydata-sphinx-theme-0.13.1-vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:731dcca370e05fd4179c9b9e06a72a88ad774f0d62df59c9756210f310fb6669 +size 33073372 diff --git a/python-pydata-sphinx-theme.changes b/python-pydata-sphinx-theme.changes index a6580e9..61fc3ee 100644 --- a/python-pydata-sphinx-theme.changes +++ b/python-pydata-sphinx-theme.changes @@ -1,3 +1,719 @@ +------------------------------------------------------------------- +Thu Mar 9 10:10:17 UTC 2023 - Daniel Garcia + +- Vendor all required nodejs modules to be able to build without + network with the new sphinx-theme-builder +- Update to version 0.13.1: + * RLS: v0.13.1 + * fix: deprecate use of the favicon config parameter (#1225) + * MNT: more flexible static (#1221) + * Fix icon links requirement (#1231) + * DOCS: Fix `

` in docs for realz (#1224) + * docs: remove legacy footer customization (#1229) + * DOCS: Remove

from announcement sample text (#1223) + * bump: dev0 + +------------------------------------------------------------------- +Mon Mar 06 14:13:40 UTC 2023 - Daniel Garcia + +- Update to version 0.13.0: + * RLS: v0.13.0 + * Make heading-style use the font-weight-heading value (#1213) + * dev0 + * RLS: v0.13.0rc6 + * FIX: Get theme options in a more robust way (#1214) + * Dev0 + * RLS: 0.13.0rc5 + * FIX: Remove icon links component when no icon links given (#1209) + * feat: Add full i18n support (#1192) + * Use CSS transform for skip link (#1206) + * Properly set configuration with app.builder.theme_options (#1199) + * Add conditional check for last-updated template (#1201) + * copy_logo_images: do not render dynamic Sphinx template content (#1204) + * Fix math scrollbars for realz (#1198) + * FIX: Make wide equations scroll (#1196) + * Dev0 + * RLS: v0.13.0rc4 + * Fix github gitlab brand (#1194) + * Refactor contributing docs to be more modular (#1173) + * DOCS: Add internationalization instructions (#1178) + * FIX: Some style bugs (#1191) + * dev0 + * RLS: v0.13.0rc3 + * Minor style improvements to ablog (#1185) + * maint: remove sphinx-panels support; remove deprecated config shims (#1188) + * Standardize template structure in more sections (#1184) + * maint: update GitLab URL tests (#1186) + * fix: correctly add DOM listeners (#1179) + * Properly handle default_mode=auto when writing logos (#1183) + * “Edit this page” → “Edit on GitHub/GitLab/Bitbucket” (#1177) + * Fix article header CSS (#1171) + * DOCS: admonition customization (#1155) + * RLS: v0.13.0rc2 (#1170) + * Fix header vertical spacing and jupyter-sphinx cells (#1164) + * Degrade gracefully when JavaScript is disabled (#1146) + * ENH: Add breadcrumbs to article header (#1142) + * FIX: Narrow scope of style rule for GitHub & GitLab link shortening (#1167) + * remove emoji from landing page (#1151) + * MAINT: update pypi classifiers (#1153) + * FIX: Javascript incorrect check for variable (#1166) + * Add test for internationalization and translations (#1138) + * STYLE: lint the documentation with Doc8 (#1150) + * FIX: Flex behavior should shrink header items instead of brand (#1158) + * Copyright semicolon (#1160) + * DOC: Use only shield.io for badges in README (#1152) + * Build(deps): Bump http-cache-semantics from 4.1.0 to 4.1.1 (#1154) + * Bump to dev0 + * 0.13.0rc1 + * Standardize logo image behavior between Sphinx and this theme (#1132) + * ABlog: Updates for new HTML structure (#1118) + * MAINT: update prerelease workflow (#1140) + * MAINT: Refactor workflows to reduce test dependencies (#1136) + * MAINT: Improve font sizing (#1129) + * fix: use correct path for documentation logo + * fix: align sidebar sliding with the buttons (#1123) + * ENH/MAINT: avoid overwriting the HtmlTranslator (#1105) + * FIX: Use logo_url instead deprecated logo in theme (#1094) (#1097) + * Fix extra whitespace in sidebars (#1115) + * feat: support leaflet maps in the theme (#1112) + * Build(deps): Bump json5 from 1.0.1 to 1.0.2 (#1111) + * MAINT: sphinx 4.0 behaviours are no longer supported (#1107) + * FIX: Blog tag cloud overflow (#1093) + * FIX: Center search keyboard buttons (#1103) + * Fixing header height (#1102) + * drop prettify to avoid extra space in inline block (#1101) + * style dataframe included in a widget (#1089) + * add matplotlib to the list of warnings (#1091) + * Add Matplotlib to gallery.yaml (#1090) + * FIX: remove DS_Store file (#1084) + * make accessible-pygments a full dependency (#1083) + * FIX: Update precommit (#1080) + * Build(deps): Bump decode-uri-component from 0.2.0 to 0.2.2 (#1077) + * Improving ABlog style and configuration (#1075) + * Check for /-/ in GitLab url (closes #1073) (#1074) + * Reduce the left padding for ul and ol lists (#1069) + * MAINT: Lint html (#1021) + * MAINT: use the github repo of flake8 in pre-commit (#1070) + * MAINT: Drop jQuery and use Bootstrap 5 (#1029) + * ENH: Accessible code highlighting styles (#1064) + * Build(deps): Bump loader-utils from 1.4.1 to 1.4.2 (#1066) + * bump version + * RLS: v0.12.0 + * FIX: remove double quotes in github actions (#1062) + * RLS: v0.12.0rc1 (#1057) + * FIX: display external links in toctree (#1055) + * STYLE: style admonitions (#1043) + * Build(deps): Bump loader-utils from 1.4.0 to 1.4.1 (#1053) + * FIX: use warning instead of errors for version json tests (#993) + * ENH: Add GitHub Projects support for github shorten links (#1051) + * FIX: Navigation buttons accessibility fixes (#1050) + * ENH: Refactor gitlab parsing in ShortenLinkTransform (#1039) (#1048) + * Disable CloudFlare Rocket loader on dark mode script (#1045) + * Prerelease CI: Update name, schedule and Python version (#1044) + * Change pypa/gh-action-pypi-publish to use stable release branch (#1047) + * Add Dependabot configuration for GitHub Actions updates (#1046) + * FIX: style table generated by myst-NB (#1041) + * MAINT: refactor webpack.config.js (#1035) + * ENH: support seealso admonition (#1037) + * DOCS: update documentation link (#1033) + * DOCS: fix python block in keyboard-shortcuts.md (#1032) + * MAINT: split bootstrap and theme styling (#994) + * ENH: Add skip to main content button for a11y (#1019) + * MAINT: use a function to test the warnings of the CI doc build (#1002) + * FIX: avoid API double select (#1015) + * FIX: table width of nbsphinx dataframes (#1018) + * DOCS: demonstrate inline highlighting (#1025) + * ENH: create a navbar_persistent section (#1022) + * ENH: place the RDT flyout in the sidebar (#1005) + * FIX: update switcher list (#1009) + * FIX: link shortening for gitlab (#1012) + * FIX: make the icons available to implicit component (#991) + * FIX: set back the icon inside the search bar (#992) + * ENH: add the theme version in the footer (#1000) + * FIX: avoid conflict between black and flake8 + * FIX: improve numbering of the docs (#1004) + * fix: remove deprecated config (#997) + * Remove deprecated option for google analytics (#975) + * Remove travis/doctr cruft (#995) + * Rename and add deprecation warnings for section names (#988) + * FIX: change dark highlight for a11y (#985) + * FIX: improve display of Hide search button (#984) + * FIX: improve display of "side" docstring title (#981) + * FIX: respect the align and width parameter of table directives (#968) + * FIX: display math characters in the header navbar (#971) + * Bump version + * RLS: v0.11.0 + * fix: remove primary sidebar if empty (#980) + * Bump version + * RLS: v0.11.0rc3 + * Support Sphinx 4.2+ (#978) + * Bump version + * RLS: v0.11.0rc2 + * Fix for publishing prereleases (#974) + * RLS: v0.11.0rc1 + * Test on Python 3.11 (#972) + * FIX: check the json switcher file (#917) + * Update pre-commit hooks (#970) + * DOCS: Fixed file path of logos (#969) + * FIX: improve display of table in the nbsphinx context (#954) + * ENH: Automatically shorten links for GitHub/GitLab (#957) + * FIX: do not prettify primary sidebar html (#965) + * MAINT: update icons to fit Fontawesome 6 (#963) + * Align all the columns on the primary sidebar (#950) + * DOCS: better document how to remove secondary sidebar + * FIX: expand the bd-article-container (#964) + * FIX: use target color for footnotes (#962) + * FIX: Don't filter images that support the dark theme (#942) + * Bump nth-check and optimize-css-assets-webpack-plugin (#882) + * update Javascript dependencies (#940) + * Build wheels for testing (#939) + * Bump node-forge and webpack-dev-server (#883) + * feat: add the indices to the optional sidebar components (#922) + * FIX: use parent when self is use in a toctree (#938) + * Add expected pandas 1.5 warning (#936) + * MAINT: Open issue when dependency prereleases fail (#899) + * DOCS: Add sepal to the gallery (#927) + * Fix plausible loading (#909) + * Add EnOSlib's website in the gallery (#919) + * FIX: use hasdoc() for logo link (#921) + * Add #searchbox to sidebar for "Hide Search Matches" link (#925) + * ENH: Use bootstrap tooltip to display icons title (#924) + * set the content at the top of the page (#916) + * add css helper for images optimized for both dark and light theme (#914) + * ENH: Use toctree titles in the header navbar (#915) + * Correct the link to the pygments styles in styling.rst (#910) + * RLS: v0.10.1 + * Don't test against prereleased dependecies (#900) + * RLS: v0.10.0 + * ENH: Add section title to sidebar navigation (#895) + * DOCS: Update grid size for gallery (#894) + * ENH: option to customise the alt text of the logo (#893) + * MAINT: Run audit on a simplified docs build (#892) + * ENH: Simplify and speed up navigation bar links generation (#878) + * MAINT: Add action for profiling (#888) + * MAINT: Add a py-spy profiler to nox (#887) + * DOCS: Improve sphinx-design card examples (#885) + * MAINT: Upgrade FontAwesome dependency to latest version (#868) + * BUG: Fix links not clickable in versionmodified directives (#877) + * NEW: Adding a section for footer-content like in sphinx-basic-ng (#861) + * fix: update switcher color according to sidebar (#880) + * FIX: Fix equation scrolling behavior (#872) + * fix color of the search input (#875) + * FIX: Hide vert scrollbars on inline math (#871) + * ENH: suppress autocorrect/spellcheck/autocapitalize in search box (#870) + * Gallery (#867) + * DOCS: Add arviz website to example gallery (#862) + * Build docs w/ sphinx 5 (#864) + * Fix links on homepage (#853) + * Update GitHub Action for releases + * RLS: v0.10.0RC2 + * ENH: Add download link icon to download links (#850) + * Fix several CSS elements and bugs for Sphinx 5 (#818) + * ENH: Improve sidebar secondary config and logic + * ENH: Move header items to sidebar on mobile (#834) + * DOC: Add comment to deprecate some CSS in future (#848) + * fix admonition-sidebar styling (#847) + * DOCS: Clarify analytics documentation (#839) + * ENH: Add light background to inline code (#838) + * DOCS: Update front page, contributing doc, and gallery code (#825) + * ENH: Add plausible analytics (#828) + * ENH: Allow admonitions to be style as a sidebar (#836) + * Update kitchen sink and script to update (#819) + * ENH: Search button shows up on mobile (#832) + * Bump terser from 4.8.0 to 4.8.1 (#830) + * Refactor and modularize user guide (#826) + * ENH: Add ABlog support (#796) + * Add dropdown support for Sphinx Design (#812) + * MAINT: Move publish to new workflow (#816) + * Add push events for tags (#815) + * Release Candidate: v0.10.0rc1 (#813) + * Inline math docs and optional keywords for favicons (#810) + * Fixed Spelling and Style (#811) + * Use Bootstrap styling for our dropdown button (#808) + * Overlay darken for search popup (#804) + * Update theme switch colors (#803) + * Handle varied search field configurations (#807) + * Add release and review/merging policies to our documentation (#779) + * ENH: Add override `attributes` in icon_links (#685) + * ENH: External logo image, nbsphinx spacing, admonition title (#797) + * Let the PyPi badge in README.md link to the project page in PyPi (#798) + * Fix usage of version dropdown to work on mobile (#790) + * ENH: manage sidebars on small screens (#726) + * Fix header spacing (#788) + * Update topic and contents directive style (#785) + * Style code blocks after GitHub (#784) + * Fix typos, use logging.warning (#787) + * ENH: Make scroll bar style more accessible and noticeable (#776) + * FIX: Search bar and navigation dropdown style (#770) + * FIX: Overflow content on configuration (#772) + * FIX: Set minimum version of supported pygments (#778) + * Add color support for copy and toggle buttons (#767) + * Add dropdown menu to header navigation (#754) + * Remove pa11y (#751) + * Add NBSphinx support for dark theme (#741) + * ENH: White space behavior for main content (#753) + * DOCS: Explain terminology and layout (#756) + * NEW: Adding announcement banners (#722) + * Only install Chromium with Playwright (#750) + * ENH: Make search field an overlay with button click (#744) + * DOCS: improve color documentation (#742) + * MAINT: Add pyupgrade pre-commit hook (#712) + * DOCS: Add a dynamic gallery of projects (#700) + * ENH: Use JupyterLab cell background color for surface variables (#747) + * ENH: Simplify theme variable code and support Sphinx Design (#746) + * ENH: Improve quotes display CSS (#743) + * FIX: Typos in readme (#740) + * DOCS: Add feature-engine to list of projects (#725) + * DOC: Fix spelling error (#738) + * Add: Sourcelink and other Sphinx theme templates (#714) + * DOC: Clarify `theme` wording in docs (#736) + * ENH: Add dark mode support for some pydata packages (#723) + * MAINT: Ignore black format changes (#713) + * FIX: Make hover color work on version switcher (#731) + * FIX: Rendering external URL in logo.link option (#734) + * Fix color regression in sphinx_design and sphinx_panels (#728) + * ENH: equations display on small screen (#718) + * ENH: Version switcher dark mode support (#719) + * fix package versions (#715) + * force table to fit in the article width (#717) + * Bump version + * RLS: v0.9.0 + * Add logo and update brand colors (#698) + * Use myst-parser 0.18 (#703) + * Style the toctree (#693) + * Use different logos for light and dark theme (#691) + * Prevent theme mamangement to raise error when the mode is fixed (#692) + * Improve table captions (#695) + * Manage the bottom of small pages (#694) + * Center align all elements in the navbar (#697) + * Add acknowledgment section (#696) + * Add Sphinx and Python version support policy (#679) + * MAINT: Docutils 0.18 deprecation (#687) + * move all the CSS variable to a single folder (#686) + * Test against prereleases (#683) + * Update configuring.rst (#682) + * Bump release + * RLS: v0.9.0rc1 + * Bump version + * Pin Sphinx to >= 4.0.2 (#678) + * Rename master branch main (#666) + * Moving some template links to Python (#672) + * ENH: simplify color variables (#659) + * Remove upperbound on sphinx (#661) + * Add panels support (#641) + * Add classes for multi-theme content support (#673) + * Support Sphinx 5 (#668) + * Update GH actions versions (#670) + * Update pre-commit hooks (#667) + * Rearrange sections to use basic-ng names (#662) + * DOC: Add the mastodon fediverse icon as example. (#646) + * ENH: Clean up navbar spacing on mobile (#644) + * Increase scrollspy amount (#657) + * ENH: Scrollbar styling (#637) + * Add missing release in version switcher (#656) + * Add deprecation warning for switcher (#655) + * [switcher] default `activeVersion` and `activeVersionName` values (#654) + * Update docs on version switcher dictionary (#653) + * customize display of line numbers in code-block (#651) + * fix: apply the centered directive (#652) + * Update example to correspond to new Google Analytics ID (#650) + * Clarify use-case and docs structure (#648) + * DOCS: how to create an inline footer (#636) + * FIX: Avoid secondary navbar overlap (#642) + * ENH: Adapt target viewcode to tango highlighting style (#635) + * Show the right sidebar on wider screens if the left is hidden (#570) + * Refactor SCSS structure (#619) + * DOC: Document helper for dark mode (#626) + * ENH: Minor updates and tweaks to Dark theme CSS (#631) + * ENH: Dark theme support for ethical ads + * Add dark theme and theme switcher (#540) + * Add a url type for navbar icons (#616) + * Update black pre-commit (#618) + * Set lighthouse to run on kitchen sink (#612) + * RELEASE: v0.8.1 (#611) + * add link to pyvista (#606) + * Fix typos (#608) + * ENH: Left navigation menu to collapse at the "part" level (#594) + * Remove double-linking of theme CSS (#598) + * Version switcher provides explicit URLs (#604) + * Use dataclasses instead of extra_classes (#597) + * Allow relative json url to work locally (and hopefully on PRs) (#599) + * Make header links non-selectable (#602) + * Bump to dev version + update versions in switcher.json (#574) + * Pin sphinx to >=3.5.4,<5 (#595) + * STYLE: Update default anchor link (#593) + * DOCS: Clarify instructions about modifying search bar position (#586) + * Replace distutils Version class with `packaging.version` (#590) + * ENH: add optional `extra_classes` in version-switcher (#576) + * TEST: Basic test for our switcher (#584) + * ENH: add optional per version url in version-switcher (#575) + * MAINT: New action for lighthouse (#572) + * Reduce border-radius on search bar (#581) + * Use margin instead of padding to offset "On this page" + * Reduce scroll-spy offset by 20px + * Don't offset body by 20px + * Don't offset toc and sidebar by 20px + * Improve sidebar search presentation + * CLN: use str instead of os.fsdecode for converting Path (#569) + * FIX: use str theme path for compat with older jinja2 versions (#565) + * DOCS: Add Matplotlib to index.rst... (#563) + * RELEASE: v0.8.0 (#562) + * DOCS: Refactor demo docs (#544) + * UPDATE: NodeJS 16.x (#552) + * FIX: Field lists bug (#554) + * FIX: Admonitions margin (#550) + * FIX: Left scroll JS proper selector (#534) + * ENH: Add left sidebar end section to bottom (#543) + * DOCS: refactor developer docs (#538) + * FIX: Navbar margin on mobile (#541) + * END: Add ability to specify custom icon images (#542) + * MAINT: Add OSX and Windows build to tests (#533) + * Revert "RLS: v0.8.0 (#530)" (#531) + * RLS: v0.8.0 (#530) + * STYLE: Improve spacing for non-image site title (#526) + * Add step to install needed dependencies to build the site (#520) + * drop python 3.6 + use python action cache + * clean-up + * fix path? + * temporary upload sdist/wheel to check release workflow + * quote 3.10 + * CI: update github action workflow after sphinx-theme-builder switch + * ✨ NEW: add version switcher (#436) + * Simplify linting setup + * Improve webpack-macros.html generation logic + * Enable source map for the generated JS file + * Add a comment about what ?-url means + * Drop `make` stuff from docs/ + * Rework theme to utilise `sphinx-theme-builder` + * Drop Python 3.6 support + * rebuild assets + * Add prettier to pre-commit hooks + * Add a few pre-commit hooks for consistency across files + * Prettify the .pre-commit-config.yaml file + * Fixing environment.yml for noxfile (#512) + * FIX: Compatibility with sphinx 4.3 (visit_table) (#509) + * DEV: Simplify webpack and codebase (#495) + * ENH: Add nav show feature (#493) + * Fix nox install task to work with --no-venv (#505) + * Document how to remove toctrees from pages (#492) + * Recommonmark -> MyST and docs (#499) + * Make the whole left sidebar scrollable (#502) + * feat: add a versionmodified css file (#498) + * DEV: fix nox check for sphinx already being installed (#494) + * Improving noxfile speed (#491) + * Improve developer workflow and docs (#490) + * fix dependency installation and build (#467) + +------------------------------------------------------------------- +Fri Feb 24 10:28:09 UTC 2023 - daniel.garcia@suse.com + +- Update to version 0.12.0: + * RLS: v0.12.0 + * FIX: remove double quotes in github actions (#1062) + * RLS: v0.12.0rc1 (#1057) + * FIX: display external links in toctree (#1055) + * STYLE: style admonitions (#1043) + * Build(deps): Bump loader-utils from 1.4.0 to 1.4.1 (#1053) + * FIX: use warning instead of errors for version json tests (#993) + * ENH: Add GitHub Projects support for github shorten links (#1051) + * FIX: Navigation buttons accessibility fixes (#1050) + * ENH: Refactor gitlab parsing in ShortenLinkTransform (#1039) (#1048) + * Disable CloudFlare Rocket loader on dark mode script (#1045) + * Prerelease CI: Update name, schedule and Python version (#1044) + * Change pypa/gh-action-pypi-publish to use stable release branch (#1047) + * Add Dependabot configuration for GitHub Actions updates (#1046) + * FIX: style table generated by myst-NB (#1041) + * MAINT: refactor webpack.config.js (#1035) + * ENH: support seealso admonition (#1037) + * DOCS: update documentation link (#1033) + * DOCS: fix python block in keyboard-shortcuts.md (#1032) + * MAINT: split bootstrap and theme styling (#994) + * ENH: Add skip to main content button for a11y (#1019) + * MAINT: use a function to test the warnings of the CI doc build (#1002) + * FIX: avoid API double select (#1015) + * FIX: table width of nbsphinx dataframes (#1018) + * DOCS: demonstrate inline highlighting (#1025) + * ENH: create a navbar_persistent section (#1022) + * ENH: place the RDT flyout in the sidebar (#1005) + * FIX: update switcher list (#1009) + * FIX: link shortening for gitlab (#1012) + * FIX: make the icons available to implicit component (#991) + * FIX: set back the icon inside the search bar (#992) + * ENH: add the theme version in the footer (#1000) + * FIX: avoid conflict between black and flake8 + * FIX: improve numbering of the docs (#1004) + * fix: remove deprecated config (#997) + * Remove deprecated option for google analytics (#975) + * Remove travis/doctr cruft (#995) + * Rename and add deprecation warnings for section names (#988) + * FIX: change dark highlight for a11y (#985) + * FIX: improve display of Hide search button (#984) + * FIX: improve display of "side" docstring title (#981) + * FIX: respect the align and width parameter of table directives (#968) + * FIX: display math characters in the header navbar (#971) + * Bump version + * RLS: v0.11.0 + * fix: remove primary sidebar if empty (#980) + * Bump version + * RLS: v0.11.0rc3 + * Support Sphinx 4.2+ (#978) + * Bump version + * RLS: v0.11.0rc2 + * Fix for publishing prereleases (#974) + * RLS: v0.11.0rc1 + * Test on Python 3.11 (#972) + * FIX: check the json switcher file (#917) + * Update pre-commit hooks (#970) + * DOCS: Fixed file path of logos (#969) + * FIX: improve display of table in the nbsphinx context (#954) + * ENH: Automatically shorten links for GitHub/GitLab (#957) + * FIX: do not prettify primary sidebar html (#965) + * MAINT: update icons to fit Fontawesome 6 (#963) + * Align all the columns on the primary sidebar (#950) + * DOCS: better document how to remove secondary sidebar + * FIX: expand the bd-article-container (#964) + * FIX: use target color for footnotes (#962) + * FIX: Don't filter images that support the dark theme (#942) + * Bump nth-check and optimize-css-assets-webpack-plugin (#882) + * update Javascript dependencies (#940) + * Build wheels for testing (#939) + * Bump node-forge and webpack-dev-server (#883) + * feat: add the indices to the optional sidebar components (#922) + * FIX: use parent when self is use in a toctree (#938) + * Add expected pandas 1.5 warning (#936) + * MAINT: Open issue when dependency prereleases fail (#899) + * DOCS: Add sepal to the gallery (#927) + * Fix plausible loading (#909) + * Add EnOSlib's website in the gallery (#919) + * FIX: use hasdoc() for logo link (#921) + * Add #searchbox to sidebar for "Hide Search Matches" link (#925) + * ENH: Use bootstrap tooltip to display icons title (#924) + * set the content at the top of the page (#916) + * add css helper for images optimized for both dark and light theme (#914) + * ENH: Use toctree titles in the header navbar (#915) + * Correct the link to the pygments styles in styling.rst (#910) + * RLS: v0.10.1 + * Don't test against prereleased dependecies (#900) + * RLS: v0.10.0 + * ENH: Add section title to sidebar navigation (#895) + * DOCS: Update grid size for gallery (#894) + * ENH: option to customise the alt text of the logo (#893) + * MAINT: Run audit on a simplified docs build (#892) + * ENH: Simplify and speed up navigation bar links generation (#878) + * MAINT: Add action for profiling (#888) + * MAINT: Add a py-spy profiler to nox (#887) + * DOCS: Improve sphinx-design card examples (#885) + * MAINT: Upgrade FontAwesome dependency to latest version (#868) + * BUG: Fix links not clickable in versionmodified directives (#877) + * NEW: Adding a section for footer-content like in sphinx-basic-ng (#861) + * fix: update switcher color according to sidebar (#880) + * FIX: Fix equation scrolling behavior (#872) + * fix color of the search input (#875) + * FIX: Hide vert scrollbars on inline math (#871) + * ENH: suppress autocorrect/spellcheck/autocapitalize in search box (#870) + * Gallery (#867) + * DOCS: Add arviz website to example gallery (#862) + * Build docs w/ sphinx 5 (#864) + * Fix links on homepage (#853) + * Update GitHub Action for releases + * RLS: v0.10.0RC2 + * ENH: Add download link icon to download links (#850) + * Fix several CSS elements and bugs for Sphinx 5 (#818) + * ENH: Improve sidebar secondary config and logic + * ENH: Move header items to sidebar on mobile (#834) + * DOC: Add comment to deprecate some CSS in future (#848) + * fix admonition-sidebar styling (#847) + * DOCS: Clarify analytics documentation (#839) + * ENH: Add light background to inline code (#838) + * DOCS: Update front page, contributing doc, and gallery code (#825) + * ENH: Add plausible analytics (#828) + * ENH: Allow admonitions to be style as a sidebar (#836) + * Update kitchen sink and script to update (#819) + * ENH: Search button shows up on mobile (#832) + * Bump terser from 4.8.0 to 4.8.1 (#830) + * Refactor and modularize user guide (#826) + * ENH: Add ABlog support (#796) + * Add dropdown support for Sphinx Design (#812) + * MAINT: Move publish to new workflow (#816) + * Add push events for tags (#815) + * Release Candidate: v0.10.0rc1 (#813) + * Inline math docs and optional keywords for favicons (#810) + * Fixed Spelling and Style (#811) + * Use Bootstrap styling for our dropdown button (#808) + * Overlay darken for search popup (#804) + * Update theme switch colors (#803) + * Handle varied search field configurations (#807) + * Add release and review/merging policies to our documentation (#779) + * ENH: Add override `attributes` in icon_links (#685) + * ENH: External logo image, nbsphinx spacing, admonition title (#797) + * Let the PyPi badge in README.md link to the project page in PyPi (#798) + * Fix usage of version dropdown to work on mobile (#790) + * ENH: manage sidebars on small screens (#726) + * Fix header spacing (#788) + * Update topic and contents directive style (#785) + * Style code blocks after GitHub (#784) + * Fix typos, use logging.warning (#787) + * ENH: Make scroll bar style more accessible and noticeable (#776) + * FIX: Search bar and navigation dropdown style (#770) + * FIX: Overflow content on configuration (#772) + * FIX: Set minimum version of supported pygments (#778) + * Add color support for copy and toggle buttons (#767) + * Add dropdown menu to header navigation (#754) + * Remove pa11y (#751) + * Add NBSphinx support for dark theme (#741) + * ENH: White space behavior for main content (#753) + * DOCS: Explain terminology and layout (#756) + * NEW: Adding announcement banners (#722) + * Only install Chromium with Playwright (#750) + * ENH: Make search field an overlay with button click (#744) + * DOCS: improve color documentation (#742) + * MAINT: Add pyupgrade pre-commit hook (#712) + * DOCS: Add a dynamic gallery of projects (#700) + * ENH: Use JupyterLab cell background color for surface variables (#747) + * ENH: Simplify theme variable code and support Sphinx Design (#746) + * ENH: Improve quotes display CSS (#743) + * FIX: Typos in readme (#740) + * DOCS: Add feature-engine to list of projects (#725) + * DOC: Fix spelling error (#738) + * Add: Sourcelink and other Sphinx theme templates (#714) + * DOC: Clarify `theme` wording in docs (#736) + * ENH: Add dark mode support for some pydata packages (#723) + * MAINT: Ignore black format changes (#713) + * FIX: Make hover color work on version switcher (#731) + * FIX: Rendering external URL in logo.link option (#734) + * Fix color regression in sphinx_design and sphinx_panels (#728) + * ENH: equations display on small screen (#718) + * ENH: Version switcher dark mode support (#719) + * fix package versions (#715) + * force table to fit in the article width (#717) + * Bump version + * RLS: v0.9.0 + * Add logo and update brand colors (#698) + * Use myst-parser 0.18 (#703) + * Style the toctree (#693) + * Use different logos for light and dark theme (#691) + * Prevent theme mamangement to raise error when the mode is fixed (#692) + * Improve table captions (#695) + * Manage the bottom of small pages (#694) + * Center align all elements in the navbar (#697) + * Add acknowledgment section (#696) + * Add Sphinx and Python version support policy (#679) + * MAINT: Docutils 0.18 deprecation (#687) + * move all the CSS variable to a single folder (#686) + * Test against prereleases (#683) + * Update configuring.rst (#682) + * Bump release + * RLS: v0.9.0rc1 + * Bump version + * Pin Sphinx to >= 4.0.2 (#678) + * Rename master branch main (#666) + * Moving some template links to Python (#672) + * ENH: simplify color variables (#659) + * Remove upperbound on sphinx (#661) + * Add panels support (#641) + * Add classes for multi-theme content support (#673) + * Support Sphinx 5 (#668) + * Update GH actions versions (#670) + * Update pre-commit hooks (#667) + * Rearrange sections to use basic-ng names (#662) + * DOC: Add the mastodon fediverse icon as example. (#646) + * ENH: Clean up navbar spacing on mobile (#644) + * Increase scrollspy amount (#657) + * ENH: Scrollbar styling (#637) + * Add missing release in version switcher (#656) + * Add deprecation warning for switcher (#655) + * [switcher] default `activeVersion` and `activeVersionName` values (#654) + * Update docs on version switcher dictionary (#653) + * customize display of line numbers in code-block (#651) + * fix: apply the centered directive (#652) + * Update example to correspond to new Google Analytics ID (#650) + * Clarify use-case and docs structure (#648) + * DOCS: how to create an inline footer (#636) + * FIX: Avoid secondary navbar overlap (#642) + * ENH: Adapt target viewcode to tango highlighting style (#635) + * Show the right sidebar on wider screens if the left is hidden (#570) + * Refactor SCSS structure (#619) + * DOC: Document helper for dark mode (#626) + * ENH: Minor updates and tweaks to Dark theme CSS (#631) + * ENH: Dark theme support for ethical ads + * Add dark theme and theme switcher (#540) + * Add a url type for navbar icons (#616) + * Update black pre-commit (#618) + * Set lighthouse to run on kitchen sink (#612) + * RELEASE: v0.8.1 (#611) + * add link to pyvista (#606) + * Fix typos (#608) + * ENH: Left navigation menu to collapse at the "part" level (#594) + * Remove double-linking of theme CSS (#598) + * Version switcher provides explicit URLs (#604) + * Use dataclasses instead of extra_classes (#597) + * Allow relative json url to work locally (and hopefully on PRs) (#599) + * Make header links non-selectable (#602) + * Bump to dev version + update versions in switcher.json (#574) + * Pin sphinx to >=3.5.4,<5 (#595) + * STYLE: Update default anchor link (#593) + * DOCS: Clarify instructions about modifying search bar position (#586) + * Replace distutils Version class with `packaging.version` (#590) + * ENH: add optional `extra_classes` in version-switcher (#576) + * TEST: Basic test for our switcher (#584) + * ENH: add optional per version url in version-switcher (#575) + * MAINT: New action for lighthouse (#572) + * Reduce border-radius on search bar (#581) + * Use margin instead of padding to offset "On this page" + * Reduce scroll-spy offset by 20px + * Don't offset body by 20px + * Don't offset toc and sidebar by 20px + * Improve sidebar search presentation + * CLN: use str instead of os.fsdecode for converting Path (#569) + * FIX: use str theme path for compat with older jinja2 versions (#565) + * DOCS: Add Matplotlib to index.rst... (#563) + * RELEASE: v0.8.0 (#562) + * DOCS: Refactor demo docs (#544) + * UPDATE: NodeJS 16.x (#552) + * FIX: Field lists bug (#554) + * FIX: Admonitions margin (#550) + * FIX: Left scroll JS proper selector (#534) + * ENH: Add left sidebar end section to bottom (#543) + * DOCS: refactor developer docs (#538) + * FIX: Navbar margin on mobile (#541) + * END: Add ability to specify custom icon images (#542) + * MAINT: Add OSX and Windows build to tests (#533) + * Revert "RLS: v0.8.0 (#530)" (#531) + * RLS: v0.8.0 (#530) + * STYLE: Improve spacing for non-image site title (#526) + * Add step to install needed dependencies to build the site (#520) + * drop python 3.6 + use python action cache + * clean-up + * fix path? + * temporary upload sdist/wheel to check release workflow + * quote 3.10 + * CI: update github action workflow after sphinx-theme-builder switch + * ✨ NEW: add version switcher (#436) + * Simplify linting setup + * Improve webpack-macros.html generation logic + * Enable source map for the generated JS file + * Add a comment about what ?-url means + * Drop `make` stuff from docs/ + * Rework theme to utilise `sphinx-theme-builder` + * Drop Python 3.6 support + * rebuild assets + * Add prettier to pre-commit hooks + * Add a few pre-commit hooks for consistency across files + * Prettify the .pre-commit-config.yaml file + * Fixing environment.yml for noxfile (#512) + * FIX: Compatibility with sphinx 4.3 (visit_table) (#509) + * DEV: Simplify webpack and codebase (#495) + * ENH: Add nav show feature (#493) + * Fix nox install task to work with --no-venv (#505) + * Document how to remove toctrees from pages (#492) + * Recommonmark -> MyST and docs (#499) + * Make the whole left sidebar scrollable (#502) + * feat: add a versionmodified css file (#498) + * DEV: fix nox check for sphinx already being installed (#494) + * Improving noxfile speed (#491) + * Improve developer workflow and docs (#490) + * fix dependency installation and build (#467) + ------------------------------------------------------------------- Mon Nov 8 15:53:37 UTC 2021 - Dirk Müller diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 590213d..aec712a 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -1,7 +1,7 @@ # # spec file for package python-pydata-sphinx-theme # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,31 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python36 1 Name: python-pydata-sphinx-theme -Version: 0.7.1 +Version: 0.13.1 Release: 0 Summary: Bootstrap-based Sphinx theme from the PyData community License: BSD-3-Clause URL: https://github.com/pydata/pydata-sphinx-theme -# Source: https://files.pythonhosted.org/packages/source/p/pydata-sphinx-theme/pydata-sphinx-theme-%%{version}.tar.gz Source: pydata-sphinx-theme-%{version}.tar.gz +# Source: https://files.pythonhosted.org/packages/source/p/pydata-sphinx-theme/pydata_sphinx_theme-%%{version}.tar.gz +# Source1 and Source2 created with ./prepare_vendor.sh +Source1: python-pydata-sphinx-theme-%{version}-vendor.tar.xz +Source2: python-pydata-sphinx-theme-%{version}-vendor-licenses.txt +Source99: prepare_vendor.sh +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-regressions} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module sphinx-theme-builder} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx Requires: python-beautifulsoup4 Requires: python-docutils +Requires: python-sphinx-theme-builder Suggests: python-beautifulsoup4 Suggests: python-codecov Suggests: python-docutils @@ -47,9 +54,15 @@ Suggests: python-Sphinx Suggests: python-xarray BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module beautifulsoup4} +BuildRequires: %{python_module accessible-pygments} BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module docutils} +BuildRequires: nodejs-packaging +BuildRequires: nodejs19 +BuildRequires: nodejs19-devel +BuildRequires: yarn + # /SECTION %python_subpackages @@ -57,17 +70,33 @@ BuildRequires: %{python_module docutils} Bootstrap-based Sphinx theme from the PyData community %prep -%autosetup -p1 -n pydata-sphinx-theme-%{version} +%autosetup -p1 -n pydata-sphinx-theme-%{version} -a1 +sed -i 's,^\(node-version = \)".*",\1"%{nodejs_version}",' pyproject.toml + +# Create a node header tarball so we don't try to download it +mkdir -p node-v%{nodejs_version}/include +cp -a %{_includedir}/node19 node-v%{nodejs_version}/include/node +tar czf node-v%{nodejs_version}-headers.tar.gz node-v%{nodejs_version} +echo "tarball=\"$PWD/node-v%{nodejs_version}-headers.tar.gz\"" > .npmrc %build -%python_build +export STB_USE_SYSTEM_NODE=1 +export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 +export YARN_CACHE_FOLDER="$PWD/.package-cache" +export NODE_OPTIONS=--openssl-legacy-provider +yarn install --offline + +# nodeenv generated with python3, no need to generate a different +# nodeenv for each flavor +python3 -m nodeenv --node=system --prebuilt --clean-src $PWD/.nodeenv +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -v %files %{python_files} %doc README.md