Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Nikola v7.7.2
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 8, 2015
1 parent 2fc28be commit 1f85737
Show file tree
Hide file tree
Showing 9 changed files with 138 additions and 25 deletions.
35 changes: 21 additions & 14 deletions listings/conf.py
Expand Up @@ -493,9 +493,6 @@
# output / TRANSLATION[lang] / RSS_PATH / rss.xml
# RSS_PATH = ""

# Number of posts in RSS feeds
# FEED_LENGTH = 10

# Slug the Tag URL. Easier for users to type, special characters are
# often removed or replaced as well.
# SLUG_TAG_PATH = True
Expand Down Expand Up @@ -745,18 +742,18 @@

# 'Read more...' for the index page, if INDEX_TEASERS is True (translatable)
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}…</a></p>'
# 'Read more...' for the RSS_FEED, if RSS_TEASERS is True (translatable)
RSS_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'
# 'Read more...' for the RSS_FEED, if FEED_TEASERS is True (translatable)
FEED_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'

# Append a URL query to the RSS_READ_MORE_LINK in Atom and RSS feeds. Advanced
# Append a URL query to the FEED_READ_MORE_LINK in Atom and RSS feeds. Advanced
# option used for traffic source tracking.
# Minimum example for use with Piwik: "pk_campaign=feed"
# The following tags exist and are replaced for you:
# {feedRelUri} A relative link to the feed.
# {feedFormat} The name of the syndication format.
# Example using replacement for use with Google Analytics:
# "utm_source={feedRelUri}&utm_medium=nikola_feed&utm_campaign={feedFormat}_feed"
RSS_LINKS_APPEND_QUERY = False
FEED_LINKS_APPEND_QUERY = False

# A HTML fragment describing the license, for the sidebar.
# (translatable)
Expand Down Expand Up @@ -957,22 +954,32 @@
# them. Generate Atom for tags by setting TAG_PAGES_ARE_INDEXES to True.
# Atom feeds are built based on INDEX_DISPLAY_POST_COUNT and not FEED_LENGTH
# Switch between plain-text summaries and full HTML content using the
# RSS_TEASER option. RSS_LINKS_APPEND_QUERY is also respected. Atom feeds
# FEED_TEASER option. FEED_LINKS_APPEND_QUERY is also respected. Atom feeds
# are generated even for old indexes and have pagination link relations
# between each other. Old Atom feeds with no changes are marked as archived.
# GENERATE_ATOM = False

# Only inlclude teasers in Atom and RSS feeds. Disabling include the full
# content. Defaults to True.
# FEED_TEASERS = True

# Strip HTML from Atom annd RSS feed summaries and content. Defaults to False.
# FEED_PLAIN = False

# Number of posts in Atom and RSS feeds.
# FEED_LENGTH = 10

# Inclue preview image as a <figure><img></figure> at the top of the entry.
# Requires FEED_PLAIN = False. If the preview image is found in the content,
# it will not be included again. Image will be included as-is, aim to optmize
# the image source for Feedly, Apple News, Flipboard, and other popular clients.
# FEED_PREVIEWIMAGE = True

# RSS_LINK is a HTML fragment to link the RSS or Atom feeds. If set to None,
# the base.tmpl will use the feed Nikola generates. However, you may want to
# change it for a FeedBurner feed or something else.
# RSS_LINK = None

# Show teasers (instead of full posts) in feeds? Defaults to True.
# RSS_TEASERS = True

# Strip HTML in the RSS feed? Default to False
# RSS_PLAIN = False

# A search form to search this site, for the sidebar. You can use a Google
# custom search (https://www.google.com/cse/)
# Or a DuckDuckGo search: https://duckduckgo.com/search_box.html
Expand Down
66 changes: 66 additions & 0 deletions posts/nikola-v772-is-out.txt
@@ -0,0 +1,66 @@
.. title: Nikola v7.7.2 is out!
.. slug: nikola-v772-is-out
.. date: 2015-10-08 15:20:51 UTC
.. tags: nikola, planet, python, programming, release
.. category:
.. link:
.. description:
.. type: text
.. author: Chris Warrick

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.7.2. 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.7.2
__ https://pypi.python.org/pypi/Nikola/7.7.2

Changes
=======

Features
--------

