diff --git a/README.md b/README.md index 53a362c7..982c7da9 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Downloads](https://img.shields.io/crates/d/rew)](https://crates.io/crates/rew) [![License](https://img.shields.io/crates/l/rew.svg)](https://github.com/jpikl/rew/blob/master/LICENSE.md) - + **rew** is a collection of small command-line tools for text processing, bundled in a single binary. @@ -17,13 +17,13 @@ These tools try to follow the Unix philosophy: - They process text streams. - They are easily composable. - + ## Documentation Visit [rew website](https://jpikl.github.io/rew) for installation instructions, usage and more. - + ## Showcase @@ -101,7 +101,7 @@ Or into a tool like [GNU parallel](https://www.gnu.org/software/parallel/paralle > find src -type f | rew x 'mv {} dst/{base}.{ext | lower | replace eg g}' | parallel ``` -You are not limited only to `rew` subcommands. Call whatever tool you like. +You are not limited only to `rew` subcommands. Call whatever tool you like. For example, let's use `sed` instead of `rew replace` command: ```sh @@ -110,7 +110,7 @@ For example, let's use `sed` instead of `rew replace` command: Have fun using rew! - + ## License diff --git a/book.toml b/book.toml index 4de6624e..da59630d 100644 --- a/book.toml +++ b/book.toml @@ -8,5 +8,3 @@ src = "docs" [output.html] git-repository-url = "https://github.com/jpikl/rew" git-repository-icon = "fa-github" - -[preprocessor.cmdrun] diff --git a/docs/README.md b/docs/README.md index 207f575b..0e7822f5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,7 @@ # Introduction - +{{#include ../README.md:description}} +{{#include ../README.md:showcase}} ## License diff --git a/docs/import.sh b/docs/import.sh deleted file mode 100755 index d9b469bc..00000000 --- a/docs/import.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -EMIT=false - -# Import everything that is between the following markers -while read -r LINE; do - if [[ $LINE == '' ]] ; then - EMIT=true - elif [[ $LINE == '' ]]; then - EMIT=false - elif [[ $EMIT == true ]]; then - echo "$LINE" - fi -done <"$1"