8000 Attempt again to fix RTFD. · Web5design/github3.py@fe00a03 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit fe00a03

Browse files
committed
Attempt again to fix RTFD.
1 parent ac26c26 commit fe00a03

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/examples/issue.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ browser focusing on the comment **you** just created.
4242
The following shows how you could use github3.py to fetch and display your
4343
issues in your own style and in your webbrowser.
4444

45-
.. include:: source/browser.py
46-
:code: python
45+
.. literalinclude:: source/browser.py
46+
:language: python
4747

4848
Or how to do the same by wrapping the lines in your terminal.
4949

50-
.. include:: source/wrap_text.py
51-
:code: python
50+
.. literalinclude:: source/wrap_text.py
51+
:language: python

docs/examples/logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Using Logging with github3.py
88
The following example shows how to set up logging for github3.py. It is off by
99
default in the library and will not pollute your logs.
1010

11-
.. include:: source/logging_ex.py
12-
:code: python
11+
.. literalinclude:: source/logging_ex.py
12+
:language: python
1313

1414
One thing to note is that if you want more detailed information about what is
1515
happening while the requests are sent, you can do the following:

docs/examples/octocat.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
A Conversation With Octocat
22
===========================
33

4-
.. include:: source/octocat_say.py
5-
:code: python
4+
.. literalinclude:: source/octocat_say.py
5+
:language: python
66

77
What you should see
88

0 commit comments

Comments
 (0)
0