* Warning about Python 2.7 deprecation (Issues #2121, #2122)
* New ``jsonminify`` filter for minifying JSON files.
* New ``xmlminify`` filter for minifying XML files.
* New option ``FEED_PREVIEWIMAGE`` includes the ``post.meta.previewimage``
image in Atom and RSS feeds. (Issue #2095)

Bugfixes
--------

* Support Pillow v3.0.0 (Issue #2130)
* Support setting template in metadata in translated posts (Issue #2114)
* Fix false orphan report for code.css and robots.txt (Issue #2106)
* Fix reST post list date formatting error (Issue #2104)
* Deprecated ``RSS_TEASERS``, ``RSS_PLAIN``, ``RSS_READ_MORE_LINK``, and
``RSS_LINKS_APPEND_QUERY`` in favor of ``FEED_TEASERS``, ``FEED_PLAIN``,
``FEED_READ_MORE_LINK``, and ``FEED_LINKS_APPEND_QUERY`` for both Atom
and RSS feeds. (Issue #2095)
* /robots.txt was never being built (Issue #2098)
* SVG thumbnails (Issue #2094)

Deprecations
------------

* ``Post.section_link`` is now deprecated (Issue #2086). Use
``site.link('section_index', post.section_slug())`` instead.
1 change: 1 addition & 0 deletions stories/AUTHORS.txt
Expand Up @@ -106,3 +106,4 @@
* `yarko <https://github.com/yarko>`_
* `小明 <https://github.com/dongweiming>`_
* `Brad Miller <https://github.com/bnmnetp>`_
* `Florian Finkernagel <https://github.com/TyberiusPrime>`_
35 changes: 34 additions & 1 deletion stories/CHANGES.txt
@@ -1,3 +1,36 @@
New in v7.7.2
=============

Features
--------

* Warning about Python 2.7 deprecation (Issues #2121, #2122)
* New ``jsonminify`` filter for minifying JSON files.
* New ``xmlminify`` filter for minifying XML files.
* New option ``FEED_PREVIEWIMAGE`` includes the ``post.meta.previewimage``
image in Atom and RSS feeds. (Issue #2095)

Bugfixes
--------

* Support Pillow v3.0.0 (Issue #2130)
* Support setting template in metadata in translated posts (Issue #2114)
* Fix false orphan report for code.css and robots.txt (Issue #2106)
* Fix reST post list date formatting error (Issue #2104)
* Deprecated ``RSS_TEASERS``, ``RSS_PLAIN``, ``RSS_READ_MORE_LINK``, and
``RSS_LINKS_APPEND_QUERY`` in favor of ``FEED_TEASERS``, ``FEED_PLAIN``,
``FEED_READ_MORE_LINK``, and ``FEED_LINKS_APPEND_QUERY`` for both Atom
and RSS feeds. (Issue #2095)
* /robots.txt was never being built (Issue #2098)
* SVG thumbnails (Issue #2094)

Deprecations
------------

* Post.section_link is now deprecated (Issue #2086). Use
site.link('section_index', post.section_slug()) instead. (not
'section_index_link', as previously stated in this document)

New in v7.7.1
=============

Expand Down Expand Up @@ -632,7 +665,7 @@ Features
* Link listings raw sources if COPY_SOURCES is True (Issue #1214)
* Much more powerful ``nikola plugin`` command (Issue #1189)
* More powerful console mode allows access to all nikola commands (Issue #830)
* New ```ROBOTS_EXCLUSIONS``` option listing resources to exclude from sitemap
* New ``ROBOTS_EXCLUSIONS`` option listing resources to exclude from sitemap
and include in new generated /robots.txt (Issue #804)
* Generate sitemapindex containing RSS and sitemap files (Issue #804)
* Support hooks in templates, for use by plugins (Issue #896)
Expand Down
4 changes: 2 additions & 2 deletions stories/conf.txt
@@ -1,10 +1,10 @@
.. title: Nikola v7.7.1 configuration file
.. title: Nikola v7.7.2 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.7.1 is reproduced below.
The default config file for Nikola v7.7.2 is reproduced below.

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

:Version: 7.7.1
:Version: 7.7.2
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>

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

:Version: 7.7.1
:Version: 7.7.2

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

Expand Down Expand Up @@ -515,8 +515,8 @@ In Markdown (or basically, the resulting HTML of any format):
By default all your RSS feeds will be shortened (they'll contain only teasers)
whereas your index page will still show complete posts. You can change
this behaviour with your ``conf.py``: ``INDEX_TEASERS`` defines whether index
page should display the whole contents or only teasers. ``RSS_TEASERS``
works the same way for your RSS feeds.
page should display the whole contents or only teasers. ``FEED_TEASERS``
works the same way for your Atom and RSS feeds.

By default, teasers will include a "read more" link at the end. If you want to
change that text, you can use a custom teaser:
Expand Down Expand Up @@ -1376,10 +1376,16 @@ jpegoptim
Compress JPEG files using `jpegoptim <http://www.kokkonen.net/tjko/projects.html>`_

cssminify
Minify CSS using http://cssminifier.com/ (requires internet access)
Minify CSS using http://cssminifier.com/ (requires Internet access)

jsminify
Minify JS using http://javascript-minifier.com/ (requires internet access)
Minify JS using http://javascript-minifier.com/ (requires Internet access)

jsonminify
Minify JSON files (strip whitespace and use minimal separators).

xmlminify
Minify XML files. Suitable for Nikola’s sitemaps and Atom feeds.

You can apply filters to specific posts or pages by using the ``filters`` metadata field:

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.7.1
:Version: 7.7.2

.. 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.7.1
:Version: 7.7.2
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>

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

0 comments on commit 1f85737

Please sign in to comment.