pelican/docs
Johannes 'josch' Schauer 5d96fdd8b4 Remove develop_server.sh in favour of pelican serving static files itself
Competing static site generators integrate the functionality of regenerating
content and serving it into their main executable. In pelican this
functionality used to be in an external script `develop_server.sh` which
resides in the blog base directory. This has the disadvantage that changes in
pelican can break the `develop_server.sh` scripts which will not automatically
be upgraded together with pelican by package managers. Thus, pelican should
integrate this functionality into its main executable.

To this end, this commit removes `develop_server.sh` and adds three command
line options to the pelican executable:

 * `-l/--listen` starts the HTTP server (`-s/--serve` was already taken)
 * `-p/--port` specifies the port to listen at
 * `-b/--bind` specifies the IP to bind to

`--listen` and `--autoreload` can be used together to achieve the same
effect that other static site generators offer: Serve files via HTTP
while at the same time auto-generating the content.

Since the `develop_server.sh` script was removed, pelican-quickstart looses the
`develop` option.

Since the `develop_server.sh` script was removed, the Makefile looses the
`stopserver` target and the `devserver` target is replaced by running `pelican
-l` in the foreground.

Since pelican now offers the `--listen` option, the fabfile uses that instead
of starting the socketserver itself.
2017-07-31 01:08:11 +02:00
..
_static Really fix #1311 by declaring CSS overrides as !important 2014-04-28 22:08:34 +02:00
changelog.rst Add new signal: feed_generated 2017-01-16 11:33:13 +01:00
conf.py Fix copyright year to date of first publication 2017-07-19 13:29:04 -07:00
content.rst doc: updates MARKDOWN 2016-11-02 21:11:42 +01:00
contribute.rst Implement review feedback 2017-02-28 07:39:47 +01:00
faq.rst Remove spurious whitespace in documentation source 2016-12-03 14:53:26 -08:00
importer.rst Correct Dotclear sample file link in importer docs 2015-02-18 09:41:27 -08:00
index.rst Enhance feedback and contributing guidelines 2014-06-30 18:34:18 -07:00
install.rst Remove develop_server.sh in favour of pelican serving static files itself 2017-07-31 01:08:11 +02:00
internals.rst Avoid Markdown 2.6 deprecations; make MD_EXTENSIONS a dict 2015-11-30 18:12:28 +01:00
Makefile Add the docs 2010-10-13 23:08:08 +01:00
pelican-themes.rst Fix spelling mistakes in docs 2015-05-24 13:08:23 +01:00
plugins.rst Add new signal: feed_generated 2017-01-16 11:33:13 +01:00
publish.rst Remove develop_server.sh in favour of pelican serving static files itself 2017-07-31 01:08:11 +02:00
quickstart.rst Remove develop_server.sh in favour of pelican serving static files itself 2017-07-31 01:08:11 +02:00
report.rst Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
settings.rst Remove develop_server.sh in favour of pelican serving static files itself 2017-07-31 01:08:11 +02:00
themes.rst remove PAGES; use pages instead 2015-06-27 19:11:55 +02:00
tips.rst Use better headers in tips docs 2017-01-14 13:51:10 +01:00