diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 9a2d12d6..b82aeec7 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -36,48 +36,24 @@ jobs:
python -m mkdocs gh-deploy -v --clean --remote-name gh-token
git push gh-token gh-pages
- wheel:
+ pypi:
strategy:
matrix:
- python-version: [3.9]
+ distribution: [bdist_wheel, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- with:
- fetch-depth: 0
- uses: actions/setup-python@v1
with:
- python-version: ${{ matrix.python-version }}
+ python-version: 3.9
- name: Package
run: |
pip install --upgrade setuptools wheel
- python setup.py bdist_wheel
- - name: Publish
- uses: pypa/gh-action-pypi-publish@v1.0.0a0
- with:
- user: __token__
- password: ${{ secrets.PYPI_TOKEN }}
-
- sdist:
- strategy:
- matrix:
- python-version: [3.9]
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v1
- with:
- python-version: ${{ matrix.python-version }}
- - name: Package
- run: |
- pip install --upgrade setuptools
- python setup.py sdist
+ python setup.py ${{ matrix.distribution }}
- name: Publish
- uses: pypa/gh-action-pypi-publish@v1.0.0a0
+ uses: pypa/gh-action-pypi-publish@v1.4.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
diff --git a/docs/src/dictionary/en-custom.txt b/docs/src/dictionary/en-custom.txt
index c8a5e1e4..d6619d08 100644
--- a/docs/src/dictionary/en-custom.txt
+++ b/docs/src/dictionary/en-custom.txt
@@ -39,6 +39,7 @@ combinator
combinators
deprecations
deregister
+dev
directionality
formatter
hashable
diff --git a/docs/src/markdown/about/changelog.md b/docs/src/markdown/about/changelog.md
index d2f87d66..f3951d29 100644
--- a/docs/src/markdown/about/changelog.md
+++ b/docs/src/markdown/about/changelog.md
@@ -1,5 +1,10 @@
# Changelog
+## 2.2.0.dev
+
+- **NEW**: `:link` and `:any-link` no longer include `#!html ` due to a change in the level 4 selector
+ specification.
+
## 2.1.0
- **NEW**: Officially support Python 3.9.
diff --git a/docs/src/markdown/selectors/pseudo-classes.md b/docs/src/markdown/selectors/pseudo-classes.md
index c372dda2..5a2f06dc 100644
--- a/docs/src/markdown/selectors/pseudo-classes.md
+++ b/docs/src/markdown/selectors/pseudo-classes.md
@@ -10,7 +10,7 @@ implement as they might not stick around.
## `:any-link`:material-language-html5:{: title="HTML" data-md-color-primary="orange" .icon}:material-flask:{: title="Experimental" data-md-color-primary="purple" .icon} {:#:any-link}
-Selects every `#!html `, `#!html `, or `#!html ` element that has an `href` attribute, independent of
+Selects every `#!html `, or `#!html ` element that has an `href` attribute, independent of
whether it has been visited.
=== "Syntax"
@@ -37,6 +37,10 @@ whether it has been visited.
!!! tip "Additional Reading"
https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link
+!!! new "New in 2.2"
+ The CSS specification recently updated to not include `#!html ` in the definition; therefore, Soup Sieve has
+ removed it as well.
+
## `:checked`:material-language-html5:{: title="HTML" data-md-color-primary="orange" .icon} {:#:checked}
Selects any `#!html `, `#!html `, or `#!html