Skip to content

Commit

Permalink
change folder name (#13)
Browse files Browse the repository at this point in the history
* change lib name

* edit extention import in tests

* drop support for python 3.6
  • Loading branch information
12rambau authored Jan 12, 2023
1 parent e8613e0 commit 4d913b5
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/basic-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Setup Python
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ There are two ways to include favicon files in your configuration:
static favicon file(s) inside a directory listed in [Sphinx' `html_static_path`](https://www.sphinx-doc.org/en/master/usage/configuration.html?highlight=static#confval-html_static_path). If you use a relative path, use the `"static-file"` parameter. See below for
examples.

To configure sphinx-favicon, first add `"sphinx-favicon"` to the list of
To configure sphinx-favicon, first add `"sphinx_favicon"` to the list of
extensions:

```python
extensions = [
"sphinx-favicon",
"sphinx_favicon",
]
```

Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ classifiers =
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python
Topic :: Utilities
Topic :: Documentation
Expand All @@ -31,7 +31,7 @@ classifiers =
Topic :: Text Processing

[options]
packages = sphinx-favicon
packages = sphinx_favicon
install_requires =
sphinx >= 3.4
python_requires = >=3.6
python_requires = >=3.7
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/roots/test-href_and_static/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-list_of_three_dicts/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-list_of_urls/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-single_dict/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
2 changes: 1 addition & 1 deletion tests/roots/test-static_files/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
extensions = ["sphinx-favicon"]
extensions = ["sphinx_favicon"]

master_doc = "index"
exclude_patterns = ["_build"]
Expand Down
1 change: 0 additions & 1 deletion tests/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pathlib import Path

import pytest
import conftest


@pytest.mark.sphinx("html", testroot="list_of_three_dicts")
Expand Down

0 comments on commit 4d913b5

Please sign in to comment.