Skip to content

fix plotly_static docs.rs build #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- run: cargo publish --allow-dirty -p plotly_kaleido
- run: sleep 10
- run: cargo publish --allow-dirty -p plotly
- run: sleep 10
- run: cargo publish --allow-dirty -p plotly_static --features webdriver_download,chromedriver
# plotly_static is not part of the same ecosystem yet so it doesn't use the same TOKEN
# - run: sleep 10
# - run: cargo publish --allow-dirty -p plotly_static --features webdriver_download,chromedriver

create-gh-release:
name: Deploy to GH Releases
Expand Down
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.3] - 2025-xx-xx

## [0.13.2] - 2025-xx-xx
- [[#327](https://github.com/plotly/plotly.rs/pull/327)] Fix book broken link
### Fixed
### Changed

### Fixed
- [[#326](https://github.com/plotly/plotly.rs/pull/326)] Fix book badges
## [0.13.2] - 2025-07-12

### Fixed
- [[#336](https://github.com/plotly/plotly.rs/pull/336)] Fix `plotly_static` docs.rs build
- [[#327](https://github.com/plotly/plotly.rs/pull/327)] Fix book broken link

## [0.13.1] - 2025-07-07

Expand Down
2 changes: 1 addition & 1 deletion plotly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dyn-clone = "1"
erased-serde = "0.4"
image = { version = "0.25", optional = true }
plotly_derive = { version = "0.13", path = "../plotly_derive" }
plotly_static = { version = "0.0.1", path = "../plotly_static", optional = true }
plotly_static = { version = "0.0.2", path = "../plotly_static", optional = true }
plotly_kaleido = { version = "0.13", path = "../plotly_kaleido", optional = true }
ndarray = { version = "0.16", optional = true }
once_cell = "1"
Expand Down
6 changes: 5 additions & 1 deletion plotly_static/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plotly_static"
version = "0.0.1"
version = "0.0.2"
description = "Export Plotly graphs to static images using WebDriver"
authors = ["Andrei Gherghescu andrei-ng@protonmail.com"]
license = "MIT"
Expand Down Expand Up @@ -43,3 +43,7 @@ anyhow = "1.0"
dirs = "6.0"
zip = "4.0"
webdriver-downloader = "0.16"

# Needed for docs.rs to build the documentation
[package.metadata.docs.rs]
features = ["chromedriver"]
2 changes: 1 addition & 1 deletion plotly_static/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Add to your `Cargo.toml`:

```toml
[dependencies]
plotly_static = { version = "0.0.1", features = ["chromedriver", "webdriver_download"] }
plotly_static = { version = "0.0.2", features = ["chromedriver", "webdriver_download"] }
serde_json = "1.0"
```

Expand Down
2 changes: 1 addition & 1 deletion plotly_static/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
//!
//! ```toml
//! [dependencies]
//! plotly_static = { version = "0.0.1", features = ["chromedriver", "webdriver_download"] }
//! plotly_static = { version = "0.0.2", features = ["chromedriver", "webdriver_download"] }
//! ```
//!
//! ## Advanced Usage
Expand Down
Loading