Skip to content

Commit

Permalink
Ditch rst-linker
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdemin committed Aug 25, 2024
1 parent e248074 commit 53a2d04
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 734 deletions.
22 changes: 0 additions & 22 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,6 @@
master_doc = "index"
html_theme = "furo"

# Link dates and other references in the changelog
extensions += ['rst.linker']
link_files = {
'../CHANGES.rst': dict(
using=dict(GH='https://github.com'),
replace=[
dict(
pattern=r'(Issue #|\B#)(?P<issue>\d+)',
url='{package_url}/issues/{issue}',
),
dict(
pattern=r'(?m:^((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n)',
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
),
dict(
pattern=r'PEP[- ](?P<pep_number>\d+)',
url='https://peps.python.org/pep-{pep_number:0>4}/',
),
],
)
}

# Be strict about any broken references
nitpicky = True

Expand Down
1 change: 0 additions & 1 deletion requirements/local.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ pre-commit

# docs
sphinx
rst.linker
furo

# packages
Expand Down
Loading

0 comments on commit 53a2d04

Please sign in to comment.