1
0
Fork 0
forked from github/pelican
Commit graph

2,937 commits

Author SHA1 Message Date
Jorge Maldonado Ventura
d1d1cccdad Add hreflang attribute to default themes 2018-07-05 00:50:18 +02:00
Justin Mayer
b30270190a
Merge pull request #2359 from davidag/update-importer-doc
Add missing Wordpress options to importer doc
2018-07-04 18:30:50 +02:00
Justin Mayer
b4d5e4285e
Merge pull request #2285 from andreacorbellini/2263-handle-invalid-refs
Fix utils.truncate_html_words() to work with invalid HTML references
2018-07-04 18:28:17 +02:00
Justin Mayer
ec1914d3bd
Merge pull request #2371 from oulenz/draft_pages
Allow pages to have draft status, like articles
2018-07-04 18:20:57 +02:00
Justin Mayer
2577555737
Merge pull request #2370 from jorgesumle/themes
Support translation of lang attribute in default themes
2018-07-04 17:31:26 +02:00
Justin Mayer
0b8d5bdaaa
Merge pull request #2372 from jorgesumle/quickstart
Remove extra endif from Makefile template
2018-07-03 21:25:33 +02:00
Jorge Maldonado Ventura
63dfe70850 Import readline in pelican_quickstart.py if available (#2129) 2018-07-03 21:20:02 +02:00
Jorge Maldonado Ventura
ec15105c2f Remove extra endif from Makefile template 2018-07-03 20:57:12 +02:00
Oliver Urs Lenz
576229ad19 allows pages to have draft status, like articles 2018-07-03 12:53:46 +02:00
Jorge Maldonado Ventura
71af410285 Support translation of lang attribute in default themes 2018-07-02 23:42:03 +02:00
Justin Mayer
668663684c
Merge pull request #2351 from Lucas-C/rm_develop_server.sh
Remove develop_server.sh in favour of pelican serving static files itself - close #2176
2018-07-02 16:55:34 +02:00
Justin Mayer
29b93366cf
Merge pull request #2368 from jorgesumle/typo
Fix typo
2018-06-27 21:38:23 +02:00
Jorge Maldonado Ventura
bdeb84adb9 Fix typo 2018-06-27 20:40:52 +02:00
David Alfonso
e44c4aba36 Add missing wordpress options to importer doc 2018-06-22 22:36:43 +02:00
Johannes 'josch' Schauer
a5edbf8546 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.
2018-06-22 19:22:38 +02:00
Adrin Jalali
ee24ad1821 Elaborate the warning message when no files are processed by readers. (#2310)
Elaborate warning message when no files are processed by readers
2018-06-22 15:00:21 +02:00
Justin Mayer
20b39dc761 Fix code-in-bold-text rendering in Contribute docs 2018-06-21 17:40:58 +02:00
Oliver Urs Lenz
8ef9d11bc4 Clarify contribution guidelines 2018-06-21 17:30:18 +02:00
Justin Mayer
80f212cc60
Merge pull request #2352 from Shir0kamii/clean-simple-theme
Add enhancements to Simple theme
2018-06-19 21:17:17 +02:00
Alexandre Bonnetain
80027bc714 Clean simple theme 2018-06-19 19:07:20 +00:00
Justin Mayer
3656df50a5
Merge pull request #2327 from jorgesumle/setup
Update setup.py
2018-04-11 10:59:47 -07:00
Jorge Maldonado Ventura
544b35fba5 Update setup.py
- Add license metadata
- Add `Programming Language :: Python :: 3.7` classifier
- Use HTTPS in the website link
2018-04-11 19:14:47 +02:00
Justin Mayer
583c840579
Merge pull request #2269 from tonymet/feature/https-server
Support SSL with pelican.server by adding --ssl , --cert and --key options
2018-04-10 14:09:07 -07:00
Anthony Metzidis
12db9ba0e1 support ssl in pelican.server with --ssl, --cert & --key 2018-04-07 15:06:38 -07:00
Justin Mayer
5ca1cabe78
Merge pull request #2292 from oulenz/article_order
Remove hardcoded sorting of articles within categories, tags, authors, feeds
2018-04-06 12:08:29 -07:00
Justin Mayer
25045e8fb8
Merge pull request #2311 from gwax/warn_rst_no_document_title
Multiple reST headers yields "could not find information about 'date'"
2018-04-06 11:51:22 -07:00
Justin Mayer
5fed5d9118
Merge pull request #2317 from Siltaar/master
Allow develop_server.sh to work with paths containing spaces
2018-04-06 11:39:14 -07:00
Justin Mayer
5330453579
Merge pull request #2017 from JulienPalard/master
Explicitly disallow duplications of URL and save_as
2018-04-06 11:29:37 -07:00
Justin Mayer
5be4dab713
Merge pull request #2321 from gDelgado14/patch-1
List reserved metadata keywords
2018-04-06 11:25:04 -07:00
Justin Mayer
c16fdd997c
Merge pull request #1441 from eliben/server-try-stripping
Server script should try to rstrip '/' when serving pages
2018-04-05 08:23:15 -07:00
Eli Bendersky
16d5236e62 Try to rstrip '/' from the address in the server script when serving pages. 2018-04-05 05:50:50 -07:00
Giorgio
859e7af8c7
Add template, save_as and url to list 2018-04-02 20:45:27 -04:00
Giorgio
3f8af1ab76
List reserved metadata keywords
Addresses https://github.com/getpelican/pelican/issues/2279
2018-04-01 21:25:41 -04:00
Justin Mayer
04b0cfe50c
Merge pull request #2319 from NicolasLM/patch-1
Replace deprecated "PAGES" variable by "pages"
2018-03-29 12:34:59 -07:00
Nicolas Le Manchet
557e614083
Replace deprecated "PAGES" variable by "pages" 2018-03-29 21:28:16 +02:00
Siltaar
9e035ed727 fix ""DIR 2018-03-29 15:20:10 +02:00
Siltaar
e9c2409eab Allow develop_server.sh to work with paths containing spaces 2018-03-29 15:05:00 +02:00
George Leslie-Waksman
fb6d44712b Warn on missing rst document title. Fixes #2311. 2018-03-27 10:16:29 -07:00
Justin Mayer
81b7e7481f
Merge pull request #2238 from mosra/feed-urls
Feed URL settings, making feeds aware of absolute URLs
2018-03-23 13:36:51 +01:00
Justin Mayer
36f00b3afd
Merge pull request #2240 from mosra/atom-feed-subtitle
Make use of SITESUBTITLE setting also in Atom feeds
2018-03-23 13:34:37 +01:00
Justin Mayer
f761f95288
Merge pull request #2265 from bward/publish-docs-redundancy
Remove redundancy from publish docs. Fixes #2233.
2018-03-23 12:45:41 +01:00
Justin Mayer
d973a7d097
Merge pull request #2304 from peterdesmet/patch-1
Indicate that logging needs to be imported for LOG_FILTER
2018-03-23 12:22:28 +01:00
Oliver Urs Lenz
c160cb73cc remove hardcoded sorting of articles within categories, tags, authors, feeds 2018-03-18 12:21:56 +01:00
Justin Mayer
0a49609f82
Merge pull request #2302 from jorgesumle/link-fix
Fix broken links from documentation
2018-03-18 00:26:37 +01:00
Justin Mayer
8cb88e91ee
Merge pull request #2290 from benjaminabel/patch-1
Register function missing in docs
2018-03-18 00:25:29 +01:00
Justin Mayer
a51a487533
Merge pull request #2306 from avaris/static-follow-symlink
Fixes #2305: Follow symlinks while copying in static generator
2018-03-18 00:14:10 +01:00
Justin Mayer
9cf05fb2ae
Merge pull request #2256 from mosra/default-lang-to-docutils
Propagate value of DEFAULT_LANG to Docutils reST parser
2018-03-18 00:05:43 +01:00
Justin Mayer
97d79f1b56
Merge pull request #2267 from PeterDaveHelloKitchen/png-image-optimization
Optimize PNG images losslessly using Google zopflipng
2018-03-18 00:04:43 +01:00
Justin Mayer
a521bb6e87
Merge pull request #2278 from lqez/lqez-patch-1
No need to mention SimpleHTTPServer in quickstart script
2018-03-18 00:03:26 +01:00
Justin Mayer
aaac64618a
Merge pull request #2298 from manelclos/fix-2297
Don't fail on macOS: "unknown locale: UTF-8"
2018-03-18 00:00:12 +01:00