mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
minor spelling fixes
This commit is contained in:
parent
cb11bea1f2
commit
f5775bcba0
9 changed files with 9 additions and 9 deletions
2
THANKS
2
THANKS
|
|
@ -4,7 +4,7 @@ contributed or implemented key features over time. We do our best to keep this
|
|||
list up-to-date, but you can also have a look at the nice contributor graphs
|
||||
produced by GitHub: https://github.com/getpelican/pelican/graphs/contributors
|
||||
|
||||
If you want to contibute, check the documentation section about how to do so:
|
||||
If you want to contribute, check the documentation section about how to do so:
|
||||
<http://docs.getpelican.com/en/latest/contribute.html>
|
||||
|
||||
Aaron Kavlie
|
||||
|
|
|
|||
|
|
@ -202,5 +202,5 @@ Try to limit them to ``--debug`` mode like the following::
|
|||
try:
|
||||
some_action()
|
||||
except Exception as e:
|
||||
logger.error('Exception occured: %s', e,
|
||||
logger.error('Exception occurred: %s', e,
|
||||
exc_info=settings.get('DEBUG', False))
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ Signal Arguments Description
|
|||
================================= ============================ ===========================================================================
|
||||
initialized pelican object
|
||||
finalized pelican object invoked after all the generators are executed and just before pelican exits
|
||||
usefull for custom post processing actions, such as:
|
||||
useful for custom post processing actions, such as:
|
||||
- minifying js/css assets.
|
||||
- notify/ping search engines with an updated sitemap.
|
||||
generator_init generator invoked in the Generator.__init__
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ class Pelican(object):
|
|||
]
|
||||
|
||||
# erase the directory if it is not the source and if that's
|
||||
# explicitely asked
|
||||
# explicitly asked
|
||||
if (self.delete_outputdir and not
|
||||
os.path.realpath(self.path).startswith(self.output_path)):
|
||||
clean_output_dir(self.output_path, self.output_retention)
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ class Content(object):
|
|||
"""Update the content attribute.
|
||||
|
||||
Change all the relative paths of the content to relative paths
|
||||
suitable for the ouput content.
|
||||
suitable for the output content.
|
||||
|
||||
:param content: content resource that will be passed to the templates.
|
||||
:param siteurl: siteurl which is locally generated by the writer in
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class BaseFormatter(logging.Formatter):
|
|||
s = super(BaseFormatter, self).formatException(ei)
|
||||
# fancy format traceback
|
||||
s = str('\n').join(str(' | ') + line for line in s.splitlines())
|
||||
# seperate the traceback from the preceding lines
|
||||
# separate the traceback from the preceding lines
|
||||
s = str(' |___\n{}').format(s)
|
||||
return s
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ def mute(returns_output=False):
|
|||
If "returns_output" is True, the function will return a generator
|
||||
yielding the printed lines instead of the return values.
|
||||
|
||||
The decorator litterally hijack sys.stdout during each function
|
||||
The decorator literally hijack sys.stdout during each function
|
||||
execution, so be careful with what you apply it to.
|
||||
|
||||
>>> def numbers():
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ class TestDateFormatter(unittest.TestCase):
|
|||
locale_available('French'),
|
||||
'French locale needed')
|
||||
def test_french_strftime(self):
|
||||
# This test tries to reproduce an issue that occured with python3.3 under macos10 only
|
||||
# This test tries to reproduce an issue that occurred with python3.3 under macos10 only
|
||||
locale.setlocale(locale.LC_ALL, str('fr_FR.UTF-8'))
|
||||
date = utils.SafeDatetime(2014,8,14)
|
||||
# we compare the lower() dates since macos10 returns "Jeudi" for %A whereas linux reports "jeudi"
|
||||
|
|
|
|||
|
|
@ -656,7 +656,7 @@ class FileStampDataCacher(FileDataCacher):
|
|||
'''Subclass that also caches the stamp of the file'''
|
||||
|
||||
def __init__(self, settings, cache_name, caching_policy, load_policy):
|
||||
'''This sublcass additionaly sets filestamp function
|
||||
'''This sublcass additionally sets filestamp function
|
||||
and base path for filestamping operations
|
||||
'''
|
||||
super(FileStampDataCacher, self).__init__(settings, cache_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue