Commits

sirgazil committed 5bf5cea Draft

Corrected cross-references from usage section to Python objects

  • Participants
  • Parent commits 29bc2f0

Comments (0)

Files changed (1)

docs/source/usage.rst

 --------------------------------
 
 In the code example above, we just specified the foreground color for the
-text. You can use the same method, :py:meth:`Display.color()`, to add a
-background color. The following code will print a white text on a yellow
-background:
+text. You can use the same method, :py:meth:`colorin.cli.Display.color()`,
+to add a background color. The following code will print a white text on a
+yellow background:
 
 .. sourcecode:: python
 
 Bold text
 ---------
 
-There are two methods to print bold strings: :py:meth:`Display.color()` and
-:py:meth:`Display.bold()`. Use the former if you want to print a bold colored
-string, and the latter to print a bold string with your terminal's default
-foreground color:
+There are two methods to print bold strings:
+:py:meth:`colorin.cli.Display.color()` and
+:py:meth:`colorin.cli.Display.bold()`. Use the former if you want to print a
+bold colored string, and the latter to print a bold string with your
+terminal's default foreground color:
 
 .. sourcecode:: python