Skip to content

Commit 1e07d9a

Browse files
committed
Remove XML role
1 parent 58a7959 commit 1e07d9a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

snooty/intersphinx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def fetch_inventory(url: str, cache_dir: Path = DEFAULT_CACHE_DIR) -> Inventory:
174174
)
175175

176176
res = requests.get(url, headers=request_headers)
177+
177178
res.raise_for_status()
178179
if res.status_code == 304:
179180
return Inventory.parse(base_url, inventory_path.read_bytes())

snooty/rstspec.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,10 +1017,6 @@ type = "explicit_title"
10171017
help = """Show a FontAwesome 4 icon."""
10181018
type = "explicit_title"
10191019

1020-
[role.xml]
1021-
help = """Use XML to create reStructuredText nodes."""
1022-
type = "text"
1023-
10241020
[role.rfc]
10251021
help = """Reference an IETF RFC."""
10261022
type = {link = "https://tools.ietf.org/html/%s"}

0 commit comments

Comments
 (0)