summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-24 21:48:25 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-24 21:48:25 +0100
commite8057a53856dc09594c9e5861f1cd328531616e0 (patch)
tree36d7ffe8dc0aee0ab2ab96b37c130a8835f48f06 /src/lib.rs
parent73615f7e3ce23f2ea656d04ea9f96184f5ebdc0a (diff)
Make pdf module top-level 🧱
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 20c69fe9..9e09a9b4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -17,8 +17,7 @@
//! typeset document. The output of this is a collection of [`Frame`]s (one
//! per page), ready for exporting.
//! - **Exporting:** The finished layout can be exported into a supported
-//! format. Submodules for these formats are located in the [export] module.
-//! Currently, the only supported output format is [_PDF_].
+//! format. Currently, the only supported output format is [PDF].
//!
//! [tokens]: parse::Tokens
//! [parsed]: parse::parse
@@ -27,7 +26,7 @@
//! [execute]: exec::exec
//! [layout tree]: layout::Tree
//! [layouted]: layout::layout
-//! [_PDF_]: export::pdf
+//! [PDF]: pdf
#[macro_use]
pub mod diag;
@@ -36,13 +35,13 @@ pub mod eval;
pub mod color;
pub mod env;
pub mod exec;
-pub mod export;
pub mod font;
pub mod geom;
pub mod layout;
pub mod library;
pub mod paper;
pub mod parse;
+pub mod pdf;
pub mod pretty;
pub mod syntax;
@@ -52,7 +51,7 @@ use crate::eval::Scope;
use crate::exec::State;
use crate::layout::Frame;
-/// Process _Typst_ source code directly into a collection of frames.
+/// Process source code directly into a collection of frames.
pub fn typeset(
env: &mut Env,
src: &str,