Commit graph

3,444 commits

Author SHA1 Message Date
(GalaxyMaster)
7f8726929b Added an additional assert as requested 2020-04-12 05:18:29 +10:00
(GalaxyMaster)
56c2abe613 Added a test for the emd marker 2020-04-11 17:30:50 +10:00
(GalaxyMaster)
4833a27243 Provided the settings documentation snippet 2020-04-11 15:42:18 +10:00
(GalaxyMaster)
e412657581 Added support for the summary end marker configuration 2020-04-11 15:35:26 +10:00
Justin Mayer
a9a651ce4d
Merge pull request #2706 from nikolausschueler/makefix
Handle case of missing port in target "serve-global"
2020-03-25 09:03:00 +01:00
Justin Mayer
6b6ef5f18f
Merge pull request #2705 from nikolausschueler/encodingfix
Make encoding a named parameter
2020-03-25 09:00:52 +01:00
Nik
ab5e78db2a Handle case of missing port in target "serve-global"
Also factor out the check for the SERVER variable to avoid nested
ifdefs.

Fixes #2696
2020-03-14 08:47:57 +01:00
Nik
bae37a7ae4 Make encoding a named parameter
Without the name, the parameters are used in sequence and the "encoding"
param is used in place of the "buffering" param, which leads to
problems.
2020-03-13 15:47:48 +01:00
Carlos Pereira Atencio
f2dbfbfcec
Docs: Add info about pelican-quickstart command path flag. (#2675) 2020-02-26 19:54:05 +01:00
luz.paz
652ec971d4 Add Repology badge to README
Closes #2633
2020-02-20 07:55:20 -05:00
LouisJackman
bd1ab74031 Add a devserver-global task for non-local dev testing
The devserver target recently acquired a sane default of restricting
access only to localhost. This is good for security. However, it can
frustrate some usages like testing on phones on a local network or
hosting the dev server within VMs (e.g. Docker for Mac) which see host
OS browsers as not being 127.0.0.1.

Add a new target called `devserver-global` for this case. As it's longer
to type, the more svelte `devserver` will retain the more secure
defaults that will suffice for most users; they can use the
longer-to-type `devserver-global` target to relax the localhost-only
restriction.
2020-01-23 21:29:13 +00:00
Justin Mayer
cf96c113e1
Improve UI when pelican --listen web server is quit (#2684)
Improve UI when `pelican --listen` web server is quit
2020-01-20 08:09:39 +01:00
Justin Mayer
fa71931503 Exit web server gracefully when user taps CTRL-C
Users were previously met with an ugly traceback. Now `pelican --listen`
invocations, when quit via CTRL-C, are followed instead by a more
user-friendly message.
2020-01-19 09:07:02 +01:00
Justin Mayer
569f8a080e Tell users they can use CTRL-C to stop web server
This knowledge was heretofore assumed but is better made explicit.
2020-01-19 09:07:02 +01:00
Justin Mayer
70c8d2a474 Docs: Ensure plugin developers create new branch 2019-12-28 10:20:19 +01:00
Justin Mayer
b8f2326fa6 Document mirroring content & output path hierarchies 2019-12-28 10:02:48 +01:00
Justin Mayer
d7795b8afd Move Python datetime note further down Settings docs 2019-12-28 09:57:41 +01:00
Justin Mayer
d2c857883f Update Python documentation links to Python 3 2019-12-28 09:52:33 +01:00
Justin Mayer
6a9aa1dca8 Remove duplicate datetime URL in Settings docs 2019-12-28 09:48:07 +01:00
Hong Xu
b149a23507 Add cross links between theme settings and pelican-themes 2019-12-25 18:29:45 +08:00
Kurt McKee
3f1d4edea3 Fix a typo in the pagination settings docs 2019-12-05 13:37:41 -06:00
Justin Mayer
48f6275134
Merge pull request #2644 from avaris/namespace
Namespace plugin implementation
2019-12-01 09:36:57 -08:00
Deniz Turgut
8a56e1f1fa Update namespace docs to address review 2019-12-01 20:29:42 +03:00
Deniz Turgut
87a5c82197 Documentation update for namespace plugins 2019-12-01 19:29:41 +03:00
Deniz Turgut
ed1eca160e Remove py2-isms and avoid sys.path hacks 2019-12-01 18:33:11 +03:00
Deniz Turgut
58edad6897 remove pelican.signals in favor of pelican.plugins.signals 2019-12-01 18:14:13 +03:00
Deniz Turgut
a2053c34c3 Namespace plugin implementation
* Creates pelican.plugins
* Moves plugin related code under pelican.plugins
  * pelican.plugins.signals is now the location for signals, pelican.signals is kept
    for backwards compatibility
  * pelican.plugins._utils contains necessary bits for plugin discovery and loading.
    Logic from Pelican class is moved here. Pelican class now just asks for plugins
    and registers them
* Contains tests for old and new plugin loading
2019-12-01 17:55:19 +03:00
Justin Mayer
772005f431
Merge pull request #2649 from iKevinY/py2-sunset
Remove Python 2 support
2019-11-26 14:03:13 -08:00
Deniz Turgut
16968834ce Convert super() calls to py3 style 2019-11-26 06:17:04 +09:00
Deniz Turgut
3cc430b418 Update docutils and remove docutils workaround 2019-11-26 06:17:04 +09:00
Deniz Turgut
49bc6ed47f Further remove python2-isms 2019-11-26 06:17:04 +09:00
Kevin Yap
1e0e541b57 Initial pass of removing Python 2 support
This commit removes Six as a dependency for Pelican, replacing the
relevant aliases with the proper Python 3 imports. It also removes
references to Python 2 logic that did not require Six.
2019-11-26 06:16:41 +09:00
Justin Mayer
bae6de5d26 Remove pytest-emoji from dev dependencies 2019-11-16 07:37:01 -08:00
Justin Mayer
993c214d94
Merge pull request #2642 from getpelican/Lucas-C-patch-1
Extend stale bot issue closure window
2019-11-14 06:44:08 -08:00
Justin Mayer
4821ad3ce7 Remove Bumpr 2019-11-13 06:48:09 -08:00
Justin Mayer
74815af6e2 Minor CONTRIBUTING fixes 2019-11-12 14:20:50 -08:00
Justin Mayer
4dc30dabab Update hub pull-request docs in CONTRIBUTING 2019-11-12 14:13:43 -08:00
Justin Mayer
2e9833986d
Merge pull request #2651 from getpelican/drop_py2_docs
Remove Python 2.x references from docs
2019-11-12 13:25:40 -08:00
Justin Mayer
535df9cd9c Add Invoke tasks for building and serving docs 2019-11-12 08:36:22 -08:00
Justin Mayer
f18429f23a Add Pytest as development dependency 2019-11-12 07:45:36 -08:00
Justin Mayer
b7368f919f Add Invoke task for updating functional test output 2019-11-12 07:40:05 -08:00
Justin Mayer
703c281089 Add missing colon in Contribute docs 2019-11-12 07:28:55 -08:00
Justin Mayer
c0df11ecb8 Remove Coveralls from Tox configuration 2019-11-11 13:53:14 -08:00
Justin Mayer
dad376e0db Switch Tox test runner from Nose to Pytest 2019-11-11 13:51:25 -08:00
Justin Mayer
2d232d15aa Switch invoke tests test runner to Pytest 2019-11-10 20:10:59 -08:00
Justin Mayer
e713407f89 Add Pytest filterwarnings config section
Fixes #2650
2019-11-10 20:08:47 -08:00
Justin Mayer
68c9ef76b2 Update CONTRIBUTING docs for Python 2.x removal
This also updates the Contributing documentation with information on new
development tooling.
2019-11-09 09:43:55 -08:00
Justin Mayer
04a602e381 Add Invoke as dependency in pyproject 2019-11-09 08:40:26 -08:00
Justin Mayer
272778bc67 Add initial EditorConfig configuration 2019-11-09 08:37:54 -08:00
Justin Mayer
d859f93c7b Add initial Pre-commit configuration file 2019-11-09 08:37:11 -08:00