Skip to content

Commit

Permalink
Nikola v7.7.3
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 30, 2015
1 parent 1f85737 commit 6f5b8a4
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 17 deletions.
12 changes: 9 additions & 3 deletions listings/conf.py
Expand Up @@ -51,6 +51,7 @@
# fr French
# hi Hindi
# hr Croatian
# hu Hungarian
# id Indonesian
# it Italian
# ja Japanese [NOT jp]
Expand All @@ -60,7 +61,7 @@
# pa Punjabi
# pl Polish
# pt Portuguese
# pt_br Portuguese (Brasil)
# pt_br Portuguese (Brazil)
# ru Russian
# sk Slovak
# sl Slovene
Expand Down Expand Up @@ -342,6 +343,11 @@
# (translatable)
# TAG_PATH = "categories"

# See TAG_PATH's "list of tags" for the default setting value. Can be overwritten
# here any path relative to the output directory.
# (translatable)
# TAGS_INDEX_PATH = "tags.html"

# If TAG_PAGES_ARE_INDEXES is set to True, each tag's page will contain
# the posts themselves. If set to False, it will be just a list of links.
# TAG_PAGES_ARE_INDEXES = False
Expand Down Expand Up @@ -742,7 +748,7 @@

# '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 FEED_TEASERS is True (translatable)
# 'Read more...' for the feeds, 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 FEED_READ_MORE_LINK in Atom and RSS feeds. Advanced
Expand Down Expand Up @@ -969,7 +975,7 @@
# 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.
# Include 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.
Expand Down
1 change: 1 addition & 0 deletions stories/AUTHORS.txt
Expand Up @@ -22,6 +22,7 @@
* `Daniel Devine <https://github.com/DDevine>`_
* `Daniel F. Moisset <https://github.com/dmoisset>`_
* `David Beath <https://github.com/DBeath>`_
* `David Barragán Merino <https://github.com/bameda>`_
* `Dhruv Baldawa <https://github.com/dhruvbaldawa>`_
* `Dirk Engling <https://github.com/erdgeist>`_
* `Dmitry Verkhoturov <https://github.com/paskal>`_
Expand Down
26 changes: 26 additions & 0 deletions stories/CHANGES.txt
@@ -1,3 +1,29 @@
New in v7.7.3
=============

Features
--------

