Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx-inline-tabs for
openSUSE:Factory checked in at 2023-01-08 21:25:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx-inline-tabs (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx-inline-tabs.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-inline-tabs"
Sun Jan 8 21:25:34 2023 rev:2 rq:1056829 version:2022.1.2b11
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx-inline-tabs/python-sphinx-inline-tabs.changes
2021-09-09 23:07:42.924842881 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx-inline-tabs.new.1563/python-sphinx-inline-tabs.changes
2023-01-08 21:25:35.691266831 +0100
@@ -1,0 +2,10 @@
+Sat Jan 7 23:02:15 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2022.1.2b11:
+ * Move rich text label to a separate section
+ * Drop reference to furo's development workflow
+ * don't bother avoiding checking clicked-but-not-triggered-state
+ * Add a plan text code block example
+ * Improve design enabling more customization
+
+-------------------------------------------------------------------
Old:
----
sphinx_inline_tabs-2021.8.17b10.tar.gz
New:
----
sphinx_inline_tabs-2022.1.2b11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx-inline-tabs.spec ++++++
--- /var/tmp/diff_new_pack.5IIvff/_old 2023-01-08 21:25:36.119269374 +0100
+++ /var/tmp/diff_new_pack.5IIvff/_new 2023-01-08 21:25:36.123269398 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-sphinxcontrib-inline-tabs
+# spec file for package python-sphinx-inline-tabs
#
-# 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
@@ -19,14 +19,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-sphinx-inline-tabs
-Version: 2021.8.17b10
+Version: 2022.1.2b11
Release: 0
Summary: Add inline tabbed content to your Sphinx documentation
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pradyunsg/sphinx-inline-tabs
Source:
https://files.pythonhosted.org/packages/source/s/sphinx_inline_tabs/sphinx_inline_tabs-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module flit-core}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 3
@@ -40,10 +43,10 @@
%setup -q -n sphinx_inline_tabs-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
++++++ sphinx_inline_tabs-2021.8.17b10.tar.gz ->
sphinx_inline_tabs-2022.1.2b11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_inline_tabs-2021.8.17b10/PKG-INFO
new/sphinx_inline_tabs-2022.1.2b11/PKG-INFO
--- old/sphinx_inline_tabs-2021.8.17b10/PKG-INFO 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_inline_tabs-2022.1.2b11/PKG-INFO 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinx_inline_tabs
-Version: 2021.8.17b10
+Version: 2022.1.2b11
Summary: Add inline tabbed content to your Sphinx documentation.
Home-page: https://github.com/pradyunsg/sphinx-inline-tabs
Author: Pradyun Gedam
@@ -53,7 +53,7 @@
## Contributing
-sphinx-inline-tabs is a volunteer maintained open source project, and we
welcome contributions of all forms. This is a fairly small package, and the
development workflow is very similar to [Furo's development
workflow](https://pradyunsg.me/furo/contributing/workflow/).
+sphinx-inline-tabs is a volunteer maintained open source project, and we
welcome contributions of all forms.
The [Code of Conduct](CODE_OF_CONDUCT.md) applies within all community spaces.
If you are not familiar with our Code of Conduct policy, take a minute to read
the policy before starting with your first contribution.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_inline_tabs-2021.8.17b10/README.md
new/sphinx_inline_tabs-2022.1.2b11/README.md
--- old/sphinx_inline_tabs-2021.8.17b10/README.md 2021-08-17
10:19:55.068682400 +0200
+++ new/sphinx_inline_tabs-2022.1.2b11/README.md 2021-12-22
13:34:33.341438500 +0100
@@ -35,6 +35,6 @@
## Contributing
-sphinx-inline-tabs is a volunteer maintained open source project, and we
welcome contributions of all forms. This is a fairly small package, and the
development workflow is very similar to [Furo's development
workflow](https://pradyunsg.me/furo/contributing/workflow/).
+sphinx-inline-tabs is a volunteer maintained open source project, and we
welcome contributions of all forms.
The [Code of Conduct](CODE_OF_CONDUCT.md) applies within all community spaces.
If you are not familiar with our Code of Conduct policy, take a minute to read
the policy before starting with your first contribution.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_inline_tabs-2021.8.17b10/docs/usage.md
new/sphinx_inline_tabs-2022.1.2b11/docs/usage.md
--- old/sphinx_inline_tabs-2021.8.17b10/docs/usage.md 2021-08-17
10:19:55.069327400 +0200
+++ new/sphinx_inline_tabs-2022.1.2b11/docs/usage.md 2021-12-22
13:44:38.571771600 +0100
@@ -40,7 +40,7 @@
Three is an odd prime.
```
-```{tab} Four (equal to $2^2$)
+```{tab} Four
Four is not a perfect number.
```
@@ -108,6 +108,28 @@
Six is also nice.
```
+## Rich tab labels
+
+This is only possible with Markdown, as far as I know.
+
+````
+```{tab} Three
+Three is an odd prime.
+```
+
+```{tab} Four (equal to $2^2$)
+Four is not a perfect number.
+```
+````
+
+```{tab} Three
+Three is an odd prime.
+```
+
+```{tab} Four (equal to $2^2$)
+Four is not a perfect number.
+```
+
## Code Tabs
The first code block in a tab content will "join" with the tabs, making things
fairly clean for language snippets and OS-based command suggestions.
@@ -132,6 +154,14 @@
More code, but it works too!
````
+````{tab} Text
+```none
+Hello World!
+```
+
+Why not.
+````
+
## Synchronisation
Tabs across multiple sets are synchronised according to the label,
unconditionally. This requires JavaScript to be enabled on the end user's
browser and, thus, should be considered a progressive enhancement.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinx_inline_tabs-2021.8.17b10/setup.py
new/sphinx_inline_tabs-2022.1.2b11/setup.py
--- old/sphinx_inline_tabs-2021.8.17b10/setup.py 1970-01-01
01:00:00.000000000 +0100
+++ new/sphinx_inline_tabs-2022.1.2b11/setup.py 1970-01-01 01:00:00.000000000
+0100
@@ -1,34 +0,0 @@
-#!/usr/bin/env python
-# setup.py generated by flit for tools that don't yet use PEP 517
-
-from distutils.core import setup
-
-packages = \
-['sphinx_inline_tabs']
-
-package_data = \
-{'': ['*'], 'sphinx_inline_tabs': ['static/*']}
-
-package_dir = \
-{'': 'src'}
-
-install_requires = \
-['sphinx >= 3']
-
-extras_require = \
-{'doc': ['myst-parser', 'furo'],
- 'test': ['pytest', 'pytest-cov', 'pytest-xdist']}
-
-setup(name='sphinx_inline_tabs',
- version='2021.8.17b10',
- description='Add inline tabbed content to your Sphinx documentation.',
- author='Pradyun Gedam',
- author_email='[email protected]',
- url='https://github.com/pradyunsg/sphinx-inline-tabs',
- packages=packages,
- package_data=package_data,
- package_dir=package_dir,
- install_requires=install_requires,
- extras_require=extras_require,
- python_requires='>=3.8',
- )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/__init__.py
new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/__init__.py
--- old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/__init__.py
2021-08-17 10:23:12.379920500 +0200
+++ new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/__init__.py
2022-01-02 18:35:41.086430500 +0100
@@ -2,7 +2,7 @@
import os
-__version__ = "2021.08.17.beta10"
+__version__ = "2022.01.02.beta11"
__all__ = ["setup"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/static/tabs.css
new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/static/tabs.css
--- old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/static/tabs.css
2021-08-17 10:20:17.405353300 +0200
+++ new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/static/tabs.css
2021-12-22 13:43:11.167793500 +0100
@@ -1,12 +1,22 @@
+/* body[data-theme] { */
:root {
- --tabs--label-text: #8c8c8c;
- --tabs--label-text--active: #368ce2;
- --tabs--label-text--hover: #1d73c9;
+ --tabs--label-text: #4b5563;
+ --tabs--label-text--hover: #4b5563;
+ --tabs--label-text--active: #0ea5e9;
+ --tabs--label-text--active--hover: #0ea5e9;
+ --tabs--label-background: transparent;
+ --tabs--label-background--hover: transparent;
--tabs--label-background--active: transparent;
- --tabs--label-background--hover: #f7f7f7;
+ --tabs--label-background--active--hover: transparent;
+ --tabs--label-border: transparent;
+ --tabs--label-border--hover: #d1d5db;
+ --tabs--label-border--active: #0ea5e9;
+ --tabs--label-border--active--hover: #0ea5e9;
+ --tabs--padding-x: 1.25em;
+ --tabs--margin-x: 0;
--tabs--border: #e6e6e6;
- --tabs--border--active: var(--tabs--label-text--active);
}
+
/* Hide radio buttons */
.tab-set > input {
position: absolute;
@@ -27,10 +37,13 @@
z-index: 1;
width: auto;
- border-bottom: 2px solid transparent;
- padding: 1em 1.25em 0.5em;
+ border-bottom: 2px solid var(--tabs--label-border);
+ padding: 1em var(--tabs--padding-x) 0.5em;
+ margin-left: var(--tabs--margin-x);
color: var(--tabs--label-text);
+ background: var(--tabs--label-background);
+
transition: color 250ms;
cursor: pointer;
@@ -38,32 +51,27 @@
font-size: 0.875em;
font-weight: 700;
}
+.tab-set > label:nth-child(2) {
+ margin-left: 0;
+}
+
+/* Hovered label */
+.tab-set > label:hover {
+ color: var(--tabs--label-text--hover);
+ background: var(--tabs--label-background--hover);
+ border-color: var(--tabs--label-border--hover);
+}
/* Active tab label */
.tab-set > input:checked + label {
color: var(--tabs--label-text--active);
background: var(--tabs--label-background--active);
- border-color: var(--tabs--border--active);
+ border-color: var(--tabs--label-border--active);
}
.tab-set > input:checked + label:hover {
- border-color: var(--tabs--border--active);
-}
-
-/* Focused tab label */
-.tab-set > input:focus + label {
- outline-style: auto;
-}
-
-.tab-set > input:not(.focus-visible) + label {
- outline: none;
- -webkit-tap-highlight-color: transparent;
-}
-
-/* Hovered label */
-html .tab-set > label:hover {
- color: var(--tabs--label-text--hover);
- background: var(--tabs--label-background--hover);
- border-color: var(--tabs--border);
+ color: var(--tabs--label-text--active--hover);
+ background: var(--tabs--label-background--active--hover);
+ border-color: var(--tabs--label-border--active--hover);
}
/* Tab content */
@@ -73,6 +81,7 @@
width: 100%;
box-shadow: 0 -0.0625rem var(--tabs--border);
}
+
/* Show content, when input is checked. */
.tab-set > input:checked + label + .tab-content {
display: block;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/static/tabs.js
new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/static/tabs.js
--- old/sphinx_inline_tabs-2021.8.17b10/src/sphinx_inline_tabs/static/tabs.js
2021-08-17 10:19:55.070054800 +0200
+++ new/sphinx_inline_tabs-2022.1.2b11/src/sphinx_inline_tabs/static/tabs.js
2021-12-22 13:20:46.499434200 +0100
@@ -15,7 +15,6 @@
function onLabelClick() {
// Activate other labels with the same text.
for (label of labels_by_text[this.textContent]) {
- if (label === this) continue;
label.previousSibling.checked = true;
}
}