1
0
Fork 0
forked from github/pelican
Commit graph

3,162 commits

Author SHA1 Message Date
botpub
3f96cb8a4a Release Pelican 4.1.2 4.1.2 2019-09-23 18:21:15 +00:00
Justin Mayer
ce87857104
Merge pull request #2621 from Lucas-C/fix_module_import_caching_bug
Fix pelican.settings.load_source to avoid caching issues
2019-09-23 11:17:09 -07:00
Lucas Cimon
367245cc47
Fix pelican.settings.load_source to avoid caching issues 2019-09-23 20:06:41 +02:00
Justin Mayer
ac1e07a3cd
Merge pull request #2622 from Lucas-C/patch-1
Clarify Python 3.5+ requirement in QuickStart docs
2019-09-23 10:41:29 -07:00
Lucas Cimon
589a31ddd0
Pushing Python compatibility to Python 3.5+ 2019-09-23 19:38:18 +02:00
Justin Mayer
7f4e614bb8 Fix formatting, etc in Settings documentation 2019-09-21 10:57:35 -06:00
Justin Mayer
60e80ad634
Merge pull request #2612 from jorgesumle/documentation-fix
[Documentation] Add comma after 'for instance'
2019-08-26 13:18:23 +02:00
Jorge Maldonado Ventura
41fbf3adb2 [Documentation] Add comma after 'for instance' 2019-08-26 00:35:53 +02:00
botpub
e44aa294b0 Release Pelican 4.1.1 4.1.1 2019-08-23 17:06:52 +00:00
Justin Mayer
f6ef027014 Tidy and shorten a comment 2019-08-23 19:02:48 +02:00
Justin Mayer
9db42658e5 Prevent Travis IRC spam from forks
See: https://github.com/travis-ci/travis-ci/issues/5063
2019-08-23 17:02:47 +02:00
Justin Mayer
8353cea6b6 Add changelog entries to prepare for release 2019-08-21 14:38:17 +02:00
Justin Mayer
f1430472b8 Configure AutoPub for Pelican changelog path & format 2019-08-21 14:31:51 +02:00
Justin Mayer
00159b7999
Merge pull request #2600 from Lucas-C/allow_argv_passing
Allowing to pass `argv` to pelican `main` entrypoint
2019-08-21 14:25:06 +02:00
Justin Mayer
99ea502102
Merge pull request #2610 from MinchinWeb/default-status
Set default content status to blank string instead of `None`
2019-08-21 14:16:32 +02:00
MinchinWeb
b2da535fec Set default content status to a blank string rather than None.
Fixes
#2558.
Fixes issues encountered by comment plugins among others

