Skip to content

Commit 003f3f8

Browse files
committed
Fix documentation
1 parent ebc8c5e commit 003f3f8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/first_steps.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
First Steps
22
===========
33

4+
.. currentmodule:: cssselect2
5+
46

57
Installation
68
------------
@@ -30,9 +32,9 @@ Basic Example
3032
Here is a classical cssselect2 workflow:
3133

3234
- parse a CSS stylesheet using tinycss2_,
33-
- store the CSS rules in a :meth:`Matcher` object,
35+
- store the CSS rules in a :class:`Matcher` object,
3436
- parse an HTML document using an ElementTree-like parser,
35-
- wrap the HTML tree in a :meth:`ElementWrapper` object,
37+
- wrap the HTML tree in a :class:`ElementWrapper` object,
3638
- find the CSS rules matching each HTML tag, using the matcher and the wrapper.
3739

3840
.. literalinclude:: example.py

0 commit comments

Comments
 (0)