Skip to content

Commit

Permalink
sprinkle https all over Nikola
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 23, 2015
1 parent ddd484a commit b4349fd
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 54 deletions.
15 changes: 8 additions & 7 deletions README.rst
Expand Up @@ -33,7 +33,7 @@ It has many features, but here are some of the nicer ones:
* `Blogs, with tags, feeds, archives, comments, etc.`__
* `Themable`_
* Fast builds, thanks to `doit`_
* Flexible, extensible via plugins
* Flexible, extensible via the dozens of `available plugins`_
* Small codebase (programmers can understand all of Nikola core in a day)
* `reStructuredText`_ or Markdown as input language (also Wiki, BBCode, Textile, and HTML)
* Easy `image galleries`_ (just drop files in a folder!)
Expand All @@ -42,12 +42,13 @@ It has many features, but here are some of the nicer ones:
* Doesn't reinvent wheels, leverages existing tools.
* Python 2.7, 3.3 and 3.4 compatible.

.. _Nikola Handbook: http://getnikola.com/handbook.html#why-static
__ http://users.getnikola.com/
.. _Themable: http://themes.getnikola.com
.. _Nikola Handbook: https://getnikola.com/handbook.html#why-static
__ https://users.getnikola.com/
.. _Themable: https://themes.getnikola.com
.. _doit: http://pydoit.org
.. _reStructuredText: http://getnikola.com/quickstart.html
.. _image galleries: http://getnikola.com/galleries/demo/
.. _available plugins: https://plugins.getnikola.com/
.. _reStructuredText: https://getnikola.com/quickstart.html
.. _image galleries: https://getnikola.com/galleries/demo/
__ https://www.transifex.com/projects/p/nikola/

Nikola Architecture
Expand All @@ -70,4 +71,4 @@ For tests (see tests/README.rst for more details)::

pip install Nikola[extras,tests]

For more information, see http://getnikola.com/
For more information, see https://getnikola.com/
4 changes: 2 additions & 2 deletions docs/creating-a-site.txt
Expand Up @@ -43,7 +43,7 @@ configuration file:
BLOG_TITLE = "Not a Blog"
# This is the main URL for your site. It will be used
# in a prominent link
SITE_URL = "http://getnikola.com/"
SITE_URL = "https://getnikola.com/"
BLOG_EMAIL = "ralsina@example.com"
BLOG_DESCRIPTION = "This is a demo site (not a blog) for Nikola."

Expand Down Expand Up @@ -105,7 +105,7 @@ doesn’t matter at all in stories. ``description`` is useful for SEO purposes
if you care for that.

And below, the content. By default you are expected to use
`reStructuredText <http://getnikola.com/quickstart.html>`_ but
`reStructuredText <https://getnikola.com/quickstart.html>`_ but
Nikola supports a ton of formats, including Markdown, plain HTML, BBCode,
Wiki, and Textile.

Expand Down
10 changes: 5 additions & 5 deletions docs/extending.txt
Expand Up @@ -38,7 +38,7 @@ When you run ``nikola --help`` you will see something like this::

$ nikola help
Nikola is a tool to create static websites and blogs. For full documentation and more
information, please visit http://getnikola.com
information, please visit https://getnikola.com/


Available commands:
Expand Down Expand Up @@ -87,7 +87,7 @@ First, the ``serve.plugin`` file:
[Documentation]
Author = Roberto Alsina
Version = 0.1
Website = http://getnikola.com
Website = https://getnikola.com
Description = Start test server.

.. note:: If you want to publish your plugin on the Plugin Index, `read
Expand Down Expand Up @@ -179,7 +179,7 @@ First, you have to create a .plugin file. Here's the one for the Mako plugin:
[Documentation]
Author = Roberto Alsina
Version = 0.1
Website = http://getnikola.com
Website = https://getnikola.com
Description = Support for Mako templates.

.. note:: If you want to publish your plugin on the Plugin Index, `read
Expand Down Expand Up @@ -300,7 +300,7 @@ in the logical ways:
[Documentation]
Author = Roberto Alsina
Version = 0.1
Website = http://getnikola.com
Website = https://getnikola.com
Description = Copy theme assets into output.


