-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into remove-markdownlint
- Loading branch information
Showing
22 changed files
with
55 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,6 @@ | |
"rtfd", | ||
"sdist", | ||
"setuptools", | ||
"sphinxcontrib", | ||
"testroot", | ||
"unittests", | ||
"venv" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: sphinxcontrib-hep-pdgref | ||
name: sphinx-hep-pdgref | ||
channels: | ||
- defaults | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[metadata] | ||
name = sphinxcontrib-hep-pdgref | ||
name = sphinx-hep-pdgref | ||
author = Common Partial Wave Analysis | ||
author_email = [email protected] | ||
maintainer_email = [email protected] | ||
description = Sphinx role for linking to PDG reviews and listing | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
project_urls = | ||
Tracker = https://github.com/ComPWA/sphinxcontrib-hep-pdgref/issues | ||
Changelog = https://github.com/ComPWA/sphinxcontrib-hep-pdgref/releases | ||
Documentation = https://github.com/ComPWA/sphinxcontrib-hep-pdgref/blob/main/README.md | ||
Source = https://github.com/ComPWA/sphinxcontrib-hep-pdgref | ||
Tracker = https://github.com/ComPWA/sphinx-hep-pdgref/issues | ||
Changelog = https://github.com/ComPWA/sphinx-hep-pdgref/releases | ||
Documentation = https://github.com/ComPWA/sphinx-hep-pdgref/blob/main/README.md | ||
Source = https://github.com/ComPWA/sphinx-hep-pdgref | ||
license = BSD 3-Clause License | ||
license_files = LICENSE | ||
keywords = | ||
|
@@ -44,13 +44,13 @@ install_requires = | |
docutils | ||
Sphinx | ||
include_package_data = True | ||
namespace_packages = sphinxcontrib | ||
package_dir = | ||
=src | ||
packages = find_namespace: | ||
packages = find: | ||
|
||
[options.extras_require] | ||
test = | ||
importlib-metadata; python_version <"3.8.0" | ||
pyquery # for checking HTML output | ||
pytest | ||
pytest-cov | ||
|
@@ -75,8 +75,6 @@ dev = | |
tox >=1.9 # for skip_install, use_develop | ||
|
||
[options.packages.find] | ||
include = | ||
sphinxcontrib.hep.* | ||
where = src | ||
|
||
[options.package_data] | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
# cspell:ignore rootdir | ||
from pathlib import Path | ||
import sys | ||
|
||
import pytest | ||
|
||
if sys.version_info < (3, 8): | ||
from importlib_metadata import version | ||
else: | ||
from importlib.metadata import version | ||
|
||
pytest_plugins = "sphinx.testing.fixtures" | ||
collect_ignore = ["roots"] | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def rootdir() -> Path: | ||
return Path(__file__).parent.absolute() / "roots" | ||
# cspell:ignore rootdir | ||
sphinx_version = version("Sphinx") | ||
if sphinx_version < "7.2": | ||
from sphinx.testing.path import path | ||
|
||
@pytest.fixture(scope="session") | ||
def rootdir() -> path: | ||
return path(__file__).parent.abspath() / "roots" | ||
|
||
else: | ||
from pathlib import Path | ||
|
||
@pytest.fixture(scope="session") | ||
def rootdir() -> Path: | ||
return Path(__file__).parent.absolute() / "roots" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
extensions = ["sphinxcontrib.hep.pdgref"] | ||
extensions = ["sphinx_hep_pdgref"] | ||
exclude_patterns = ["_build"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters