From c9e4caaffd75fe7fb799a35333a14e06485afc4c Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Mon, 5 Jun 2017 17:11:02 +0200 Subject: [PATCH] Version 7.8.7 Signed-off-by: Chris Warrick --- CHANGES.txt | 24 +++++++++++++++++++++++- docs/extending.txt | 2 +- docs/man/nikola.1.gz | Bin 1783 -> 1784 bytes docs/man/nikola.rst | 2 +- docs/manual.txt | 11 ++++++----- docs/social_buttons.txt | 2 +- docs/sphinx/conf.py | 4 ++-- docs/support.rst | 2 +- docs/template-variables.rst | 2 +- docs/theming.txt | 2 +- nikola/__init__.py | 2 +- setup.py | 2 +- snapcraft.yaml | 2 +- 13 files changed, 40 insertions(+), 17 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 71aa6a2a4b..feb2d4937f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,28 @@ -New in master +New in v7.8.7 ============= +In an effort to improve interoperability with other static site +generators, make importing data easier, and help with world +domination, Nikola v7.8.7 ships with support for the following +metadata formats: + +* reST-style comments (``.. name: value`` — default format) +* Two-file format (reST-style comments or 7-line) +* Jupyter Notebook metadata +* YAML, between ``---`` (Jekyll, Hugo) +* TOML, between ``+++`` (Hugo) +* reST docinfo (Pelican) +* Markdown metadata extension (Pelican) + +In addition, Markdown is now enabled and required by default. +More details: + +The release also fixes two important bugs, one that crashes when +trying to detect locale in some edge cases, and another which made +some themes quietly leak template files. If you’re using a +Jinja2-based theme that does not have its own ``parent`` file, please +force a rebuild (``nikola build -a``). + Features -------- diff --git a/docs/extending.txt b/docs/extending.txt index 7e377a292f..86cb58eaaa 100644 --- a/docs/extending.txt +++ b/docs/extending.txt @@ -9,7 +9,7 @@ Extending Nikola ================ -:Version: 7.8.6 +:Version: 7.8.7 :Author: Roberto Alsina .. class:: alert alert-info pull-right diff --git a/docs/man/nikola.1.gz b/docs/man/nikola.1.gz index 11d36a7279bf61eeb8c405eb7b93a3999ef93808..06ea491fbcececdba4fbf3c142b38346ef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e|KqH7F-09gQ!ik6e|ubtVyM{Ay`URoJNhBs>_{- z1^q9CZHy9fvff2nTdg7y|p|uTKq891mseE6rLIQm?dNYo2X%R)SqC@$R%8Co# zr=mpi?GLZEBJ@GZiajW~^n8CDgl;~7<il!?zbH>wXDnYQ;r%nb>9 z*@&6M=88nUJsHMeJ3she`jrM7+84_KVc{_Uphguj0EU%xg=x=G8htdpgce<;*HlILXGq1!6g zv(7)X<9=6cbI`7-pSAMhGvc_>?}}q_SDcH!u^}cLS@>3q+}X+IQfV@kE15l6vgrtPv~FF=)6r^fi__= zOu5M`@1xhlsn3L-e-&J%__y$F*yx4k5#YslO$b)f-JKsHNN@Oz<9OnIYWKVQ3%IWv z8PIV)xcPYf`Ab*xe1XDQ?vh=g8Az&`e(CTKP~R)V@t4cNXw<(LOp?Qy*awL=xlrzX zGo>4(Z;ub*4g-}H-CW;}eaHm$&(Ck6d9qotPNZ|cF!c-Ve?7^sy!9)px_=vT>F-z> zUyx1ZlZYEYI~;Z`5Dkoc$$IofP>T65`DyN4W#1hix56=)CuokrF2~_wy^YD&Gr1Si?`$BB z!}ooFL3A(Pf0OZrckNw*>`3*IBYB*3JQ+Cp^wUM)=P+8wVYK2UYtxEQuO54C$#MIk z_?-1OW`1iL45~`YYTbx1qK@-8}sscJr;^#WV9(D4x5r*itYG*UT5s v^B@$ddp!OaXuN@5tmiLARc6x0sRFlFq5ZEWehk+93**Rti$T66O%VV9bAo3y diff --git a/docs/man/nikola.rst b/docs/man/nikola.rst index cf2dac9ef7..adb661d5e2 100644 --- a/docs/man/nikola.rst +++ b/docs/man/nikola.rst @@ -6,7 +6,7 @@ Nikola A Static Site and Blog Generator -------------------------------- -:Version: Nikola 7.8.6 +:Version: Nikola 7.8.7 :Manual section: 1 :Manual group: User Commands diff --git a/docs/manual.txt b/docs/manual.txt index b36c941d07..4a601dc7ab 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -9,7 +9,7 @@ The Nikola Handbook =================== -:Version: 7.8.6 +:Version: 7.8.7 .. class:: alert alert-info pull-right @@ -2097,10 +2097,11 @@ filters.add_header_permalinks This is required if you use a custom theme that does not use ``"e-content entry-content"`` as a class for post and page contents. .. code:: python - # Default value: - HEADER_PERMALINKS_XPATH_LIST = ['*//div[@class="e-content entry-content"]//{hx}'] - # Include *every* header (not recommended): - # HEADER_PERMALINKS_XPATH_LIST = ['*//{hx}'] + + # Default value: + HEADER_PERMALINKS_XPATH_LIST = ['*//div[@class="e-content entry-content"]//{hx}'] + # Include *every* header (not recommended): + # HEADER_PERMALINKS_XPATH_LIST = ['*//{hx}'] filters.deduplicate_ids diff --git a/docs/social_buttons.txt b/docs/social_buttons.txt index a57a0415cb..60e50c2ac3 100644 --- a/docs/social_buttons.txt +++ b/docs/social_buttons.txt @@ -9,7 +9,7 @@ Using Alternative Social Buttons with Nikola ============================================ -:Version: 7.8.6 +:Version: 7.8.7 .. class:: alert alert-info pull-right diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 4d9edb3a05..88f683472f 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -51,9 +51,9 @@ # built documents. # # The short X.Y version. -version = '7.8.6' +version = '7.8.7' # The full version, including alpha/beta/rc tags. -release = '7.8.6' +release = '7.8.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/support.rst b/docs/support.rst index f2b7d0a6a4..10438b5c48 100644 --- a/docs/support.rst +++ b/docs/support.rst @@ -4,7 +4,7 @@ .. description: Get help using Nikola, or contact us. .. author: The Nikola Team -:Version: 7.8.6 +:Version: 7.8.7 .. class:: alert alert-info pull-right diff --git a/docs/template-variables.rst b/docs/template-variables.rst index 32271af508..b704bcd6cd 100644 --- a/docs/template-variables.rst +++ b/docs/template-variables.rst @@ -3,7 +3,7 @@ .. date: 2017-04-13 12:00:00 .. author: The Nikola Team -:Version: 7.8.6 +:Version: 7.8.7 :Author: Chris Warrick Variables available in templates are listed below. diff --git a/docs/theming.txt b/docs/theming.txt index bfeca40454..f34d2c6e4c 100644 --- a/docs/theming.txt +++ b/docs/theming.txt @@ -9,7 +9,7 @@ Theming Nikola ============== -:Version: 7.8.6 +:Version: 7.8.7 :Author: Roberto Alsina .. class:: alert alert-info pull-right diff --git a/nikola/__init__.py b/nikola/__init__.py index ad68cbf57f..6b020e3dee 100644 --- a/nikola/__init__.py +++ b/nikola/__init__.py @@ -29,7 +29,7 @@ from __future__ import absolute_import import os -__version__ = '7.8.6' +__version__ = '7.8.7' DEBUG = bool(os.getenv('NIKOLA_DEBUG')) from .nikola import Nikola # NOQA diff --git a/setup.py b/setup.py index 3f9d291df7..c31e770f90 100755 --- a/setup.py +++ b/setup.py @@ -116,7 +116,7 @@ def run(self): setup(name='Nikola', - version='7.8.6', + version='7.8.7', description='A modular, fast, simple, static website and blog generator', long_description=open('README.rst').read(), author='Roberto Alsina and others', diff --git a/snapcraft.yaml b/snapcraft.yaml index a1198560b3..748e3052b7 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: nikola -version: 7.8.6 +version: 7.8.7 summary: A static website generator description: A static website generator confinement: strict