* Recommend ``ghp-import2`` (better packaging) (Issue #2152)
* New ``TAGS_INDEX_PATH`` option for overwriting the path
of the tag index list page.
* Support for ``~~strikethrough~~`` in Markdown (Issue #2149)
* Hungarian translation (by Baptiste Darthenay)
* ``serve`` and ``auto`` publishes DNS Service Discovery records
to the local network announcing they’re running web servers.


Bugfixes
--------

* Implement translating ``DATE_FORMAT`` properly
* Remove superfluous translatability for a boolean (Issue #2140)
* Pass messages to post-list template (Issue #2156)
* Changed default log level from INFO to NOTICE (``nikola check`` is less chatty)
* Fix support for panorama images in gallery(Issue #2143)
* Support "maps.world.World" and similar charts in Pygal (Issue #2142)
* Capitalize "UTF-8" properly in locale guessing (Issue #2137)

New in v7.7.2
=============

Expand Down
4 changes: 2 additions & 2 deletions stories/conf.txt
@@ -1,10 +1,10 @@
.. title: Nikola v7.7.2 configuration file
.. title: Nikola v7.7.3 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.2 is reproduced below.
The default config file for Nikola v7.7.3 is reproduced below.

.. listing:: conf.py python
6 changes: 3 additions & 3 deletions stories/extending.txt
Expand Up @@ -9,7 +9,7 @@
Extending Nikola
================

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

.. class:: alert alert-info pull-right
Expand Down Expand Up @@ -123,7 +123,7 @@ For your own plugin, just change the values in a sensible way. The
'long': 'port',
'default': 8000,
'type': int,
'help': 'Port nummber (default: 8000)',
'help': 'Port number (default: 8000)',
},
{
'name': 'address',
Expand Down Expand Up @@ -158,7 +158,7 @@ As mentioned above, a plugin can have options, which the user can see by doing
Usage: nikola serve [options]

Options:
-p ARG, --port=ARG Port nummber (default: 8000)
-p ARG, --port=ARG Port number (default: 8000)
-a ARG, ----address=ARG Address to bind (default: 127.0.0.1)

$ nikola serve -p 9000
Expand Down
11 changes: 7 additions & 4 deletions stories/manual.txt
Expand Up @@ -9,7 +9,7 @@
The Nikola Handbook
===================

:Version: 7.7.2
:Version: 7.7.3

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

Expand Down Expand Up @@ -122,7 +122,7 @@ Security

A smaller software stack implies less security risk.

Obsolescense
Obsolescence
If you create a site using (for example) WordPress, what happens when WordPress
releases a new version? You have to update your WordPress. That is not optional,
because of security and support issues. If I release a new version of Nikola, and
Expand Down Expand Up @@ -529,7 +529,7 @@ You can override the default value for ``TEASER_END`` in ``conf.py`` — for
example, the following example will work for ``.. more``, and will be
compatible with both WordPress and Nikola posts:

..code:: python
.. code:: python

import re
TEASER_REGEXP = re.compile('<!--\s*(more|TEASER_END)(:(.+))?\s*-->', re.IGNORECASE)
Expand Down Expand Up @@ -758,6 +758,9 @@ config option:

MARKDOWN_EXTENSIONS = ['fenced_code', 'codehilite', 'extra']

Nikola comes with some Markdown Extensions built-in and enabled by default,
namely a gist directive, a podcast directive, and ``~~strikethrough~~`` support.

IPython Notebook/Jupyter
````````````````````````

Expand Down Expand Up @@ -915,7 +918,7 @@ Navigation Links

3. If you link to directories, make sure to follow ``STRIP_INDEXES``. If
it’s set to ``True``, end your links with a ``/``, otherwise end them
with ``/index.html`` — or else they won’t be hilighted when active.
with ``/index.html`` — or else they won’t be highlighted when active.

The ``SEARCH_FORM`` option contains the HTML code for a search form based on
duckduckgo.com which should always work, but feel free to change it to
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.2
:Version: 7.7.3

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

Expand Down
8 changes: 4 additions & 4 deletions stories/theming.txt
Expand Up @@ -9,7 +9,7 @@
Theming Nikola
==============

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

.. class:: alert alert-info pull-right
Expand All @@ -36,7 +36,7 @@ assets

The included themes use `Bootstrap <http://twitter.github.com/bootstrap/>`_
and `Colorbox <http://www.jacklmoore.com/colorbox>`_ so they are in assets,
along with CSS files for syntax highligting and reStructuredText, and a
along with CSS files for syntax highlighting and reStructuredText, and a
minified copy of jQuery.

If you want to base your theme on other frameworks (or on no framework at all)
Expand Down Expand Up @@ -119,7 +119,7 @@ These are the templates that come with the included themes:

It has some separate pieces defined in ``base_helper.tmpl``,
``base_header.tmpl`` and ``base_footer.tmpl`` so they can be
easily overriden.
easily overridden.

``index.tmpl``
Template used to render the multipost indexes. The posts are in a ``posts`` variable.
Expand Down Expand Up @@ -204,7 +204,7 @@ Each section has an assigned color that is either set by the user or auto
selected by adjusting the hue of the user’s ``THEME_COLOR``. The color is
exposed in templates through ``post.section_color(lang)``. The function that
generates the colors from strings and any given color (by section name and
theme color for sections) is expoed through the
theme color for sections) is exposed through the
``colorize_str_from_base_color(string, hex_color)`` function

Hex color values, like that returned by the theme or section color can be
Expand Down

0 comments on commit 6f5b8a4

Please sign in to comment.