Skip to content

Commit

Permalink
Nikola v7.8.4
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 26, 2017
1 parent c3de67e commit ee60fd0
Show file tree
Hide file tree
Showing 11 changed files with 185 additions and 11 deletions.
33 changes: 32 additions & 1 deletion listings/conf.py
Expand Up @@ -285,6 +285,7 @@

# Use date-based path when creating posts?
# Can be enabled on a per-post basis with `nikola new_post -d`.
# The setting is ignored when creating pages (`-d` still works).
# NEW_POST_DATE_PATH = False

# What format to use when creating posts with date paths?
Expand Down Expand Up @@ -639,6 +640,25 @@
# ".jpg": ["jpegoptim --strip-all -m75 -v %s"],
# }

# Executable for the "yui_compressor" filter (defaults to 'yui-compressor').
# YUI_COMPRESSOR_EXECUTABLE = 'yui-compressor'

# Executable for the "closure_compiler" filter (defaults to 'closure-compiler').
# CLOSURE_COMPILER_EXECUTABLE = 'closure-compiler'

# Executable for the "optipng" filter (defaults to 'optipng').
# OPTIPNG_EXECUTABLE = 'optipng'

# Executable for the "jpegoptim" filter (defaults to 'jpegoptim').
# JPEGOPTIM_EXECUTABLE = 'jpegoptim'

# Executable for the "html_tidy_withconfig", "html_tidy_nowrap",
# "html_tidy_wrap", "html_tidy_wrap_attr" and "html_tidy_mini" filters
# (defaults to 'tidy5').
# HTML_TIDY_EXECUTABLE = 'tidy5'



# Expert setting! Create a gzipped copy of each generated file. Cheap server-
# side optimization for very high traffic sites or low memory servers.
# GZIP_FILES = False
Expand Down Expand Up @@ -730,7 +750,7 @@
# To reference the images in your posts, include a leading slash in the path.
# For example, if IMAGE_FOLDERS = {'images': 'images'}, write
#
# ..image:: /images/tesla.jpg
# .. image:: /images/tesla.jpg
#
# See the Nikola Handbook for details (in the “Embedding Images” and
# “Thumbnails” sections)
Expand Down Expand Up @@ -796,6 +816,11 @@
# must be recreated whenever the number of pages changes.
# SHOW_INDEX_PAGE_NAVIGATION = False

# If the following is True, a meta name="generator" tag is added to pages. The
# generator tag is used to specify the software used to generate the page
# (it promotes Nikola).
# META_GENERATOR_TAG = True

# Color scheme to be used for code blocks. If your theme provides
# "assets/css/code.css" this is ignored. Leave empty to disable.
# Can be any of:
Expand Down Expand Up @@ -914,6 +939,12 @@
)
}

# A simple copyright tag for inclusion in RSS feeds that works just
# like CONTENT_FOOTER and CONTENT_FOOTER_FORMATS
RSS_COPYRIGHT = 'Contents © {date} <a href="mailto:{email}">{author}</a> {license}'
RSS_COPYRIGHT_PLAIN = 'Contents © {date} {author} {license}'
RSS_COPYRIGHT_FORMATS = CONTENT_FOOTER_FORMATS

# To use comments, you can choose between different third party comment
# systems. The following comment systems are supported by Nikola:
# disqus, facebook, googleplus, intensedebate, isso, livefyre, muut
Expand Down
81 changes: 81 additions & 0 deletions posts/nikola-v784-is-out.txt
@@ -0,0 +1,81 @@
.. title: Nikola v7.8.4 is out!
.. slug: nikola-v784-is-out
.. date: 2017-03-26 18:26:06 UTC
.. tags: nikola, planet, python, programming, release
.. type: text
.. author: Chris Warrick

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.4. It fixes some bugs and adds new
features.

What is Nikola?
===============

Nikola is a static site and blog generator, written in Python.
It can use Mako and Jinja2 templates, and input in many popular markup
formats, such as reStructuredText and Markdown — and can even turn
Jupyter (IPython) Notebooks into blog posts! It also supports image
galleries, and is multilingual. Nikola is flexible, and page builds
are extremely fast, courtesy of doit (which is rebuilding only what
has been changed).

Find out more at the website: https://getnikola.com/

Downloads
=========

Install using ``pip install Nikola`` or download tarballs on `GitHub`__ and `PyPI`__.

__ https://github.com/getnikola/nikola/releases/tag/v7.8.4
__ https://pypi.python.org/pypi/Nikola/7.8.4

Changes
=======

Features
--------

