Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2369

Nikola v7.8.2 is out!

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python.announce
Subject Nikola v7.8.2 is out!
Date Sun, 8 Jan 2017 20:34:43 +0100
Lines 151
Approved python-announce-list@python.org
Message-ID <mailman.358.1483909390.2395.python-announce-list@python.org> (permalink)
References <e107b2df-4d2c-035f-68ff-b399884d5bd6@gmail.com>
Mime-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RqmPhCtqMBPVPU8uTekfjiaaxv06DbcDm"
X-Trace news.uni-berlin.de R2YhNFd5Uc3GlM5cAPIUzAhT7UJtCBHW3rtEEn1eKYtg==
Return-Path <kwpolska@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'context': 0.05; 'enabling': 0.05; 'paths': 0.05; 'url:github': 0.05; 'compiler': 0.07; 'rewrite': 0.07; '\xe2\x80\x94': 0.07; '(issue': 0.09; '===========': 0.09; 'empty,': 0.09; 'filename:fname piece:signature': 0.09; 'handlers': 0.09; 'inserted': 0.09; 'navigation': 0.09; 'settings,': 0.09; 'skip:` 30': 0.09; 'targets': 0.09; 'url:releases': 0.09; 'warn': 0.09; 'api': 0.10; 'python.': 0.14; 'team,': 0.15; 'sections': 0.15; 'static': 0.15; '(available': 0.16; '(via': 0.16; '``#``': 0.16; '``post``': 0.16; 'archives,': 0.16; 'categories,': 0.16; 'compilers': 0.16; 'content-type:application/pgp-signature': 0.16; 'content-type:multipart/signed': 0.16; 'fashion,': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'formats,': 0.16; 'index.html': 0.16; 'javascript)': 0.16; 'magic': 0.16; 'naming': 0.16; 'skip:` 40': 0.16; 'sorting': 0.16; 'tags.': 0.16; 'url:tag': 0.16; 'argument': 0.18; 'disabled': 0.18; 'skip:` 20': 0.18; 'archive': 0.18; 'input': 0.18; 'settings': 0.20; 'changes': 0.20; 'trying': 0.21; 'to:2**1': 0.21; '(by': 0.22; 'context.': 0.22; 'converted': 0.22; 'disable': 0.22; 'features,': 0.22; 'fixing': 0.22; 'skip:` 10': 0.22; 'bit': 0.23; 'handles': 0.23; 'previously': 0.24; 'skip:= 10': 0.24; 'sort': 0.25; 'installed': 0.25; 'install': 0.26; 'header:User- Agent:1': 0.26; 'written': 0.27; 'task': 0.27; 'skip:( 20': 0.27; 'flexibility': 0.27; 'translated': 0.27; 'pass': 0.29; '(new': 0.29; 'arguments': 0.29; 'index,': 0.29; 'markup': 0.29; 'produces': 0.29; 'announce': 0.29; 'to:no real name:2**1': 0.29; '(which': 0.29; 'function': 0.30; 'folder': 0.30; 'posts': 0.30; 'query': 0.30; 'post': 0.31; 'url:python': 0.31; 'allows': 0.32; 'creating': 0.32; 'etc.)': 0.32; 'handling': 0.32; 'received:google.com': 0.32; 'comments': 0.33; 'don\xe2\x80\x99t': 0.33; 'specify': 0.33; 'list': 0.33; 'method': 0.33; 'correctly': 0.34; 'really': 0.34; 'two': 0.34; '--------': 0.35; 'skip:( 30': 0.35; 'message-id:@gmail.com': 0.35; 'downloads': 0.35; 'filter': 0.35; 'templates': 0.35; 'to:addr:googlegroups.com': 0.35; 'url:7': 0.35; 'there': 0.36; 'url:org': 0.36; 'being': 0.36; 'file': 0.36; 'similar': 0.36; 'add': 0.36; 'behalf': 0.36; 'basic': 0.36; 'keyword': 0.36; 'path': 0.36; 'urls': 0.36; 'setting': 0.37; 'files': 0.37; 'creation': 0.38; 'takes': 0.38; 'some': 0.39; 'issue': 0.39; 'turn': 0.39; 'easily': 0.39; 'to:addr:python.org': 0.39; 'proto:https': 0.40; 'default': 0.61; '&amp;': 0.61; 'more': 0.62; 'within': 0.62; 'account': 0.65; 'destination': 0.66; 'website:': 0.67; 'to:addr:python-announce- list': 0.71; 'tags,': 0.79; 'fast,': 0.84; 'flexible,': 0.84; 'fragments': 0.84; 'functions)': 0.84; 'galleries,': 0.84; 'plugin.': 0.84; 'plugins': 0.84; 'taxonomy': 0.84; 'wordpress': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version; bh=5nPeEQHOwBMC01nM4OPQSYsRwbwR/SiN6+hjYoFQbgw=; b=QtA7Kn0U69yfvSreDQEx+aPzRpMsk9jjP20f3ykNrNNlqKz2F49apXNL4e99qjt0Za 1m0KgCJ38ACU0vSNWsYITuNjoS3XUWbU7eb/r3HGwghH/m4AMV46tqmZSK96EjI1BlMO f55g2iIPlX0+0dhRTNwzfRtXTR5zY+54Bl1gBzYF9n8V8nHO/UrMK0iSKg1I+Ut8Da/S gxvsa1pk8+VuNbf5NlWOX2MsOsaoFkMx32gBs4DVGlAPqAvdJZVlKrVOG9Zm7jjNkYrZ OtGNtiiibh5BvKIWyrJ5CaJKLa253xuFgTy/J3+vILlMrFRHrD6otaugSRA4JfNrTL2X loIw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=5nPeEQHOwBMC01nM4OPQSYsRwbwR/SiN6+hjYoFQbgw=; b=AcG1PBgYCfnDlHdXgUFYOm+9U5kMbEIAGryyyCi4vXvCsRVfhiVv63nMaU5swcoj0t gdGGq3ga+B/xUkFeOU/8EnUAddLbHh8yvdQC0Z/DP3AMz8pFqcW4cSIqLEdOhaWHY92/ 77seHjODRNY2OFa9ZVvz6jmFgtRgh30O9eoaEaM6qJ1Pc9d4A3ErZWFMqMZ02cfvMnOg Twr4olj9aWZyi57IptR6XJfCRaFBV2QsAco0qr/Tzf1kRe8HfxhZmrJ+eR2Wj7snOUmW 4f4CvM18h/PubDBRGs5T25JkIX89U+yKjTeaw0rnwOm52VhxlSKuaPznD10jLHtrryP8 mJPA==
X-Gm-Message-State AIkVDXJzCs2RPTk5zccNn3zhglUY+jNV9XXG7NOM+hbBLbRI+p/vjqmjDsnYzSJ6jZA4Vw==
X-Received by 10.223.152.33 with SMTP id v30mr10823508wrb.180.1483904086543; Sun, 08 Jan 2017 11:34:46 -0800 (PST)
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
X-Mailman-Approved-At Sun, 08 Jan 2017 16:03:09 -0500
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <e107b2df-4d2c-035f-68ff-b399884d5bd6@gmail.com>
Xref csiph.com comp.lang.python.announce:2369

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.8.2. It adds a ton of new features, while
also fixing some bugs.

