Andrey Rakhmatullin
d8ba1571e7
Assorted docs fixes, part 2. ( #7725 )
...
* Assorted docs fixes, part 2.
* Second pass.
* Address feedback.
2026-07-14 00:49:44 +05:00
Andrey Rakhmatullin
bdf3067935
Assorted docs fixes, part 1. ( #7710 )
2026-07-07 18:39:34 +05:00
Omkar Kabde
5149e2c679
docs: switch `scrapy.Item` examples to dataclasses ( #7513 )
...
* docs: switch `scrapy.Item` examples to dataclasses
* make serializer doc generic
* use modern type hints
* docs/spiders: switch TestItem consumer snippets to attribute access
Since the TestItem migration to @dataclass, the existing
item["id"] = ... assignments would raise TypeError on copy-paste.
Switch to item.id = ... to match the new dataclass declaration.
The snippets sit under .. skip: next so docs-tests still pass either
way, but the change keeps the examples runnable for readers.
2026-06-08 12:40:28 +05:00
Andrey Rakhmatullin
7e881ce2d7
Release notes for 2.15.0 ( #7373 )
...
* Cover 2.15.0 in the release notes (up to 31bf7c3 ).
* Replace VERSION.
* Document unified download handler exceptions.
* Updates.
* Cover 2.15.0 in the release notes (up to 0c6ccf5 ).
* Cover 2.15.0 in the release notes (up to b68f267 ).
* Run linkcheck and fix issues.
* Cleanup unused link targets.
* Cleanup.
2026-04-09 16:56:30 +05:00
Adham 3llam
9381ad893d
Remove outdated version marker directives (< 2.8.0) from documentation ( #7198 )
2025-12-22 10:00:39 +01:00
Andrey Rakhmatullin
daa1a7d0b6
Remove the chdir fixture, re-enable fancy pytest asserts ( #6888 )
...
* Remove the chdir fixture.
* Re-enable fancy pytest asserts.
* Remove doc files from pytest ignores.
* Restore docs/_ext in test collection ignores.
* Skip a doctest that fails on Windows.
* Fix tests that were writing to the current dir.
2025-06-14 14:01:20 +05:00
pankaj1707k
03f32c018f
Update black version and fix minor typos and punctuations
2023-02-03 11:52:20 +05:30
pankaj1707k
cc9eb3fa79
Format python console blocks using blacken-docs
...
Prepend '.. code-block:: pycon' to make python console blocks detectable by blacken-docs
2023-02-01 20:37:39 +05:30
pankaj1707k
c1bbb299d7
Add and run pre-commit hook 'blacken-docs'
...
Change python code snippets to begin with '.. code-block:: python' to be recognized by the hook for formatting. All snippets under '::' (rst literal blocks) are ignored.
2023-02-01 16:30:57 +05:30
谭九鼎
3243aa2cd5
docs: fix typo
2021-10-14 10:18:26 +08:00
Adrián Chaves
4ee538e44b
Update unicode references from Python 2 times in the documentation ( #4703 )
2020-08-04 20:34:11 +02:00
Adrián Chaves
890b2138a6
Remove the u prefix from strings
2020-07-30 13:39:30 +02:00
Júlio César Batista
38496a00b7
Use the itemlaoders library ( #4516 )
2020-07-15 12:08:36 +02:00
Eugenio Lacuesta
5b88c522ac
Simplify dataclass example in item loader docs
2020-06-30 12:18:21 -03:00
Eugenio Lacuesta
73b6ce8cb5
Update docs about dataclass items and loaders
2020-06-22 14:13:37 -03:00
Eugenio Lacuesta
1335d9053e
Update docs/topics/loaders.rst
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-06-22 14:05:44 -03:00
Eugenio Lacuesta
3efea98e05
Docs: add note about dataclass items and loaders
2020-06-22 12:41:25 -03:00
Eugenio Lacuesta
ec98dabfab
Support for dataclass and attrs items ( #3881 )
2020-06-14 11:45:27 +02:00
Rohit Sharma
0cc0e51ca3
remove uneeded escape sequence
...
removed uneeded wscape sequences from method arguments in the docs
folder
2020-05-24 13:38:44 -07:00
Adrián Chaves
6aa0ba4553
Write release notes for Scrapy 2.0.0 ( #4329 )
2020-03-03 09:11:11 +01:00
Adrián Chaves
83b8046fdc
Do not indent doctests from the documentation unnecessarily
2019-12-05 13:52:31 +01:00
Mikhail Korobov
9b7452211a
Merge pull request #4099 from BurnzZ/itemloader-docs
...
update docs of scrapy.loader.ItemLoader.item
2019-12-03 13:14:45 +05:00
Eugenio Lacuesta
40b5cfc0a4
Item loaders: allow single-argument processors (unbound methods)
2019-11-22 20:47:22 -03:00
Andrey Rahmatullin
c911e80209
Merge pull request #4088 from ammarnajjar/4086-constructor-initializer-docs
...
docs: use __init__ method instead of constructor
2019-11-12 21:48:16 +05:00
elacuesta
7731814cc2
ItemLoader: improve handling of initial item ( #4036 )
2019-10-28 10:53:53 +01:00
Kevin Lloyd Bernal
84fe4011b0
update docs of scrapy.loader.ItemLoader.item
2019-10-23 20:39:53 +08:00
Ammar Najjar
d21e1034f0
docs: correct point,comma and plural replacements
...
Issue #4086
2019-10-22 13:29:38 +02:00
Ammar Najjar
da8cd9448d
docs: always surround __init__ with `` in docs
...
Issue #4086
2019-10-21 19:56:58 +02:00
Ammar Najjar
68a7d05ed8
docs: use __init__ method instead of constructor
...
Issue #4086
2019-10-21 15:42:24 +02:00
Adrián Chaves
75d6f56c8a
Switch from ` to `` where inline code formatting is desired
2019-03-01 16:56:58 +01:00
Mikhail Korobov
0ccead6681
DOC more Python 3 in examples
2018-09-12 17:57:27 +05:00
Konstantin Lopuhin
c4f096d3a5
Merge pull request #3224 from lucywang000/better-processors-doc
...
[MRG+1] Improve document about functions as processors
2018-04-26 09:36:39 +03:00
Lucy Wang
57b0e6b695
improve document about functions as processors
2018-04-19 13:35:46 +08:00
Aditya
9dd680d5c9
Use https for external links wherever possible in docs
2017-10-26 23:33:45 +05:30
nblock
a3557dd34d
Fix spelling mistake
2016-04-11 14:06:57 +02:00
smirecki
8379bea7ed
Typos corrections
...
I've made a few small corrections, some spelling changes and typo fixes.
I've tried to respect regional spelling differences and avoided proposing hyphenating compound words.
Please enter the commit message for your changes. Lines starting
2015-10-02 23:48:27 -04:00
Daniel Collins
036109e7de
updte nested loader documentation
2015-09-15 23:49:35 -07:00
Daniel Collins
88c92cb68b
provide documentation for nested loaders
2015-09-04 13:15:48 -07:00
Julia Medina
acc13c9821
Delete tab used as indentation in docs/topics/loaders.rst
2015-05-09 05:15:17 -03:00
Julia Medina
645cdcbf9e
Rename scrapy/loader/processor.py to scrapy/loader/processors.py
2015-04-29 21:27:19 -03:00
Julia Medina
b47228ada8
Move scrapy/contrib/loader to scrapy/loader
2015-04-29 21:24:30 -03:00
bagratte
beea9267a1
minor corrections in documentation.
2015-04-18 19:48:25 +04:00
Julia Medina
4fb818a250
Run linkfix over current docs
2015-03-18 20:04:14 -03:00
Sudhanshu Shekhar
839ffba971
Added the first version of SelectJmes
...
Utilizes jmespath. Also, added tests and documentation for the same.
2015-02-24 22:59:01 +05:30
HalfCrazy
b21a28cc9a
Afterwords->Afterwards
2014-11-10 06:28:09 +05:00
Rolando Espinoza
e441a01818
Updated input/ouput processor example according to #560 .
2014-07-16 09:04:48 -04:00
Mikhail Korobov
2d3803672b
DOC use top-level shortcuts in docs
2014-04-15 01:09:35 +06:00
Nikolaos-Digenis Karagiannis
8ac9d40665
ItemLoader doc: missing args in replace_value()
2014-03-09 15:16:57 +02:00
Alexey Bezhan
210a0a6fe1
Fix some typos, whitespace and small errors in docs
2014-02-27 18:02:22 +00:00
Alexey Bezhan
2e59d77580
Clarify MapCompose documentation
2014-02-27 17:56:14 +00:00