c.f. [1](https://github.com/bstpierre/pelican-comments/pull/4),
[2](https://github.com/Scheirle/pelican_comment_system/issues/8),
[3](https://github.com/Scheirle/pelican_comment_system/pull/7)
2019-08-20 19:39:14 -06:00
Justin Mayer
7c2a7478d7 Consolidate duplicate Travis env definitions 2019-08-02 14:53:51 +02:00
Lucas Cimon
360ff420d3
Allowing to pass argv to pelican main entrypoint 2019-08-01 13:53:56 +02:00
Justin Mayer
67b5ca5e1c
Merge pull request #2598 from getpelican/autopub
Add AutoPub to auto-publish releases on PR merge
2019-07-30 20:05:41 +02:00
Justin Mayer
06dee4de58 Add AutoPub to auto-publish releases on PR merge
Contributors will henceforth be asked to include a `RELEASE.md` file
containing the release type and summary of changes, which will be used
by the continuous integration (CI) system to automatically publish a new
release to PyPI when the pull request is merged.

For more details, see: https://github.com/autopub/autopub
2019-07-28 18:34:33 +02:00
Justin Mayer
a7e58ac3a3 Keep building packages via setuptools for now
While it may make sense to switch to an alternate build system (such as
Poetry) at some point, at this early stage it seems prudent to designate
setuptools as the build system in pyproject.toml until the more modern
build system tooling matures.
2019-07-28 07:09:40 +02:00
Justin Mayer
daee3c2336 Add Stale bot 2019-07-23 18:44:55 +02:00
Justin Mayer
021f15256a Add CSS classes for reStructuredText figures
Fixes #2113
2019-07-23 16:37:09 +02:00
Justin Mayer
f61bd2ceba Update changelog for Pelican 4.1.0 4.1.0 2019-07-14 17:32:12 +02:00
Justin Mayer
d9e58f3096 Increment version in preparation for imminent release 2019-07-14 17:21:54 +02:00
Justin Mayer
5bb4bab718 Add pyproject.toml to MANIFEST.in 2019-07-14 17:09:11 +02:00
Justin Mayer
3aacc114fd Add Pelican entry point to pyproject.toml
Otherwise, the `pelican` CLI command may not be available when installing
via Poetry.
2019-07-14 17:05:40 +02:00
Justin Mayer
a52c67d42c Revert setup.py portion of "version-in-one-place"
Defining the version string in a single place is a nice goal to have,
but since we are currently straddling the fence as it relates to
setuptools and pyproject.toml, mingling them together results in some
unexpected behavior and is thus not advisable. We can revisit this if
and when we make a full switch away from setuptools.
2019-07-14 16:55:32 +02:00
Justin Mayer
f7e0f7bbe0
Merge pull request #2590 from justinmayer/version_in_one_place
Consolidate version strings in pyproject.toml
2019-07-05 12:10:42 +02:00
Justin Mayer
54911fff39 Consolidate version strings in pyproject.toml
Storing the current version in a single place greatly simplifies
issuing new package releases.
2019-07-05 08:08:08 +02:00
Justin Mayer
7c63cb5231
Merge pull request #2589 from oulenz/test_server
Replace `os.mknod` with `open` for macOS and Windows compatibility
2019-07-03 23:36:39 +02:00
Oliver Urs Lenz
c988d6aaa2 replace os.mknod with open for macos and windows compatibility 2019-07-03 22:55:44 +02:00
Justin Mayer
7b123d8e6c
Merge pull request #2586 from justinmayer/pyproject
Add pyproject.toml and poetry.lock to project
2019-07-03 19:59:04 +02:00
Justin Mayer
b5c7e6fbe8 Make Markdown an optional dependency in pyproject
Refs #2585
2019-07-03 19:48:58 +02:00
Justin Mayer
216eec50fc Add pyproject.toml and poetry.lock to project
This could facilitate publishing new versions of Pelican as well as make
it easier for Poetry users to install Pelican via: `poetry install`

Closes #2450
2019-06-28 17:44:42 +02:00
Justin Mayer
80540281bc Add Python 3.5 env back to Travis tests. Refs #2571
Previous change resulted in Python 3.5 missing from the test
environment, as well as a duplicate Python 3.6 test run.
2019-06-24 20:21:19 +02:00
Justin Mayer
9154d8f42e
Merge pull request #2584 from justinmayer/reload
Enhance Invoke livereload task
2019-06-24 14:13:17 +02:00
Justin Mayer
a4cecd2d0c Add theme templates, CSS, JS to Invoke livereload task 2019-06-20 08:30:04 +02:00
Justin Mayer
cf2275c3be Add settings file to Invoke livereload watch list 2019-06-20 08:18:00 +02:00
Justin Mayer
c8b0b52d4e Use port settings in Invoke livereload task
Instead of using LiveReload's default port 5500, use the existing `port`
value from the task's CONFIG dictionary, which defaults to 8000.
2019-06-20 08:12:14 +02:00
Justin Mayer
ae7af1d696 Remove redundant vars in Invoke livereload task 2019-06-20 08:08:48 +02:00
Justin Mayer
8b4c46d74b Invoke serve task docstring: port is configurable 2019-06-20 07:49:48 +02:00
Justin Mayer
4b5610175f Invoke: Make settings file name handling more DRY
Instead of repeating hard-coded 'pelicanconf.py' values throughout
Invoke's task.py template, assign default settings file names to
variables, and use those variables where applicable.
2019-06-19 16:11:16 +02:00
Justin Mayer
5525a9021e Use OUTPUT_PATH setting in Invoke tasks.py template
The default setting for OUTPUT_PATH is already 'output', so it would be
more DRY to use the existing default value instead of a hardcoded
'output' string.
2019-06-19 15:45:32 +02:00
Justin Mayer
c61665b85d
Merge pull request #2526 from johnfraney/livereload
Add livereload invoke task. Fixes #1326
2019-06-19 09:49:24 +02:00
Justin Mayer
86777b9ce8
Merge pull request #2571 from johnfraney/tox-python-versions
Update CI config and fix failing CI envs
2019-06-19 09:40:07 +02:00
John Franey
ca012bd288 Update livereload Invoke task and add docs
Removes the `livereload` dependency from `setup.py`.

Updates the `invoke livereload` task by moving the `livereload` import
into the task function since it is now an optional dependency.

Updates the Invoke section of the documentaion with instructions on
using the `livereload` Invoke task.
2019-06-18 22:59:34 -04:00
John Franey
28383a6355 Add livereload invoke task. Fixes #1326
Adds a `livereload` invoke task that builds the project and reloads the
browser window when content files are updated.

Usage:

```console
$ invoke livereload
[I 190202 16:28:30 server:298] Serving on http://127.0.0.1:5500
[I 190202 16:28:30 handlers:59] Start watching changes
[I 190202 16:28:30 handlers:61] Start detecting changes
[I 190202 16:28:32 handlers:132] Browser Connected: http://127.0.0.1:5500/
```

See: https://livereload.readthedocs.io/en/latest/
2019-06-18 22:49:09 -04:00
John Franey
9e07234bae Update Tox config and fix failing CI envs
Updates base Python version for Travis CI from 2.7 to 3.6 and fixes a
linting error.
2019-06-18 22:44:46 -04:00
Justin Mayer
2e82a53cdf Document automatic titles from content file names
Closes #2107
2019-06-17 17:40:52 +02:00