Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
18 changed files
with
78 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -9,7 +9,7 @@ | ||
Extending Nikola | ||
================ | ||
|
||
:Version: v7.7.6 | ||
:Version: 7.7.6 | ||
:Author: Roberto Alsina <ralsina@netmanagers.com.ar> | ||
|
||
.. class:: alert alert-info pull-right | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -6,7 +6,7 @@ Nikola | ||
A Static Site and Blog Generator | ||
-------------------------------- | ||
|
||
:Version: Nikola vv7.7.6 | ||
:Version: Nikola v7.7.6 | ||
:Manual section: 1 | ||
:Manual group: User Commands | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -9,7 +9,7 @@ | ||
The Nikola Handbook | ||
=================== | ||
|
||
:Version: v7.7.6 | ||
:Version: 7.7.6 | ||
|
||
.. class:: alert alert-info pull-right | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -9,7 +9,7 @@ | ||
Using Alternative Social Buttons with Nikola | ||
============================================ | ||
|
||
:Version: v7.7.6 | ||
:Version: 7.7.6 | ||
|
||
.. class:: alert alert-info pull-right | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -9,7 +9,7 @@ | ||
Theming Nikola | ||
============== | ||
|
||
:Version: v7.7.6 | ||
:Version: 7.7.6 | ||
:Author: Roberto Alsina <ralsina@netmanagers.com.ar> | ||
|
||
.. class:: alert alert-info pull-right | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -29,7 +29,7 @@ | ||
from __future__ import absolute_import | ||
import os | ||
|
||
__version__ = "v7.7.6" | ||
__version__ = "7.7.6" | ||
DEBUG = bool(os.getenv('NIKOLA_DEBUG')) | ||
|
||
from .nikola import Nikola # NOQA | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,8 +1,8 @@ | ||
-r requirements-extras.txt | ||
mock==1.3.0 | ||
coverage==4.0.3 | ||
pytest==2.8.7 | ||
pytest==2.9.0 | ||
pytest-cov==2.2.1 | ||
freezegun==0.3.6 | ||
python-coveralls==2.6.0 | ||
python-coveralls==2.7.0 | ||
colorama>=0.3.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,19 +1,27 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
import subprocess | ||
import sys | ||
import os | ||
import argparse | ||
|
||
if not os.path.exists('.pypt/gh-token'): | ||
print("To use this script, you must create a GitHub token first.") | ||
print("Get a token here: https://github.com/settings/tokens") | ||
print("Then, put it in a file named .pypt/gh-token") | ||
exit(1) | ||
|
||
inpf = input if sys.version_info[0] == 3 else raw_input | ||
parser = argparse.ArgumentParser(description="GitHub Release helper") | ||
parser.add_argument("FILE", nargs=1, help="Markdown file to use") | ||
parser.add_argument("TAG", nargs=1, help="Tag name (usually vX.Y.Z)") | ||
|
||
args = parser.parse_args() | ||
|
||
if not args.TAG[0].startswith("v"): | ||
print("WARNING: tag should start with v") | ||
i = input("Add `v` to tag? [y/n] ") | ||
if i.lower().strip().startswith('y'): | ||
args.TAG[0] = 'v' + args.TAG[0] | ||
|
||
FILE = inpf("Markdown file to use: ") | ||
BASEDIR = os.getcwd() | ||
REPO = 'getnikola/nikola' | ||
TAG = inpf("Tag name (usually vX.Y.Z): ") | ||
|
||
subprocess.call(['.pypt/ghrel', FILE, BASEDIR, REPO, TAG]) | ||
subprocess.call(['.pypt/ghrel', args.FILE[0], BASEDIR, REPO, args.TAG[0]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters