forked from scrapy/itemloaders
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
98 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from docutils import nodes | ||
from docutils.parsers.rst.roles import set_classes | ||
|
||
|
||
def setup(app): | ||
app.add_role('gh', github_role) | ||
|
||
|
||
def github_role(name, rawtext, text, lineno, inliner, options={}, content=[]): | ||
if text.isdigit(): | ||
display_text = f'#{text}' | ||
url = f'https://github.com/scrapy/itemloaders/issues/{text}' | ||
else: | ||
short_commit = text[:7] | ||
display_text = short_commit | ||
url = f'https://github.com/scrapy/itemloaders/commit/{short_commit}' | ||
|
||
set_classes(options) | ||
node = nodes.reference(rawtext, display_text, refuri=url, **options) | ||
return [node], [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,3 +101,4 @@ Contents | |
extending-loaders | ||
built-in-processors | ||
api-reference | ||
release-notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.. currentmodule:: itemloaders | ||
|
||
.. _release-notes: | ||
|
||
Release notes | ||
============= | ||
|
||
.. _release-1.0.3: | ||
|
||
itemloaders 1.0.3 (2020-09-09) | ||
------------------------------ | ||
|
||
- Calls to :meth:`ItemLoader.get_output_value` no longer affect the output of | ||
:meth:`ItemLoader.load_item` (:gh:`21`, :gh:`22`) | ||
|
||
- Fixed some documentation links (:gh:`19`, :gh:`23`) | ||
|
||
- Fixed some test warnings (:gh:`24`) | ||
|
||
|
||
.. _release-1.0.2: | ||
|
||
itemloaders 1.0.2 (2020-08-05) | ||
------------------------------ | ||
|
||
- Included the license file in the source releases (:gh:`13`) | ||
|
||
- Cleaned up some remnants of Python 2 (:gh:`16`, :gh:`17`) | ||
|
||
|
||
.. _release-1.0.1: | ||
|
||
itemloaders 1.0.1 (2020-07-02) | ||
------------------------------ | ||
|
||
- Extended item type support to all item types supported by itemadapter_ | ||
(:gh:`13`) | ||
|
||
- :ref:`Input and output processors <declaring-loaders>` defined in item | ||
field metadata are now taken into account (:gh:`13`) | ||
|
||
- Lowered some minimum dependency versions (:gh:`10`): | ||
|
||
- :doc:`parsel <parsel:index>`: 1.5.2 → 1.5.0 | ||
|
||
- :doc:`w3lib <w3lib:index>`: 1.21.0 → 1.17.0 | ||
|
||
- Improved the README file (:gh:`9`) | ||
|
||
- Improved continuous integration (:gh:`e62d95b`) | ||
|
||
|
||
.. _release-1.0.0: | ||
|
||
itemloaders 1.0.0 (2020-05-18) | ||
------------------------------ | ||
|
||
Initial release, based on a part of the :doc:`Scrapy <scrapy:index>` code base. | ||
|
||
|
||
.. _itemadapter: https://github.com/scrapy/itemadapter#itemadapter |