7c675a6fdb
Modernize extension
...
- update dependencies
- use tox for testing
- use type hints
- use pathlib and ipaddress from standard library instead of path and
ipcalc
- fix Sphinx deprecation warnings
2023-01-28 17:43:04 +01:00
7acff11695
Release 0.5.1
...
- bump version
- update CHANGES.rst
2021-09-04 19:56:18 +02:00
d1a151f8bd
Fix anchor links
2021-09-04 19:54:24 +02:00
1451a5a1c0
Release 0.5.0
2021-09-04 18:53:49 +02:00
e53838acfb
Use make_refnode for creating the references on the IP list
2021-09-04 17:51:04 +02:00
49a3d89488
Reimplement using Sphinx 4 APIs
...
- use ObjectDescription for IPRange
- reimplement data handling in IPDomain
- store target docname and anchors in data to avoid later lookups
- remove broken entries from index
- adapt tests
2021-09-04 17:15:27 +02:00
fdb126996a
Run through black and isort
2021-01-02 07:24:22 +01:00
0af66c6964
Fix deprecations and modernize testing
...
- use pytest and tox for testing
- fix deprecation warnings from Sphinx and Docutils
2021-01-02 07:24:22 +01:00
281f740589
Bump version to 0.3.0
2019-07-13 22:02:42 +02:00
585085250e
Fix compatibility with Sphinx 2.1
...
- Fix deprecation warnings
- Fix missing API in tests
- Fix relative imports in tests
- use proper logger
2019-07-13 21:52:52 +02:00
12a6b34550
Start 0.2.5 development
...
- Use pipenv to manage dependencies during development
- Bump version number to 0.2.5.dev1
2019-07-13 21:51:27 +02:00
460ea45061
Fix index generation issue
...
Index keys were wrongly defined as empty string which caused garbage in
the resulting index this commit changes the empty string to None. The
version number has been incremented.
2016-05-07 00:17:28 +02:00
54c11b4357
Fix regression in html build
...
This commit fixes a regression in html builds that has been introduced
by using a boolean value in index entries.
2016-05-05 13:25:53 +02:00
b5a50256b6
Fix index entries that broke the latex builder
...
This commit fixes the element count of index entries so that the latex
builder is not broken anymore. The version number is bumped to 0.2.2.
2016-05-05 11:55:57 +02:00
01c31e9263
Implement proper clear_doc method for IPDomain
...
This commit replaces the dummy clear_doc method in
jandd.sphinxext.ip.IPDomain with a proper implementation that clears
document related items from the domain data dictionary.
2016-05-05 11:34:27 +02:00
0dafa28150
Make sure that values are IP addresses/ranges
...
This commit adds safeguarding for invalid IP address/range values.
2016-05-05 11:15:47 +02:00
a17f55a6a9
Bump version
2016-05-05 10:44:57 +02:00
dd419f4ae6
Add handling for multiple IP occurrences
...
This commit adds handling of multiple occurrences of the same IP address
in one or more pages.
2016-05-04 13:29:09 +02:00
f812a91310
Format IP lists as tables
...
This commit changes the formatting of IP address lists from paragraph to
table markup. The commit fixes PEP8 violations.
2016-05-04 12:46:00 +02:00
a44fff3e81
Fix IP address sorting
...
IP addresses in IP ranges are now sorted correctly by their numerical
value.
2016-05-04 12:42:51 +02:00
ff95c88bc5
Bump version number
2016-05-04 12:27:48 +02:00
1801d5d93b
Fix description
2016-05-02 21:33:10 +02:00
869039df5d
Add test suite
...
This commit adds a test suite and fixes replacement of ip address nodes
for IP addresses that are not part of a IP range directive.
2016-05-02 20:55:09 +02:00
39f62dc843
Improve index entries
...
This commit adds additional index entries for IP ranges and IP address
references.
2016-04-25 00:46:32 +02:00
48488386d3
Flatten module structure
...
This commit moves the ip module to a ip.py file. The separate directory
is not needed for a single Python file.
2016-04-25 00:24:42 +02:00
196f33d3b1
Generate IP address lists automatically
...
This commit implements auto generation of IP address lists for IP
ranges. The ipcalc PyPI module is used to determine which IP addresses
belong to a given IP range. The IPs are listed in IP range sections and
links to the original pages are added.
2016-04-25 00:17:39 +02:00
334968385b
Add handling for missing references
2016-04-24 15:04:07 +02:00
0012b495b3
Initial version of the IP Sphinx extension
2016-04-16 23:43:22 +02:00