Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getnikola/nikola
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d41be895c048
Choose a base ref
...
head repository: getnikola/nikola
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0d7c0b045c4a
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Sep 21, 2015

  1. Print Unicode in rst2html

    Signed-off-by: Chris Warrick <kwpolska@gmail.com>
    Kwpolska committed Sep 21, 2015
    Copy the full SHA
    0612e9b View commit details
  2. Make path handlers list horizontal

    Signed-off-by: Chris Warrick <kwpolska@gmail.com>
    Kwpolska committed Sep 21, 2015
    Copy the full SHA
    0d7c0b0 View commit details
Showing with 2 additions and 1 deletion.
  1. +1 −1 nikola/plugins/command/rst2html/__init__.py
  2. +1 −0 scripts/document_path_handlers.py
2 changes: 1 addition & 1 deletion nikola/plugins/command/rst2html/__init__.py
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@ def _execute(self, options, args):
parser = lxml.html.HTMLParser(remove_blank_text=True)
doc = lxml.html.document_fromstring(template_output, parser)
html = b'<!DOCTYPE html>\n' + lxml.html.tostring(doc, encoding='utf8', method='html', pretty_print=True)
print(html)
print(html.decode('utf-8'))
if error_level < 3:
return 0
else:
1 change: 1 addition & 0 deletions scripts/document_path_handlers.py
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
Nikola supports special links with the syntax ``link://kind/name``. Here is
the description for all the supported kinds.
.. class:: dl-horizontal
""")

for k in sorted(n.path_handlers.keys()):