SCHREIB

NAME
SYNOPSIS
DESCRIPTION
COMMANDS
OPTIONS
FILES
ERROR CODES
TIPS
SEE ALSO
AUTHORS

NAME

schreib − multilingual website system

SYNOPSIS

schreib [ -d DIR ] [ -q | -v ] {b,i,d,a}

DESCRIPTION

Schreibblockade is a website management system that allows easy management of multilingual sites. In schreibblockade, the text for different translations of the same page are kept in the same file, allowing common sections.

Schreibblockade is based on poole, written by Oben Sonne

COMMANDS

build, b [-m EXT] [-b URL]

Builds the website

init, i

Initializes a new website with example content.

deploy, d [-m EXT] [-b URL]

Deploys the website. Runs ./schreibdeploy.sh if it exists to deploy the website on the server.

add, a PATH

Adds a new page. PATH is relative to the project root directory (see -d ). Runs your $EDITOR to edit it.

OPTIONS

-m EXT

Adds extensions EXT to the markdown converter

-b URL

Base url for relative links (Default: /)

-d DIR

Set the base directory for the website. Default: when building, descend from the current directory until a project directory is found.

-q

Supress all output

-v

Add informational output (May flood your terminal).

--no-start-editor

For the add command, do not start $EDITOR.

FILES

./macros.py

This file stores macros that can be accessed from the pages.

./schreibdeploy.sh

This script is run when deploying the website.

./page.html

The template for your website.

ERROR CODES

1

Syntax error

12

Could not find project directory.

13

Could not find deploy script.

20

Python error

30

Initialization error: Directory not empty.

112

Other errors.

TIPS

It is advised to use a versioning system to track changes to the website.

SEE ALSO

git(1)

AUTHORS

Gabriel Pérez-Cerezo wrote this manpage in 2016