Expand Down Expand Up @@ -442,7 +442,7 @@ The only currently existing plugin of this kind reads them from disk.
Plugin Index
============

There is a `plugin index <http://plugins.getnikola.com/>`__, which stores all
There is a `plugin index <https://plugins.getnikola.com/>`__, which stores all
of the plugins for Nikola people wanted to share with the world.

You may want to read the `README for the Index
Expand Down
2 changes: 1 addition & 1 deletion docs/internals.txt
Expand Up @@ -26,7 +26,7 @@ Nikola is a Pile of Plugins

There are several kinds of plugins, all implementing interfaces defined in
``nikola/plugin_categories.py`` and documented in
`Extending Nikola <http://getnikola.com/extending.html>`_
`Extending Nikola <https://getnikola.com/extending.html>`_

If your plugin has a dependency, please make sure it doesn't make Nikola
throw an exception when the dependency is missing. Try to fail gracefully
Expand Down
32 changes: 16 additions & 16 deletions docs/manual.txt
Expand Up @@ -67,7 +67,7 @@ Nikola can do:
* A blog (`example <http://ralsina.me>`__)
* Your company's site
* Your personal site
* A software project's site (`example <http://getnikola.com>`__)
* A software project's site (`example <https://getnikola.com>`__)
* A book's site

Since Nikola-based sites don't run any code on the server, there is no way to process
Expand All @@ -91,13 +91,13 @@ Getting Help

.. class:: lead

`Get help here! <http://getnikola.com/contact.html>`_
`Get help here! <https://getnikola.com/contact.html>`_

TL;DR:

* You can file bugs at `the issue tracker <https://github.com/getnikola/nikola/issues>`__
* You can discuss Nikola at the `nikola-discuss google group <http://groups.google.com/group/nikola-discuss>`_
* You can subscribe to `the Nikola Blog <http://getnikola.com/blog>`_
* You can subscribe to `the Nikola Blog <https://getnikola.com/blog>`_
* You can follow `Nikola on Twitter <https://twitter.com/GetNikola>`_

