Skip to content

Commit

Permalink
docs: fix doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Feb 6, 2024
1 parent 98d9f8c commit 623dad2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "bsplines"
version = "0.0.1-alpha.1"
version = "0.0.1-alpha.2"
license = "Apache-2.0"
authors = [
"Michael A. Heuer <decentralised.systems@gmail.com>",
]
edition = "2021"
description = "N-dimensional B-spline curves and their derivatives built on top of nalgebra"
keywords = ["b-spline", "spline", "curve", "derivatives", "nalgebra"]
categories = [
Expand All @@ -12,13 +14,19 @@ categories = [
"graphics",
"no-std",
]

readme = "README.md"
homepage = "https://github.com/michael-a-heuer/bsplines"
repository = "https://github.com/michael-a-heuer/bsplines"
readme = "README.md"
documentation = "https://docs.rs/bsplines"

edition = "2021"
license = "Apache-2.0"

[package.metadata.docs.rs]
features = ["doc-images"]

[features]
doc-images = []


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
Expand All @@ -39,7 +47,7 @@ enum_glob_use = "deny"
type_complexity = "allow"

[dependencies]
embed-doc-image = "0.1.4"
embed-doc-image = { version = "0.1.4" }
nalgebra = "0.32.3"
thiserror = "1.0.56"

Expand All @@ -51,13 +59,5 @@ plotters = "0.3.5"
plotters-arrows = "0.1.0"
num-traits = "0.2.17"

[features]
doc-images = []

[package.metadata.docs.rs]
rustdoc-args = [
"--package", "bsplines",
"--no-deps",
"--features", "doc-images",
"--html-in-header", "./src/docs-header.html",
]

0 comments on commit 623dad2

Please sign in to comment.