Skip to content

Commit

Permalink
Revise the introduction (#51)
Browse files Browse the repository at this point in the history
* Update intro

* Rename files

* Done

* Fix rustdoc build without feature `gmp`
  • Loading branch information
unageek committed Jun 30, 2021
1 parent ce69cdd commit 289afc8
Show file tree
Hide file tree
Showing 8 changed files with 532 additions and 364 deletions.
8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,10 @@ default-features = false
features = ["float", "integer", "rational"]
optional = true

[[example]]
name = "cancellation"
required-features = ["gmp"]

[[example]]
name = "exact"
required-features = ["gmp"]

[[example]]
name = "parse"
required-features = ["gmp"]

[[example]]
name = "quadratic"
required-features = ["gmp"]
26 changes: 0 additions & 26 deletions examples/cancellation.rs

This file was deleted.

28 changes: 0 additions & 28 deletions examples/quadratic.rs

This file was deleted.

9 changes: 6 additions & 3 deletions src/_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
#[allow(unused_imports)]
use crate::*;

#[doc = include_str!("_docs/intro.md")]
pub mod intro {}

#[doc = include_str!("_docs/conformance.md")]
pub mod conformance {}

#[doc = include_str!("_docs/formal_intro.md")]
pub mod formal_intro {}

#[cfg_attr(feature = "gmp", doc = include_str!("_docs/intro.md"))]
pub mod intro {}
Loading

0 comments on commit 289afc8

Please sign in to comment.