Why Static?
Expand Down Expand Up @@ -180,7 +180,7 @@ If you want to create a blog or a site, Nikola provides:
* Google sitemap generation
* Custom deployment (if it's a command, you can use it)
* A (very) basic look and feel you can customize, and is even text-mode friendly
* The input format is light markup (`reStructuredText <http://getnikola.com/quickstart.html>`__ or
* The input format is light markup (`reStructuredText <https://getnikola.com/quickstart.html>`__ or
`Markdown <http://daringfireball.net/projects/markdown/>`_)
* Easy-to-create image galleries
* Support for displaying source code
Expand Down Expand Up @@ -308,7 +308,7 @@ The recommended formats are reStructuredText and Markdown, but there is also sup
for Textile and WikiCreole and even for just writing HTML. For more details,
read `Configuring other input formats`_.

.. note:: There is a great `quick tutorial to learn reStructuredText. <http://getnikola.com/quickstart.html>`__
.. note:: There is a great `quick tutorial to learn reStructuredText. <https://getnikola.com/quickstart.html>`__

First, let's see how you "build" your site. Nikola comes with a minimal site to get you started.

Expand Down Expand Up @@ -372,7 +372,7 @@ and even individual files like ``nikola build output/index.html``
Nikola also has other commands besides ``build``::

$ nikola help
Nikola is a tool to create static websites and blogs. For full documentation and more information, please visit http://getnikola.com/
Nikola is a tool to create static websites and blogs. For full documentation and more information, please visit https://getnikola.com/


Available commands:
Expand Down Expand Up @@ -439,7 +439,7 @@ but you can use a lot of different markups using the ``-f`` option.

Currently Nikola supports reStructuredText, Markdown, IPython Notebooks, HTML as input,
can also use Pandoc for conversion, and has support for BBCode, CreoleWiki, txt2tags, Textile
and more via `plugins <http://plugins.getnikola.com>`__.
and more via `plugins <https://plugins.getnikola.com>`__.
For more details, read `Configuring other input formats`_.

You can control what markup compiler is used for each file extension with the ``COMPILERS``
Expand Down Expand Up @@ -620,7 +620,7 @@ Currently supported languages are:
* Urdu

If you wish to add support for more languages, check out the instructions
at the `theming guide <http://getnikola.com/theming.html>`_.
at the `theming guide <https://getnikola.com/theming.html>`_.

The post page is generated using the ``post.tmpl`` template, which you can use
to customize the output.
Expand Down Expand Up @@ -872,7 +872,7 @@ You surely want to edit these options::
# Data about this site
BLOG_AUTHOR = "Your Name" # (translatable)
BLOG_TITLE = "Demo Site" # (translatable)
SITE_URL = "http://getnikola.com/"
SITE_URL = "https://getnikola.com/"
BLOG_EMAIL = "joe@demo.site"
BLOG_DESCRIPTION = "This is a demo site for Nikola." # (translatable)

Expand Down Expand Up @@ -904,8 +904,8 @@ CSS tweaking

If you want to use LESS_ or Sass_ for your custom CSS, or the theme you use
contains LESS or Sass code that you want to override, you will need to install
the `LESS plugin <http://plugins.getnikola.com/#less>`__ or
`SASS plugin <http://plugins.getnikola.com/#sass>`__ create a ``less`` or
the `LESS plugin <https://plugins.getnikola.com/#less>`__ or
`SASS plugin <https://plugins.getnikola.com/#sass>`__ create a ``less`` or
``sass`` directory in your site root, put your ``.less`` or ``.scss`` files
there and a targets file containing the list of files you want compiled.

Expand Down Expand Up @@ -1057,7 +1057,7 @@ Getting More Themes
-------------------

There are a few themes for Nikola. They are available at
the `Themes Index <http://themes.getnikola.com/>`_.
the `Themes Index <https://themes.getnikola.com/>`_.
Nikola has a built-in theme download/install mechanism to install those themes — the ``install_theme`` command::

$ nikola install_theme -l
Expand All @@ -1070,7 +1070,7 @@ Nikola has a built-in theme download/install mechanism to install those themes

$ nikola install_theme blogtxt
[2013-10-12T16:46:13Z] NOTICE: install_theme: Downloading:
http://themes.getnikola.com/v6/blogtxt.zip
https://themes.getnikola.com/v6/blogtxt.zip
[2013-10-12T16:46:15Z] NOTICE: install_theme: Extracting: blogtxt into themes

And there you are, you now have themes/blogtxt installed. It's very
Expand Down Expand Up @@ -1830,7 +1830,7 @@ directories listed in the ``EXTRA_PLUGINS_DIRS`` configuration variable.
Getting Extra Plugins
---------------------

If you want extra plugins, there is also the `Plugins Index <http://plugins.getnikola.com/>`_.
If you want extra plugins, there is also the `Plugins Index <https://plugins.getnikola.com/>`_.

Similarly to themes, there is a nice, built-in command to manage them —
``plugin``::
Expand All @@ -1844,7 +1844,7 @@ Similarly to themes, there is a nice, built-in command to manage them —

$ nikola plugin --install helloworld
[2013-10-12T16:51:56Z] NOTICE: install_plugin: Downloading: http://plugins.getnikola.com/v6/helloworld.zip
[2013-10-12T16:51:56Z] NOTICE: install_plugin: Downloading: https://plugins.getnikola.com/v6/helloworld.zip
[2013-10-12T16:51:58Z] NOTICE: install_plugin: Extracting: helloworld into plugins
plugins/helloworld/requirements.txt
[2013-10-12T16:51:58Z] NOTICE: install_plugin: This plugin has Python dependencies.
Expand Down Expand Up @@ -1872,7 +1872,7 @@ And upgrade them::
[2014-04-15T09:00:18Z] WARNING: plugin: This is not very smart, it just reinstalls some plugins and hopes for the best
Will upgrade 1 plugins: graphviz
Upgrading graphviz
[2014-04-15T09:00:20Z] INFO: plugin: Downloading: http://plugins.getnikola.com/v7/graphviz.zip
[2014-04-15T09:00:20Z] INFO: plugin: Downloading: https://plugins.getnikola.com/v7/graphviz.zip
[2014-04-15T09:00:20Z] INFO: plugin: Extracting: graphviz into /home/ralsina/.nikola/plugins/
[2014-04-15T09:00:20Z] NOTICE: plugin: This plugin has third-party dependencies you need to install manually.
Contents of the requirements-nonpy.txt file:
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/index.txt
Expand Up @@ -3,7 +3,7 @@ Nikola Documentation

Those are the docs for the current GitHub master. It might be incompatible
with the stable release. The docs for the stable release are available `on
the Nikola website <http://getnikola.com/documentation.html>`_.
the Nikola website <https://getnikola.com/documentation.html>`_.

.. toctree::
:maxdepth: 5
Expand Down
2 changes: 1 addition & 1 deletion nikola/__main__.py
Expand Up @@ -178,7 +178,7 @@ def print_usage(cmds):
# --strict, --invariant and --quiet.
del cmds['run']

print("Nikola is a tool to create static websites and blogs. For full documentation and more information, please visit http://getnikola.com/\n\n")
print("Nikola is a tool to create static websites and blogs. For full documentation and more information, please visit https://getnikola.com/\n\n")
print("Available commands:")
for cmd_name in sorted(cmds.keys()):
cmd = cmds[cmd_name]
Expand Down
6 changes: 3 additions & 3 deletions nikola/data/samplesite/README.txt
@@ -1,6 +1,6 @@
This folder contains the source used to generate a static site by nikola.
This folder contains the source used to generate a static site using Nikola.

Installation and documentation at http://getnikola.com
Installation and documentation at https://getnikola.com/

Configuration file for the site is `conf.py`.

Expand All @@ -12,7 +12,7 @@ To see it::

nikola serve

And point your browser to http://localhost:8000
And point your browser to http://localhost:8000/


To check all available commands::
Expand Down
4 changes: 2 additions & 2 deletions nikola/data/samplesite/posts/1.rst
Expand Up @@ -3,7 +3,7 @@
.. date: 2012-03-30 23:00:00 UTC-03:00
.. tags: nikola, python, demo, blog
.. author: Roberto Alsina
.. link: http://getnikola.com
.. link: https://getnikola.com/
.. description:
.. category: nikola
Expand All @@ -16,7 +16,7 @@ If you can see this in a web browser, it means you have managed to install Nikol
and build a site using it. Congratulations!

* You can read the manual `here </stories/handbook.html>`__
* You can learn more about Nikola at http://getnikola.com
* You can learn more about Nikola at https://getnikola.com/
* You can see a demo photo gallery `here </galleries/demo/index.html>`__
* Demo usage of listings `here </stories/listings-demo.html>`__
* Demo of slideshows `here </stories/slides-demo.html>`__
Expand Down
4 changes: 2 additions & 2 deletions nikola/data/samplesite/stories/1.rst
Expand Up @@ -7,5 +7,5 @@
Hope you enjoy this software!

* Home page at http://getnikola.com
* Author's blog (and reason why Nikola exists): http://ralsina.me
* Home page at https://getnikola.com/
* Author's blog (and reason why Nikola exists): http://ralsina.me/
2 changes: 1 addition & 1 deletion nikola/data/samplesite/stories/bootstrap-demo.rst
Expand Up @@ -2,7 +2,7 @@
.. slug: bootstrap-demo
.. date: 2012-03-30 23:00:00 UTC-03:00
.. tags: bootstrap, demo
.. link: http://getnikola.com
.. link: https://getnikola.com
.. description:
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/bootstrap-jinja/README.md
Expand Up @@ -3,7 +3,7 @@ A "website-done-with-bootstrap" theme, so to speak.
Has a fixed navigation bar at top that displays the NAVIGATION_LINKS
setting and supports nested menus.

This theme is used in Nikola's website: http://getnikola.com
This theme is used in Nikola's website: https://getnikola.com

Important: To fit in the bootstrap navigation bar, the search form needs the
navbar-form and pull-left CSS classes applied. Here is an example with Nikola's
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/bootstrap/README.md
Expand Up @@ -3,7 +3,7 @@ A "website-done-with-bootstrap" theme, so to speak.
Has a fixed navigation bar at top that displays the NAVIGATION_LINKS
setting and supports nested menus.

This theme is used in Nikola's website: http://getnikola.com
This theme is used in Nikola's website: https://getnikola.com

Important: To fit in the bootstrap navigation bar, the search form needs the
navbar-form and pull-left CSS classes applied. Here is an example with Nikola's
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/command/init.py
Expand Up @@ -442,7 +442,7 @@ def chandler(default, toconf):
STORAGE['target'] = answer

print("\nThat's it, Nikola is now configured. Make sure to edit conf.py to your liking.")
print("If you are looking for themes and addons, check out http://themes.getnikola.com/ and http://plugins.getnikola.com/.")
print("If you are looking for themes and addons, check out https://themes.getnikola.com/ and https://plugins.getnikola.com/.")
print("Have fun!")
return STORAGE

Expand Down
4 changes: 2 additions & 2 deletions nikola/plugins/command/install_theme.py
Expand Up @@ -85,8 +85,8 @@ class CommandInstallTheme(Command):
'long': 'url',
'type': str,
'help': "URL for the theme repository (default: "
"http://themes.getnikola.com/v7/themes.json)",
'default': 'http://themes.getnikola.com/v7/themes.json'
"https://themes.getnikola.com/v7/themes.json)",
'default': 'https://themes.getnikola.com/v7/themes.json'
},
]

