Skip to content

Commit cb518cf

Browse files
author
Robert Nitsch
committed
Merge with 0.9
2 parents 763ecf5 + ed29876 commit cb518cf

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

docs/source/user.rst

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,13 @@ the global version to be used.
7373
Configuration
7474
-------------
7575

76-
There is a small configuration section in the script, starting at line 25::
76+
There is a small configuration section in the script (at the top):
7777

78-
# #############
79-
# CONFIGURATION
80-
81-
# configure your tracker abbreviations here
82-
TRACKER_ABBR = {'openbt': 'udp://tracker.openbittorrent.com:80/announce',
83-
'publicbt': 'udp://tracker.publicbt.com:80/announce'}
84-
85-
# whether or not py3createtorrent is allowed to advertise itself
86-
# through the torrents' comment fields
87-
ADVERTISE = True
88-
89-
# /CONFIGURATION
90-
# ##############
78+
.. literalinclude:: ../../src/py3createtorrent.py
79+
:start-after: # #############
80+
:end-before: # ##############
81+
:prepend: # #############
82+
:append: # ##############
9183

9284
Tracker abbreviations
9385
^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)