CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ar
en
.gitignore
LANGS.md
LICENSE.txt
README.md

README.md

Introduction

Waiting is a book by Noura Ghazi Safadi, a Syrian human rights lawyer, born in Damascus in 1981, written to her husband Bassel Khartabil Safadi from 2012-2015, while he was imprisoned by the Syrian government in Damascus. waiting4bassel.cc/

This repository contains the Markdown source code in Gitbook format, which can be used to generate HTML and EPUB versions of the book.

Requirements

  • Node.js
  • NPM
  • Gitbook npm install gitbook-cli -g

Instructions

Preview the book website on http://localhost:4000

gitbook serve

Build a static website:

gitbook build

EPUB

Generate an EPUB:

gitbook epub . Waiting.epub

As of writing there are bugs in the gitbook toolchain that prevent it from generating EPUB files that will pass all validation checks. In order to overcome these problems, you can use a forked version of gitbook.

Clone the forked version:

git clone -b custom git@github.com:christopheradams/gitbook.git ~/gitbook-custom
cd ~/gitbook-custom
npm install

Link the gitbook command to the custom version:

gitbook versions:link ~/gitbook-custom

Now every time you run the gitbook command, it will use the custom version.

You can see what version you are using with the command:

gitbook versions

To stop using the custom version:

gitbook versions:uninstall latest

Translation

For Normal People

For Developers

Right now, best is to:

  • Clone the repository.
  • Copy the "en" folder and change to your language ISO code.
  • Add your language to lang.md
  • Translate the content inside your changed folder.
  • Commit your changes to a new branch.
  • When ready, send a pull request for your changes to this master repository.

Questions

Please email info@waiting4bassel.cc

License

CC0 1.0 Universal (CC0 1.0)