From 5738ad3cef9942ce90b841a5c7eaef3c9d714993 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 6 Sep 2017 20:03:22 +0200 Subject: Strip documentation intro that duplicates the README --- askama/src/lib.rs | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 337a7e0..fadd0b0 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -4,30 +4,8 @@ //! This is done using a custom derive implementation (implemented //! in [`askama_derive`](https://crates.io/crates/askama_derive)). //! -//! # Example template -//! -//! ```text -//! {% extends "layout.html" %} -//! {% block body %} -//! -//! {% endblock %} -//! ``` -//! -//! # Feature highlights -//! -//! * Construct templates using a familiar, easy-to-use syntax -//! * Benefit from the safety provided by Rust's type system -//! * Optional built-in support for Rocket and Iron web frameworks -//! * Template code is compiled into your crate for optimal performance -//! * Templates only convert your data as needed -//! * Templates can access your Rust types directly, according to Rust's privacy rules -//! * Debugging features to assist you in template development -//! * Templates must be valid UTF-8 and produce UTF-8 when rendered -//! * Works on stable Rust +//! For feature highlights and a quick start, please review the +//! [README](https://github.com/djc/askama/blob/master/README.md). //! //! # Creating Askama templates //! -- cgit