Skip to content

Commit

Permalink
docs: fix docs by activating docfg feature (#5028)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 29, 2022
1 parent 507ddd1 commit d3d937f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions polars/polars-lazy/polars-plan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ private = ["polars-time/private"]
bigidx = ["polars-arrow/bigidx", "polars-core/bigidx", "polars-utils/bigidx"]

panic_on_schema = []

[package.metadata.docs.rs]
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
2 changes: 2 additions & 0 deletions polars/polars-lazy/polars-plan/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod dot;
pub mod dsl;
pub mod frame;
Expand Down

0 comments on commit d3d937f

Please sign in to comment.