1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Romain Porte a00284f744
Automatically open browser when Invoke task starts web server (#2764)
When the `serve` and `livereload` targets are invoked, a web browser will be
automatically opened, pointing to the locally-served website.

If no web browser can be found by the module, the `open()` call returns
`False`, but no exception is raised. This means that it is still possible
to call livereload on a remote machine and access it without any error
being triggered.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
2021-04-19 15:59:41 +02:00
..
plugins Stringify plugin definitions so they can be pickled during caching (#2835) 2021-01-04 17:13:32 +01:00
tests Update functional test output for Pygments 2.8 2021-02-18 15:33:30 +01:00
themes Strip HTML tags from notmyidea page template's title 2021-04-19 10:25:59 +02:00
tools Automatically open browser when Invoke task starts web server (#2764) 2021-04-19 15:59:41 +02:00
__init__.py ignore None return value from get_generators signal 2021-02-12 21:17:42 +03:00
__main__.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
cache.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
contents.py Try unescaped paths in intrasite link discovery 2020-10-19 20:43:11 +03:00
generators.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
log.py Force root logger to be of FatalLogger class 2020-06-05 01:50:00 +02:00
paginator.py Support last page pattern in PAGINATION_PATTERNS 2021-01-13 11:19:36 +01:00
readers.py Lowercase metadata field name when comparing with FORMATTED_FIELDS in rST reader 2020-07-30 14:59:53 -04:00
rstdirectives.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
server.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
settings.py Rename setting SUMMARY_END_MARKER → SUMMARY_END_SUFFIX (#2792) 2020-08-19 20:25:19 +02:00
signals.py restore pelican.signals with an explicit ImportError mentioning move 2020-10-12 14:53:18 +03:00
urlwrappers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
utils.py Merge pull request #2750 from avaris/autoreload 2020-05-10 07:29:27 +02:00
writers.py Fix Windows tests 2020-05-09 16:17:14 +03:00