Justin Mayer
fa1d4d937c
Merge pull request #2130 from ingwinlu/more_py36_regex_warnings
...
Fix more Python 3.6 regex warnings
2017-05-31 09:10:22 -07:00
Justin Mayer
1d556c78b6
Merge pull request #2149 from ingwinlu/fixup_ec5c77b25145f7c20fee24c6b85b478295dbc956
...
Fix forgotten PAGES -> pages in default theme
2017-05-23 12:58:59 -07:00
derwinlu
c68958e6b8
Fixup ec5c77b251
...
fix forgotten PAGES -> pages
2017-05-05 16:02:48 +02:00
Justin Mayer
c2b2def1c8
Merge pull request #2115 from jvoisin/_update_content_regexp_simplification
...
Improve the regexp used in _update_content
2017-04-20 12:18:11 -07:00
Justin Mayer
5f1d5c4b88
Merge pull request #2136 from jorgesumle/setup
...
Add Python 3.6 classifier to setup.py
2017-04-16 12:38:09 -07:00
Jorge Maldonado Ventura
77faffa6f7
Add Python 3.6 classifier to setup.py
2017-04-16 13:46:04 +02:00
jvoisin
ad38d602c7
Improve the regexp used in _update_content
...
a html tag always starts with <[a-z], < [a-z] is invalid
a space can be found after the = in href='bleh'
This function is taking 10% of the compilation time, with caching enabled,
maybe it's worth optimising the regexp a bit more, I don't know.
2017-03-31 11:39:05 +02:00
derwinlu
f49037e0ca
Fixup 89b28fd
...
We need to mark the whole doctest string as raw as it contains
regular expressions.
2017-03-29 10:46:51 +02:00
derwinlu
623eb0a4c0
Fix more python 3.6 regex DeprecationWarning's
2017-03-29 10:19:47 +02:00
Justin Mayer
cfcf40f1f8
Merge pull request #2127 from ingwinlu/fix_py36_warnings
...
Fix warnings originating from bad regexes
2017-03-27 13:04:26 -07:00
derwinlu
89b28fd36b
Fix warnings originating from bad regexes
...
Starting with python 3.6 warnings are issued for invalid escape
sequences in regular expressions. This commit corrects all
DeprecationWarning's via properly declaring the offending
regular expressions as raw strings.
Resolves #2095 .
2017-03-27 16:09:08 +02:00
Justin Mayer
fb07f4d513
Merge pull request #2117 from timwienk/fix-none-filename-metadata
...
Optional items in FILENAME_METADATA expression.
2017-03-20 15:40:35 -07:00
Justin Mayer
30df8e3558
Merge pull request #2085 from Scheirle/feed_signal
...
Add new signal: feed_generated
2017-03-19 15:04:07 -04:00
Tim Wienk
4917b8618a
Fix setting None metadata from FILENAME_METADATA matches.
...
This is relevant when using optional items in the expression. E.g. if an
optional captured group is not matched, the result of
`match.groupdict()` contains the captured group with value `None`.
2017-03-15 17:07:31 +01:00
Justin Mayer
753da77e08
Merge pull request #2118 from fxfitz/switch_to_awscli
...
Use awscli instead of s3cmd for S3 in Makefile
2017-03-14 18:20:25 -07:00
fxfitz
b65a790b50
Switch over to use awscli
2017-03-13 17:59:43 -05:00
Justin Mayer
ee643d47d7
Merge pull request #2099 from horazont/feature/stop-save_as-from-breaking-out-of-output
...
Try to prevent writing outside of the output directory
2017-02-28 11:17:44 -08:00
Justin Mayer
f4bce91837
Merge pull request #2086 from Sjord/better-headers-in-tips-doc
...
Use better headers in tips docs
2017-02-28 11:15:49 -08:00
Justin Mayer
5569338fbd
Merge pull request #2094 from ingwinlu/add_test_unknown_file
...
Add Python 3.6 test environment
2017-02-28 11:04:07 -08:00
derwinlu
490e3646ba
Implement review feedback
...
* improve wording on testing with fox (contribute.rst)
* fix whitespace (.travis.xml)
2017-02-28 07:39:47 +01:00
Jonas Wielicki
018f4468cc
Check safety of save_as earlier if possible
...
The check in the writer still serves as a safety net.
2017-02-27 21:49:17 +01:00
Jonas Wielicki
4006554a49
Prevent to write outside the output directory
...
This is crude and simply raises RuntimeError. We would generally
want to have earlier checks which log a warning and do not call
write at all.
2017-02-02 20:40:51 +01:00
derwinlu
22208a9471
Add test checking url replcmnt of unkn. file
...
There was no test case checking the behaviour of what happens when
trying to {filename} an unknown file.
Also changed the braces to `'` chars that we use elseware.
2017-01-24 09:12:16 +01:00
derwinlu
dcb6882fbc
Update tox to 2.5.0
2017-01-24 09:12:16 +01:00
derwinlu
5a19887a22
Correct new flake8 warnings
2017-01-24 09:12:16 +01:00
derwinlu
a982e0c4f4
Add py36 to travis builds
2017-01-24 09:12:16 +01:00
derwinlu
9cca567bed
Add python3.6 test environment
...
* Add py36 environment to tox
* Unify dependencies across manual installation and tox
* Mention tox in the docs
2017-01-23 23:50:51 +01:00
Bernhard Scheirle
927d9c7ea5
Add new signal: feed_generated
...
This signal gets emitted before a feed gets written to disk.
Therefore it allows plugins to do arbitrary changes to the feed.
2017-01-16 11:33:13 +01:00
Sjoerd
d61e2ccd6b
Use better headers in tips docs
...
Instead of "Tip 1", "Tip 2" under "Extra tips", use headers describing
the content.
Also, remove the "hint" pointer as it is not really a hint and the
document consists of tips anyway.
2017-01-14 13:51:10 +01:00
Justin Mayer
25732f7be6
Prepare version 3.7.2.dev0 for next development cycle
2017-01-10 13:51:37 -08:00
Justin Mayer
ce38e318bd
Bump version 3.7.1
3.7.1
2017-01-10 13:34:09 -08:00
Justin Mayer
f4baa43040
Merge pull request #2082 from avaris/setup
...
Specify encoding for README and CHANGELOG in setup.py
2017-01-03 11:25:37 -08:00
Deniz Turgut
6fe2fecb13
Specify encoding for README and CHANGELOG in setup.py
2017-01-03 21:51:23 +03:00
Justin Mayer
01d536d7c9
Replace m-dash with semi-colon in changelog
...
Stop-gap measure to address:
e3ab685a26 (commitcomment-20333961)
2016-12-31 15:10:46 -08:00
Justin Mayer
213976ca11
Merge pull request #2068 from lucasplus/master
...
Set locale to LC_ALL in Quickstart script. Fixes #2043
2016-12-30 17:38:02 -08:00
Lucas Chavez
84920e8fdf
Set locale to LC_ALL in Quickstart script. Fixes #2043
2016-12-27 16:25:17 -07:00
Justin Mayer
98d1d4e338
Add missing .gitattributes attributes. Refs #2069
2016-12-23 08:03:57 -08:00
Justin Mayer
fc9227215b
Ignore test content & output in language analysis
...
Refs #2069
2016-12-23 08:00:45 -08:00
Justin Mayer
c96edef571
Ignore samples for GitHub language stats analysis
...
Fixes #2069
2016-12-23 07:41:52 -08:00
Justin Mayer
82ada44aa8
Merge pull request #2065 from amyspark/master
...
Initialize locale for Python 2+ in quickstart script. Fixes #2043
2016-12-16 14:44:01 -08:00
L. E. Segovia
5c6ae32f99
For python 2+, initialize locale. Fixes #2043
2016-12-16 23:10:53 +01:00
Justin Mayer
0936d5f6ee
Prepare version 3.7.1.dev0 for next development cycle
2016-12-14 13:56:47 -08:00
Justin Mayer
d13d57eaa6
Bump version 3.7.0
3.7.0
2016-12-12 14:05:20 -08:00
Justin Mayer
f4460a4449
Update package metadata
2016-12-12 14:00:11 -08:00
Justin Mayer
e3ab685a26
Update changelog for 3.7 release
2016-12-12 13:39:31 -08:00
Justin Mayer
97c058e94f
Remove download statistics badge from README
...
PyPI download statistics have been broken for a long time and appear to
have been officially disabled in May 2016. See GitHub issue for details:
https://github.com/pypa/pypi-legacy/issues/396
2016-12-12 11:07:13 -08:00
Justin Mayer
3518713ac6
Merge pull request #2022 from rjames86/query_strings
...
Prevent server from dying when query strings present
2016-12-12 10:18:04 -08:00
Justin Mayer
44bc69b320
Merge pull request #2058 from avaris/fix_generator_caching
...
Fix generator caching
2016-12-10 10:56:36 -08:00
Justin Mayer
8850beb828
Merge pull request #2060 from avaris/fix_markdown_lexer
...
Pin Sphinx version to 1.4.9 for docs tests. Fixes #2059
2016-12-10 10:06:28 -08:00
Ryan M
90025818ed
prevent server from dying when query strings present
...
split on first ?
2016-12-10 10:05:50 -08:00