Expand Down
4 changes: 2 additions & 2 deletions nikola/plugins/command/plugin.py
Expand Up @@ -105,8 +105,8 @@ class CommandPlugin(Command):
'long': 'url',
'type': str,
'help': "URL for the plugin repository (default: "
"http://plugins.getnikola.com/v7/plugins.json)",
'default': 'http://plugins.getnikola.com/v7/plugins.json'
"https://plugins.getnikola.com/v7/plugins.json)",
'default': 'https://plugins.getnikola.com/v7/plugins.json'
},
{
'name': 'user',
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/compile/ipynb/README.rst
Expand Up @@ -8,7 +8,7 @@
(or ``ipython-xkcd``, if you want xkcd styling)

More info here about themes:
http://getnikola.com/handbook.html#getting-more-themes
https://getnikola.com/handbook.html#getting-more-themes

If you want to use your own theme, copy the ``ipython.min.css`` and
``nikola_ipython.css`` files from ``ipython`` to your theme (and include them
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/compile/rest/__init__.py
Expand Up @@ -231,7 +231,7 @@ def visit_Math(self, node):
def depart_Math(self, node):
self.body.append('</math>')
For full example, you can refer to `Microdata plugin <http://plugins.getnikola.com/#microdata>`_
For full example, you can refer to `Microdata plugin <https://plugins.getnikola.com/#microdata>`_
"""
docutils.nodes._add_node_class_names([node.__name__])
if visit_function:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -117,7 +117,7 @@ def run(self):
long_description=open('README.rst').read(),
author='Roberto Alsina and others',
author_email='ralsina@netmanagers.com.ar',
url='http://getnikola.com',
url='https://getnikola.com/',
packages=['nikola',
'nikola.plugins',
'nikola.plugins.command',
Expand Down

0 comments on commit b4349fd

Please sign in to comment.