Skip to content

Commit 5a9bb07

Browse files
authored
Update docs (#298)
* Rename reStructuredText files with *.rst suffix * Refresh with a modern sphinx-quickstart run * Move docs/source/changes.rst to CHANGES.rst * Use sphinx-issues for CHANGES.rst, make corrections * Move recent changes from README.md to CHANGES.rst * Add miscellaneous documentation for exceptions and finder module
1 parent afbc496 commit 5a9bb07

17 files changed

+91
-233
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ lib
1010
.coverage
1111
.tox
1212
wheelhouse
13+
.vscode/
14+
*venv*

Diff for: .pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ repos:
1717
rev: v1.5.1
1818
hooks:
1919
- id: mypy
20+
exclude: 'docs/.'

Diff for: docs/source/changes.txt renamed to CHANGES.rst

+38-17
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,59 @@
1-
.. _changes:
1+
1.1.0: 2023-10-17
2+
=================
3+
4+
- Python 3.8+ is now required (:PR:`273`)
5+
- Move project metadata to pyproject.toml (:PR:`269`)
6+
- Refactor built wheels for PyPI (:PR:`276`)
7+
- Fix memory leak when breaking mid-way in _get_objects and _get_ids (:PR:`266`) (thanks :user:`akariv`!)
28

3-
Changes
4-
..............................................................................
9+
1.0.1: 2022-10-12
10+
=================
11+
12+
- Fix up type hints :PR:`243` (thanks :user:`oderby`)
13+
- Python 3.11 wheels :PR:`250` (thanks :user:`ewouth`)
14+
15+
1.0.0: 2022-04-05
16+
=================
17+
18+
- Python 3.7+ is now required (:PR:`212`) (thanks :user:`adamjstewart`!)
19+
- Type hints (:PR:`215` and others) (thanks :user:`adamjstewart`!)
20+
- Python 3.10 wheels, including osx-arm64 :PR:`224`
21+
- Clean up libspatialindex C API mismatches :PR:`222` (thanks :user:`musicinmybrain`!)
22+
- Many doc updates, fixes, and type hints (thanks :user:`adamjstewart`!) :PR:`212` :PR:`221` :PR:`217` :PR:`215`
23+
- __len__ method for index :PR:`194`
24+
- Prevent get_coordinate_pointers from mutating inputs #205 (thanks :user:`sjones94549`!)
25+
- linux-aarch64 wheels :PR:`183` (thanks :user:`odidev`!)
26+
- black (:PR:`218`) and flake8 (:PR:`145`) linting
527

628
0.9.3: 2019-12-10
729
=================
830

9-
- find_library and libspatialindex library loading https://github.com/Toblerity/rtree/pull/131
31+
- find_library and libspatialindex library loading :PR:`131`
1032

1133
0.9.2: 2019-12-09
1234
=================
1335

14-
- Refactored tests to be based on unittest https://github.com/Toblerity/rtree/pull/129
15-
- Update libspatialindex library loading code to adapt previous behavior https://github.com/Toblerity/rtree/pull/128
16-
- Empty data streams throw exceptions and do not partially construct indexes https://github.com/Toblerity/rtree/pull/127
36+
- Refactored tests to be based on unittest :PR:`129`
37+
- Update libspatialindex library loading code to adapt previous behavior :PR:`128`
38+
- Empty data streams throw exceptions and do not partially construct indexes :PR:`127`
1739

1840
0.9.0: 2019-11-24
1941
=================
2042

2143
- Add Index.GetResultSetOffset()
22-
- Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) #116
23-
- Add Index.Flush() #107
24-
- Add TPRTree index support (thanks @sdhiscocks #117 )
25-
- Return container sizes without returning objects #90
26-
- Add set_result_limit and set_result_offset for Index paging 44ad21aecd3f7b49314b9be12f3334d8bae7e827
44+
- Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) :PR:`116`
45+
- Add Index.Flush() :PR:`107`
46+
- Add TPRTree index support (thanks :user:`sdhiscocks` :PR:`117`)
47+
- Return container sizes without returning objects :PR:`90`
48+
- Add set_result_limit and set_result_offset for Index paging :commit:`44ad21aecd3f7b49314b9be12f3334d8bae7e827`
2749

2850
Bug fixes:
2951

30-
- Better exceptions in cases where stream functions throw #80
52+
- Better exceptions in cases where stream functions throw :PR:`80`
3153
- Migrated CI platform to Azure Pipelines https://dev.azure.com/hobuinc/rtree/_build?definitionId=5
3254
- Minor test enhancements and fixups. Both libspatialindex 1.8.5 and libspatialindex 1.9.3 are tested with CI
3355

3456

35-
3657
0.8: 2014-07-17
3758
===============
3859

@@ -69,7 +90,7 @@ Bug fixes:
6990
- Many more docstrings, sphinx docs, etc
7091

7192

72-
0.5.0: 2009-08-XX
93+
0.5.0: 2009-08-06
7394
=================
7495

7596
0.5.0 was a complete refactoring to use libsidx - a C API for libspatialindex.
@@ -112,8 +133,8 @@ available as a result of this refactoring.
112133
- Reraise index query errors as Python exceptions.
113134
- Improved persistence.
114135

115-
0.2:
116-
==================
136+
0.2: 19 May 2007
137+
================
117138
- Link spatialindex system library.
118139

119140
0.1: 13 April 2007

Diff for: MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include *.md *.txt
1+
include *.md *.rst *.txt
22
include MANIFEST.in
33
recursive-include benchmarks *
44
recursive-include tests *

Diff for: README.md

+1-26
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,4 @@ Wheels are available for most major platforms, and `rtree` with bundled `libspat
2424
pip install rtree
2525
```
2626

27-
# Changes
28-
29-
## 1.1.0
30-
31-
* Python 3.8+ is now required (#273)
32-
* Move project metadata to pyproject.toml (#269)
33-
* Refactor built wheels for PyPI (#276)
34-
* Fix memory leak when breaking mid-way in `_get_objects` and `_get_ids` (#266) (thanks @akariv!)
35-
36-
## 1.0.1
37-
38-
* Fix up type hints #243 (thanks @oderby)
39-
* Python 3.11 wheels #250 (thanks @ewouth)
40-
41-
## 1.0.0
42-
43-
44-
* Python 3.7+ is now required (#212) (thanks @adamjstewart!)
45-
* Type hints (#215 and others) (thanks @adamjstewart!)
46-
* Python 3.10 wheels, including osx-arm64 #224
47-
* Clean up libspatialindex C API mismatches #222 (thanks @musicinmybrain!)
48-
* Many doc updates, fixes, and type hints (thanks @adamjstewart!) #212 #221 #217 #215
49-
* __len__ method for index #194
50-
* Prevent get_coordinate_pointers from mutating inputs #205 (thanks @sjones94549!)
51-
* linux-aarch64 wheels #183 (thanks @odidev!)
52-
* black (#218) and flake8 (#145) linting
27+
See [changes](https://rtree.readthedocs.io/en/latest/changes.html) for all versions.

Diff for: docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
sphinx>=4
2+
sphinx-issues

Diff for: docs/source/changes.rst

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. _changes:
2+
3+
Changes
4+
..............................................................................
5+
6+
.. include:: ../../CHANGES.rst
File renamed without changes.

0 commit comments

Comments
 (0)