sirgazil avatar sirgazil committed 5bf5cea Draft

Corrected cross-references from usage section to Python objects

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
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.