Commit 38cff45
committed
Switch to Sphinx's InventoryFile when retrieving URLs
The interface to fetch_inventory changed around the 7-8 major version to
take a Sphinx config object. However, we're not working with a sphinx
site and just want it to load and parse an inventory file for us.
Luckily, the project ships the InventoryFile class which provides an
interface to do exactly this.1 parent 48b7fbf commit 38cff45
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments