Commit e847a909 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'readme' into 'master'

Update readme

Changed the image in the readme with the image actually used. Removed
unneeded info.

See merge request !2
parents febdd18e ae464680
Pipeline #3713167 passed with stages
in 31 seconds
...@@ -27,25 +27,25 @@ This project's static Pages are built by [GitLab CI][ci], following the steps ...@@ -27,25 +27,25 @@ This project's static Pages are built by [GitLab CI][ci], following the steps
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml): defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
``` ```
image: python:3.5 image: paddyhack/nikola
- nikola build
- master
pages: pages:
script: script:
- apt-get update && apt-get install locales-all
- pip install "nikola[extras]"
- nikola build - nikola build
artifacts: artifacts:
paths: paths:
- public - public
- master
``` ```
This basically means: use Python 3.5, install the `locales-all` package and install Nikola. This basically means: use the `paddyhack/nikola` image, which will install Nikola with all its features (`"nikola [extras]"`), and build the site.
Note that installing `locales-all` won't be needed when testing locally. It is needed here because only the `C` and `posix` locales are installed by default. This default configuration would cause Nikola to warn about missing locales or even fail to build the site.
Optional features for Nikola are included by using the `[extra]` flag, such as Markdown and Jinja2 (instead of just installing Docutils and Maco). You can drop the `[extras]` part and install them by hand if you need them instead. This is documented in [Nikola's getting started guide.](
## Building locally ## Building locally
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment