Skip to content

Commit

Permalink
chore(docs): disable ethexe feature on docs.rs, improve docs.gear.rs (
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on authored Oct 7, 2024
1 parent f717377 commit 83b7809
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,11 @@ doc:
@ RUSTDOCFLAGS="--enable-index-page --generate-link-to-definition -Zunstable-options -D warnings" cargo doc --no-deps \
-p galloc -p gclient -p gcore -p gear-core-backend \
-p gear-core -p gear-core-processor -p gear-lazy-pages -p gear-core-errors \
-p gmeta -p gstd -p gtest -p gear-wasm-builder -p gear-common \
-p gmeta -p gtest -p gear-wasm-builder -p gear-common \
-p pallet-gear -p pallet-gear-gas -p pallet-gear-messenger -p pallet-gear-payment \
-p pallet-gear-program -p pallet-gear-rpc-runtime-api -p pallet-gear-rpc -p pallet-gear-scheduler -p gsdk
@ RUSTDOCFLAGS="--enable-index-page --generate-link-to-definition -Zunstable-options -D warnings" cargo doc --no-deps \
-p gstd -F document-features
@ cp -f images/logo.svg target/doc/rust-logo.svg

.PHONY: kill-gear
Expand Down
5 changes: 3 additions & 2 deletions gstd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ futures = { workspace = true, features = ["alloc"] }
waker-fn = "1.2.0"

[features]
#! ## Default features
#! ## Default features:
#! - `panic-message`

default = ["panic-message"]

Expand Down Expand Up @@ -82,4 +83,4 @@ debug = ["galloc/debug", "gcore/debug"]
#! [rust-51540]: https://github.com/rust-lang/rust/issues/51540

[package.metadata.docs.rs]
all-features = true
features = ["document-features"]

0 comments on commit 83b7809

Please sign in to comment.