Key Changes
===========

* A rewrite of all taxonomies (tags, categories, sections, etc.) in a
  generic fashion, allowing for much greater flexibility (by Felix
  Fontein) — adds new settings, enables new features
  (``CREATE_ARCHIVE_NAVIGATION``) and customizability
* Automatic cration of ``year/month/day`` directory structures
  (``NEW_POST_DATE_PATH``)
* Ability to sort posts from within templates (``sort_posts``)
* API changes for post compilers (new ``compile``, ``compile_string``
  functions)
* Addition of a generator meta tag to default themes — we hope you do
  not mind a bit of promotion for Nikola?

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.2
https://pypi.python.org/pypi/Nikola/7.8.2

Changes
=======

**Minor API change:** The ``compile_string`` compiler method (partially
internal) now takes a post argument and returns between two and four
values, adding ``shortcode_deps`` and shortcode support. See issues
#2623 and #2624.

Features
--------

* Add meta generator tag to default templates to promote Nikola
  (Issue #2619)
* Add ``nikola new_post -d`` and ``NEW_POST_DATE_PATH`` to allow
  automatic creation of year/month/day (date-based) directory
  structures (Issue #2513)
* Allow enabling pretty URLs with per-post setting (Issue #2613)
* Add a ``sort_posts`` function (available as Jinja filter in global
  context), which allows general-purpose timeline sorting (Issue
  #2602)
* Allow creating archive navigation (Issue #1639)
* Accept a ``page`` argument for taxonomy paths (Issue #2585)
* Query strings in magic links are passed as keyword arguments to path
  handlers (via Issue #2580)
* Accept arbitrary arguments to path handlers (via Issue #2580)
* Added new ``typogrify_oldschool`` filter (Issue #2574)
* Improving handling of .dep files, and allowing compilers to specify
  additional targets for the ``render_posts`` task (Issue #2536)
* ``render_template`` and ``generic_renderer`` can now create HTML
  fragments.
* Allow posts to set custom ``URL_TYPE`` by using the ``url_type``
  meta tag (useful for HTML fragments inserted using JavaScript)
* Plugins can depend on other plugins being installed (Issue #2533)
* The destination folder in ``POSTS`` and ``PAGES`` can now be
  translated (Issue #2116)
* Pass ``post`` object and ``lang`` to post compilers (Issue #2531)
* Pass ``url_type`` into template's context.
* Make thumbnail naming configurable with ``IMAGE_THUMBNAIL_FORMAT``.
* There is a new plugin category ``Taxonomy`` which allows to easily
  create new taxonomies. All of the existing taxonomies (authors,
  archives, indexes, page index, sections, tags, and categories)
  have been converted to the new system. (Issue #2107)
* Added ``CATEGORIES_INDEX_PATH``, similar to ``TAGS_INDEX_PATH``.
  (Issue #2567)
* Made ``INDEX_PATH``, ``RSS_PATH`` and ``AUTHOR_PATH`` translatable.
  (Issue #1914)
* Added setting ``SHOW_INDEX_PAGE_NAVIGATION`` which enables a basic
  page navigation for indexes. (Issue #2299)
* Added settings ``DISABLE_INDEXES_PLUGIN_INDEX_AND_ATOM_FEED`` and
  ``DISABLE_INDEXES_PLUGIN_RSS_FEED`` to disable specific parts of
  the ``classify_indexes`` taxonomy plugin. (Issue #2591)

Bugfixes
--------

* Work around conflicts between posts and sections trying to render
  index.html files (via Issue #2613)
* Make ``AUTHOR_PAGES_ARE_INDEXES`` really work (Issue #2600)
* WordPress importer now correctly handles &amp; etc. in tags.
  (Issue #2557)
* If ``CODE_COLOR_SCHEME`` is empty, don’t generate ``code.css``
  (Issue #2597)
* Don’t warn about ``nikolademo`` DISQUS account when comments are
  disabled (Issue #2588)
* Make ``data`` from global context available to templated shortcodes
  as ``global_data`` (Issue #2488)
* Don't crash if plugins is a file (Issue #2539)
* Don't mangle bare ``#`` links (Issue #2553)
* ``generic_index_renderer`` now always produces output. It previously
  did not when the post list was empty and ``INDEXES_STATIC == False``.
  (via Issue #2579)


Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Nikola v7.8.2 is out! Chris Warrick <kwpolska@gmail.com> - 2017-01-08 20:34 +0100

csiph-web