Strip documentation intro that duplicates the README

This commit is contained in:
Dirkjan Ochtman 2017-09-06 20:03:22 +02:00
parent 2543b34228
commit 5738ad3cef

View File

@ -4,30 +4,8 @@
//! This is done using a custom derive implementation (implemented //! This is done using a custom derive implementation (implemented
//! in [`askama_derive`](https://crates.io/crates/askama_derive)). //! in [`askama_derive`](https://crates.io/crates/askama_derive)).
//! //!
//! # Example template //! For feature highlights and a quick start, please review the
//! //! [README](https://github.com/djc/askama/blob/master/README.md).
//! ```text
//! {% extends "layout.html" %}
//! {% block body %}
//! <ul>
//! {% for user in users %}
//! <li><a href="{{ user.url }}">{{ user.username }}</a></li>
//! {% endfor %}
//! </ul>
//! {% 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
//! //!
//! # Creating Askama templates //! # Creating Askama templates
//! //!