* Refactor RSS feed generation to allow better plugin access
* Add Jupyter config as dependency for jupyter posts (by @knowsuchagency)
* Make ``nikola plugin --list-installed`` more readable (Issue #2692)
* Accept ``now`` in post-list date conditions
* Add ``RSS_COPYRIGHT``, ``RSS_COPYRIGHT_PLAIN``, and
``RSS_COPYRIGHT_FORMATS`` options in conf.py which can be disabled
by specifying ``copyright_=False`` to ``generic_rss_renderer``, or
overriden by specifying an explicit value.
* Write PID of detached ``nikola serve`` process to a file called
``nikolaserve.pid``
* Append file name (generated from title) if ``nikola new_post``
receives directory name as path (Issue #2651)
* Add a ``require_all_tags`` parameter to the ``post-list`` directive to
show only posts that have all specified tags. (Issue #2665)
* Add ``META_GENERATOR_TAG`` option in conf.py allowing the meta generator
tag to be disabled (Issue #2628)
* Add ``YUI_COMPRESSOR_EXECUTABLE``, ``CLOSURE_COMPILER_EXECUTABLE``,
``OPTIPNG_EXECUTABLE``, ``JPEGOPTIM_EXECUTABLE`` and
``HTML_TIDY_EXECUTABLE`` to configure executables for built-in filters.
(Issue #2615)
* Allow setting custom GUID in feeds (Issue #2378)

Bugfixes
--------

* Remove misplaced and duplicated meta description tags (Issue #2694)
* Fix crash if ``PAGE_INDEX`` is enabled and make them actually work
(Issues #2646, #2702)
* Ignore ``NEW_POST_DATE_PATH`` when creating pages (Issue #2699)
* Ensure ``post.updated`` is timezone-aware (Issue #2698)
* Pass previously missing post object and language to reST compiler
and language to Markdown compiler (for shortcodes)
* Fix crashes when rendering subcategories (Issue #2681)
* Prevent writing cache files outside of the cache folder
(Issue #2684)
* Fix mimetype guessing in auto mode (Issue #2645)
* Fix filters.html5lib_xmllike for laters html5lib (Issue #2648)
* Skip the current post in post lists (Issue #2666)
* Fix poor performance when compiling multiple markdown documents with
the markdown compiler. (Issue #2660)
* Fix crash if ``SHOW_INDEX_PAGE_NAVIGATION`` is ``True`` while
``INDEXES_STATIC`` is ``False``. (Issue #2654)
* Make ``NEW_POST_DATE_PATH`` follow ``rrule`` if it exists (Issue #2653)
2 changes: 1 addition & 1 deletion state_data.json
@@ -1,3 +1,3 @@
{
"last_deploy": "2017-03-17T17:17:27.469103"
"last_deploy": "2017-03-26T18:37:54.404225"
}
3 changes: 3 additions & 0 deletions stories/AUTHORS.txt
Expand Up @@ -25,6 +25,7 @@
* `Daniel Aleksandersen <https://github.com/Aeyoun>`_
* `Daniel Devine <https://github.com/DDevine>`_
* `Daniel F. Moisset <https://github.com/dmoisset>`_
* `Daniel Harding <https://github.com/living180>`_
* `dastagg <https://github.com/dastagg>`_
* `dastagg <https://github.com/dastagg>`_
* `David Barragán Merino <https://github.com/bameda>`_
Expand All @@ -50,6 +51,7 @@
* `Hong Xu <https://www.topbug.net>`_
* `Ivan Teoh <https://github.com/ivanteoh>`_
* `John Kristensen <https://github.com/jerrykan>`_
* `Jonathon Anderson <https://github.com/anderbubble>`_
* `Joshua Barratt <https://github.com/jbarratt>`_
* `Juan Pedro Fisanotti <https://github.com/fisadev>`_
* `Juanjo Conti <https://github.com/jjconti>`_
Expand Down Expand Up @@ -102,6 +104,7 @@
* `Sean Pue <https://github.com/seanpue>`_
* `Simon van der Veldt <https://github.com/simonvanderveldt>`_
* `Stefan Näwe <https://github.com/snaewe>`_
* `Stephan Fitzpatrick <https://github.com/knowsuchagency>`_
* `Sukil Etxenike <https://github.com/sukiletxe>`_
* `Thibauld Nion <https://github.com/tibonihoo>`_
* `Thomas Burette <https://github.com/tburette>`_
Expand Down
50 changes: 50 additions & 0 deletions stories/CHANGES.txt
@@ -1,3 +1,53 @@
New in v7.8.4
=============

Features
--------

* Refactor RSS feed generation to allow better plugin access
* Add Jupyter config as dependency for jupyter posts (by @knowsuchagency)
* Make ``nikola plugin --list-installed`` more readable (Issue #2692)
* Accept ``now`` in post-list date conditions
* Add ``RSS_COPYRIGHT``, ``RSS_COPYRIGHT_PLAIN``, and
``RSS_COPYRIGHT_FORMATS`` options in conf.py which can be disabled
by specifying ``copyright_=False`` to ``generic_rss_renderer``, or
overriden by specifying an explicit value.
* Write PID of detached ``nikola serve`` process to a file called
``nikolaserve.pid``
* Append file name (generated from title) if ``nikola new_post``
receives directory name as path (Issue #2651)
* Add a ``require_all_tags`` parameter to the ``post-list`` directive to
show only posts that have all specified tags. (Issue #2665)
* Add ``META_GENERATOR_TAG`` option in conf.py allowing the meta generator
tag to be disabled (Issue #2628)
* Add ``YUI_COMPRESSOR_EXECUTABLE``, ``CLOSURE_COMPILER_EXECUTABLE``,
``OPTIPNG_EXECUTABLE``, ``JPEGOPTIM_EXECUTABLE`` and
``HTML_TIDY_EXECUTABLE`` to configure executables for built-in filters.
(Issue #2615)
* Allow setting custom GUID in feeds (Issue #2378)

Bugfixes
--------

* Remove misplaced and duplicated meta description tags (Issue #2694)
* Fix crash if ``PAGE_INDEX`` is enabled and make them actually work
(Issues #2646, #2702)
* Ignore ``NEW_POST_DATE_PATH`` when creating pages (Issue #2699)
* Ensure ``post.updated`` is timezone-aware (Issue #2698)
* Pass previously missing post object and language to reST compiler
and language to Markdown compiler (for shortcodes)
* Fix crashes when rendering subcategories (Issue #2681)
* Prevent writing cache files outside of the cache folder
(Issue #2684)
* Fix mimetype guessing in auto mode (Issue #2645)
* Fix filters.html5lib_xmllike for laters html5lib (Issue #2648)
* Skip the current post in post lists (Issue #2666)
* Fix poor performance when compiling multiple markdown documents with
the markdown compiler. (Issue #2660)
* Fix crash if ``SHOW_INDEX_PAGE_NAVIGATION`` is ``True`` while
``INDEXES_STATIC`` is ``False``. (Issue #2654)
* Make ``NEW_POST_DATE_PATH`` follow ``rrule`` if it exists (Issue #2653)

New in v7.8.3
=============

Expand Down
4 changes: 2 additions & 2 deletions stories/conf.txt
@@ -1,11 +1,11 @@
.. title: Nikola v7.8.3 configuration file
.. title: Nikola v7.8.4 configuration file
.. slug: conf
.. date: 2014-11-08 18:51:30 UTC
.. description: The Nikola configuration file.
.. type: text
.. author: The Nikola Team

The default config file for Nikola v7.8.3 is reproduced below.
The default config file for Nikola v7.8.4 is reproduced below.

.. raw:: html

Expand Down
2 changes: 1 addition & 1 deletion stories/extending.txt
Expand Up @@ -9,7 +9,7 @@
Extending Nikola
================

:Version: 7.8.3
:Version: 7.8.4
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>

.. class:: alert alert-info pull-right
Expand Down
15 changes: 12 additions & 3 deletions stories/manual.txt
Expand Up @@ -9,7 +9,7 @@
The Nikola Handbook
===================

:Version: 7.8.3
:Version: 7.8.4

.. class:: alert alert-info pull-right

Expand Down Expand Up @@ -310,6 +310,10 @@ category
Like tags, except each post can have only one, and they usually have
more descriptive names.

guid
String used as GUID in RSS feeds and as ID in Atom feeds instead of the
permalink.

link
Link to original source for content. May be displayed by some themes.

Expand Down Expand Up @@ -567,7 +571,8 @@ The ``new_post`` command supports some options:

The optional ``path`` parameter tells Nikola exactly where to put it instead of guessing from your config.
So, if you do ``nikola new_post posts/random/foo.txt`` you will have a post in that path, with
"foo" as its slug.
"foo" as its slug. You can also provide a directory name, in which case Nikola
will append the file name for you (generated from title).

The ``-d, --date-path`` option automates creation of ``year/month/day`` or
similar directory structures. It can be enabled on a per-post basis, or you can
Expand Down Expand Up @@ -2348,12 +2353,16 @@ The following options are recognized:
* clause: attribute comparison_operator value (spaces optional)
* attribute: year, month, day, hour, month, second, weekday, isoweekday; or empty for full datetime
* comparison_operator: == != <= >= < >
* value: integer or dateutil-compatible date input
* value: integer, 'now' or dateutil-compatible date input

* ``tags`` : string [, string...]
Filter posts to show only posts having at least one of the ``tags``.
Defaults to None.

* ``require_all_tags`` : flag
Change tag filter behaviour to show only posts that have all specified ``tags``.
Defaults to False.

* ``categories`` : string [, string...]
Filter posts to show only posts having one of the ``categories``.
Defaults to None.
Expand Down
2 changes: 1 addition & 1 deletion stories/social_buttons.txt
Expand Up @@ -9,7 +9,7 @@
Using Alternative Social Buttons with Nikola
============================================

:Version: 7.8.3
:Version: 7.8.4

.. class:: alert alert-info pull-right

Expand Down
2 changes: 1 addition & 1 deletion stories/support.rst
Expand Up @@ -4,7 +4,7 @@
.. description: Get help using Nikola, or contact us.
.. author: The Nikola Team
:Version: 7.8.3
:Version: 7.8.4

.. class:: alert alert-info pull-right

Expand Down
2 changes: 1 addition & 1 deletion stories/theming.txt
Expand Up @@ -9,7 +9,7 @@
Theming Nikola
==============

:Version: 7.8.3
:Version: 7.8.4
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>

.. class:: alert alert-info pull-right
Expand Down

0 comments on commit ee60fd0

Please sign in to comment.