Quick Start

After site initialisation you must have these file structure:

./
├── content/
├── layouts/
├── Makefile
├── settings.toml
└── static/

Articles must be placed into content/ dir and have '.rst' extension.

Also you can place article into subdirectory as following:

./
└── content/
    └── hello_world/
        └── index.rst

Articles can be nesting as deep as your filesystem allows (usually very deep).

You need to create page template first.

Create layouts/template.jinja2 with content:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>{{ page.title }}</title>
  </head>
<body>
   {{ html | safe }}
</body>
</html>

Now create first page content/index.rst:

:title: Hello, World!
:date: 1970-01-01

=============
Hello, World!
=============

Hello, there! This is my first site built with *re*\ **Structured**\ *Web*!

Build your site with command:

rsw build
# OR
make

build/ directory will be created. Run local HTTP-server to view site:

make serve

Local server will be started at http://127.0.0.1:8080/.