Skip to content

Commit 47ce1ae

Browse files
committed
doc update and setup for pypi
Add documentation for custom filenames. Update setup.py for new pypi readme parsing. Update version and changes for new release.
1 parent 610475c commit 47ce1ae

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGES.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
The full list of changes between each Python LiveReload release.
55

6+
Version 2.6.3
7+
-------------
8+
9+
Released on August 22, 2020
10+
11+
1. Support for custom default filenames.
12+
13+
614
Version 2.6.2
715
-------------
816

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ and a livereload server::
135135
# open the web browser on startup, based on $BROWSER environment variable
136136
server.serve(open_url_delay=5, debug=False)
137137

138+
# set a custom default file to open
139+
server.serve(default_filename='example.html')
140+
138141

139142
shell
140143
~~~~~

livereload/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:license: BSD, see LICENSE for more details.
99
"""
1010

11-
__version__ = '2.6.2'
11+
__version__ = '2.6.3'
1212
__author__ = 'Hsiaoming Yang <me@lepture.com>'
1313
__homepage__ = 'https://github.com/lepture/python-livereload'
1414

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def version():
2525
url='https://github.com/lepture/python-livereload',
2626
packages=['livereload', 'livereload.management.commands'],
2727
description='Python LiveReload is an awesome tool for web developers',
28+
long_description_content_type='text/x-rst',
2829
long_description=fread('README.rst'),
2930
entry_points={
3031
'console_scripts': [

0 commit comments

Comments
 (0)