Vitalii Lysov
7c3225c479
when markdown is selected, 'wheel' pip seem to be required
...
following errors popped up without wheel:
Building wheels for collected packages: feedgenerator, blinker, MarkupSafe
Running setup.py bdist_wheel for feedgenerator ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dLBjLv/feedgenerator/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpy7Uxf9pip-wheel- --python-tag cp27:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for feedgenerator
Running setup.py clean for feedgenerator
Running setup.py bdist_wheel for blinker ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dLBjLv/blinker/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpCwjK2dpip-wheel- --python-tag cp27:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for blinker
Running setup.py clean for blinker
Running setup.py bdist_wheel for MarkupSafe ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dLBjLv/MarkupSafe/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpohyVw1pip-wheel- --python-tag cp27:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for MarkupSafe
Running setup.py clean for MarkupSafe
Failed to build feedgenerator blinker MarkupSafe
2018-10-21 15:54:59 +02:00
Justin Mayer
9e526a825e
Merge pull request #2384 from oulenz/pagination_per_template
...
Control pagination per template
2018-09-15 08:57:31 +02:00
Justin Mayer
8f68551454
Merge pull request #2397 from oulenz/pelican_server
...
Fix pelican.server __main__ code, add deprecation warning
2018-08-08 18:08:48 +02:00
Oliver Urs Lenz
8c433616bf
fix pelican.server __main__ code, add deprecation warning
2018-08-08 18:00:15 +02:00
Justin Mayer
e9b654bbaa
Merge pull request #2395 from oulenz/import_from_blogger
...
Add Blogger XML backup importer
2018-08-08 09:45:52 +02:00
Justin Mayer
6a717469d9
Merge pull request #2396 from oulenz/wrap_none
...
importer: don't wrap, because it breaks HTML attributes
2018-08-08 09:43:37 +02:00
Oliver Urs Lenz
f3e95cf473
importer: don't wrap, because it breaks html attributes
2018-08-07 17:16:23 +02:00
Oliver Urs Lenz
c388f14d3e
add blogger importer
2018-08-07 14:33:10 +02:00
Justin Mayer
f2c3136921
Merge pull request #2366 from davidag/pandoc2-import-support
...
Add pandoc2 support to pelican-import. Fix #2255
2018-08-04 11:26:32 +02:00
David Alfonso
150d1f05d0
Add pandoc2 support to pelican-import. Fix #2255
...
Specific options passed to pandoc2 in order to get similar results than
with pandoc1:
- Disable smart quotes from the markdown output.
- Enable raw parsing from html.
2018-08-03 19:44:50 +02:00
Justin Mayer
d2eb32c910
Remove *.in files from MANIFEST.in
...
There no longer appear to be any *.in files in this project, presumably
because we switched to Jinja2 templates instead. Refs #1155
2018-08-03 14:57:22 +02:00
Justin Mayer
998de87fba
Merge pull request #2393 from ryanfox/server_error_message
...
Clarify error message for deprecated dev server command
2018-08-03 09:42:52 +02:00
Ryan Fox
36d61438c1
clarify error message when running deprecated command for dev server. Fixes #2390
2018-08-02 20:59:19 -05:00
Justin Mayer
4f861245a6
Merge pull request #2392 from Bernardoow/gh-import-update-file-in-gh-page-branch
...
Document GitHub Pages import to gh-pages branch
2018-07-30 09:44:22 +02:00
Bernardo Gomes
31fd6c6da6
ghp-import ouput update the branch gh-pages
2018-07-29 19:26:03 -03:00
Oliver Urs Lenz
62128fb948
control pagination per template
2018-07-12 17:39:51 +02:00
Justin Mayer
76eebfe539
Merge pull request #2380 from oulenz/attachment_links
...
importer: update links to attachments if --wp-attach
2018-07-09 12:54:59 +02:00
Oliver Urs Lenz
a5571ba1d5
importer: update links to attachments if --wp-attach
2018-07-09 11:26:50 +02:00
Justin Mayer
a6600e2fca
Merge pull request #2378 from davidag/fix-makefile-template
...
Avoid escaping dollar signs in Makefile template
2018-07-09 10:42:58 +02:00
Kevin Deldycke
c04a4701b8
Replace Fabric by Invoke.
2018-07-08 21:33:10 +02:00
Justin Mayer
dc465d5c5f
Merge fix for broken symlink test on macOS
2018-07-08 21:29:17 +02:00
Thomas Fan
6e0ed07446
Resolve symlinks before comparison test
...
Fixes #2358
2018-07-08 21:27:42 +02:00
David Alfonso
7d18a4f3b8
Avoid escaping dollars in Makefile template
...
If dollars are escaped, the commands don't work as expected (i.e. doing
variable substitution).
2018-07-07 19:48:52 +02:00
Justin Mayer
9ac35ed47a
Merge pull request #2376 from strburst/simple_theme_categories_title
...
Tweaks to simple theme on listing pages
2018-07-06 21:45:14 +02:00
Justin Mayer
d84757fae5
Merge pull request #2377 from strburst/simple_no_authors
...
Show article category/tags even if no authors (in the simple theme)
2018-07-06 21:43:01 +02:00
Allen Zheng
a3d76a0fd8
Remove bad whitespace stripping in simple theme
...
This joins the contents of the block to the previous line, which messes
up the output formatting in this case.
Old vs new output:
- <ul> <li>...
+ <ul>
+ <li>...
This change is already in the 'notmyidea' theme.
2018-07-06 09:13:39 -04:00
Allen Zheng
bf16faf1e2
Add missing ul tag in tags list in simple theme
...
There are some li elements generated without a ul/ol around them.
Besides being malformed html, this results in there being no margin that
lists normally have.
2018-07-06 09:13:39 -04:00
Allen Zheng
10f70db9a6
Add h1 to the categories list in simple/notmyidea
...
The authors.html and tags.html templates both have this. Add it here as
well for consistency.
This also affects the notmyidea theme because it inherits the categories
template from simple.
While we're here, also make indentation consistent with other files (4
spaces within a block).
2018-07-06 09:13:39 -04:00
Allen Zheng
6ec5a984ad
Show article category/tags even if no authors
...
Before this commit, the behavior of the simple theme is to hide the
category and tags if there is no author defined, even if the
category/tags are present. This appears to be unintentional, due to a
misplaced `endif`.
Fix this by moving the endif to the right place, so that the other if
blocks aren't nested.
2018-07-05 15:34:49 -04: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