From 330ccc171895beef2fd1c5192c551120920ff990 Mon Sep 17 00:00:00 2001 From: Fred Pauchet Date: Wed, 16 Sep 2020 21:53:02 +0200 Subject: [PATCH] Links to drone.grimbox.be. --- .drone.yml | 14 ++++++++++++++ README.md | 26 +++----------------------- 2 files changed, 17 insertions(+), 23 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8101482 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +pipeline: + build-pdf: + image: asciidoctor/docker-asciidoctor + commands: + - make pdf + release: + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_token + base_url: https://sources.grimbox.be + files: source/main.pdf + when: + event: tag \ No newline at end of file diff --git a/README.md b/README.md index 8a70e74..ef216b5 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,14 @@ # Installation -Ce livre peut être compilé avec [Sphinx](...). +[![Build Status](https://drone.grimbox.be/api/badges/fred/gwift-book/status.svg)](https://drone.grimbox.be/fred/gwift-book) -Les lexers Pygments disponibles se trouvent sur cette page: http://pygments.org/docs/lexers/. Les principaux utilisés seront: - - * `shell` - * `python` +Ce livre peut être compilé avec [AsciiDoctor](...). ## Dépendances ```bash -apt install texlive-latex-base latexmk texlive-latex-extra texlive-xetex -apt install plantuml ruby-asciidoctor-plantuml -``` - -## Sortie en PDF - -```bash -pandoc -s --toc gwift.rst -o output.pdf --pdf-engine=xelatex -``` - -## Environnement - -```bash -cd ~/ -python3 -m venv .venvs/gwift-book -source .venvs/gwift-book/bin/activate -pip install -r requirements/base.txt - +$ apt install plantuml ruby-asciidoctor-plantuml $ gem install asciidoctor-pdf --pre $ gem install rouge $ gem install asciidoctor-diagram