gazetta_core/lib.rs
1// Copyright (C) 2015 Steven Allen
2//
3// This file is part of gazetta.
4//
5// This program is free software: you can redistribute it and/or modify it under the terms of the
6// GNU General Public License as published by the Free Software Foundation version 3 of the
7// License.
8//
9// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11// the GNU General Public License for more details.
12//
13// You should have received a copy of the GNU General Public License along with this program. If
14// not, see <http://www.gnu.org/licenses/>.
15//
16
17//! Gazetta is a static site generator and this crate contains the core functionality.
18//!
19//! If you just want to use gazetta, see [the project page][project].
20//!
21//! If you want to extend gazetta, you should fork [gazetta-bin][] and then read the
22//! [gazetta][] documentation. [gazetta][] contains some extra abstractions for generating static
23//! websites but aren't absolutely essential (so they aren't built-in to gazetta-core).
24//!
25//! [gazetta-bin]: https://github.com/Stebalien/gazetta-bin
26//! [project]: http://stebalien.com/projects/gazetta
27//! [gazetta]: http://github.com/Stebalien/gazetta
28
29#[macro_use]
30pub mod error;
31pub mod model;
32pub mod render;
33pub mod util;
34pub mod view;
35pub mod yaml;
36
37pub mod prelude {
38 pub use chrono::Datelike;
39
40 pub use crate::render::Gazetta;
41}