Skip to content

Commit

Permalink
Fix docs.rs building and docs.rs README.md displaying. (#2348)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom authored Jan 27, 2023
1 parent 97ef6f6 commit 7dd3c1b
Show file tree
Hide file tree
Showing 8 changed files with 375 additions and 26 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

The latest published Druid release is [0.8.1](#081---2023-01-27) which was released on 2023-01-27.
You can find its changes [documented below](#081---2023-01-27).
The latest published Druid release is [0.8.2](#082---2023-01-27) which was released on 2023-01-27.
You can find its changes [documented below](#082---2023-01-27).

## [Unreleased]

Expand All @@ -27,6 +27,12 @@ You can find its changes [documented below](#081---2023-01-27).

### Outside News

## [0.8.2] - 2023-01-27

### Docs

- Fixed docs.rs failing to build any docs. ([#2348] by [@xStrom])

## [0.8.1] - 2023-01-27

### Docs
Expand Down Expand Up @@ -1185,8 +1191,10 @@ Last release without a changelog :(
[#2343]: https://github.com/linebender/druid/pull/2343
[#2345]: https://github.com/linebender/druid/pull/2345
[#2347]: https://github.com/linebender/druid/pull/2347
[#2348]: https://github.com/linebender/druid/pull/2348

[Unreleased]: https://github.com/linebender/druid/compare/v0.8.1...master
[Unreleased]: https://github.com/linebender/druid/compare/v0.8.2...master
[0.8.2]: https://github.com/linebender/druid/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/linebender/druid/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/linebender/druid/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/linebender/druid/compare/v0.6.0...v0.7.0
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ a lone dependency (it re-exports all the parts of `druid-shell`, `piet`, and `ku
that you'll need):

```toml
druid = "0.8.1"
druid = "0.8.2"
```

Since Druid is currently in fast-evolving state, you might prefer to drink from
Expand Down Expand Up @@ -322,14 +322,14 @@ active and friendly community. See the AUTHORS file for more.
[Zulip chat instance]: https://xi.zulipchat.com
[non-`druid` examples]: /druid-shell/examples/shello.rs
[crates.io]: https://crates.io/crates/druid
[EventCtx]: https://docs.rs/druid/0.8.1/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.8.1/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.8.1/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.8.1/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.8.1/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.8.1/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.8.1/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.8.1/druid/trait.Lens.html
[EventCtx]: https://docs.rs/druid/0.8.2/druid/struct.EventCtx.html
[LifeCycleCtx]: https://docs.rs/druid/0.8.2/druid/struct.LifeCycleCtx.html
[LayoutCtx]: https://docs.rs/druid/0.8.2/druid/struct.LayoutCtx.html
[PaintCtx]: https://docs.rs/druid/0.8.2/druid/struct.PaintCtx.html
[UpdateCtx]: https://docs.rs/druid/0.8.2/druid/struct.UpdateCtx.html
[Widget trait]: https://docs.rs/druid/0.8.2/druid/trait.Widget.html
[Data trait]: https://docs.rs/druid/0.8.2/druid/trait.Data.html
[Lens datatype]: https://docs.rs/druid/0.8.2/druid/trait.Lens.html
[Druid book]: https://linebender.org/druid/
[Iced]: https://github.com/hecrj/iced
[Conrod]: https://github.com/PistonDevelopers/conrod
Expand Down
12 changes: 6 additions & 6 deletions docs/src/08_widgets_in_depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ textbox fire some action (say doing a search) 300ms after the last keypress:
{{#include ../book_examples/src/custom_widgets_md.rs:annoying_textbox}}
```

[`Controller`]: https://docs.rs/druid/0.8.1/druid/widget/trait.Controller.html
[`Controller`]: https://docs.rs/druid/0.8.2/druid/widget/trait.Controller.html
[`Widget`]: ./widget.md
[`Painter`]: https://docs.rs/druid/0.8.1/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.8.1/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.8.1/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.8.1/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.8.1/druid/trait.WidgetExt.html#background
[`Painter`]: https://docs.rs/druid/0.8.2/druid/widget/struct.Painter.html
[`SizedBox`]: https://docs.rs/druid/0.8.2/druid/widget/struct.SizedBox.html
[`Container`]: https://docs.rs/druid/0.8.2/druid/widget/struct.Container.html
[`WidgetExt`]: https://docs.rs/druid/0.8.2/druid/trait.WidgetExt.html
[`background`]: https://docs.rs/druid/0.8.2/druid/trait.WidgetExt.html#background
2 changes: 1 addition & 1 deletion druid-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ quote = "1.0.23"
proc-macro2 = "1.0.50"

[dev-dependencies]
druid = { version = "0.8.1", path = "../druid" }
druid = { version = "0.8.2", path = "../druid" }
trybuild = "1.0"

float-cmp = { version = "0.9.0", features = ["std"], default-features = false }
9 changes: 6 additions & 3 deletions druid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "druid"
version = "0.8.1"
version = "0.8.2"
license = "Apache-2.0"
authors = ["Raph Levien <[email protected]>"]
description = "Data-oriented Rust UI design toolkit."
repository = "https://github.com/linebender/druid"
categories = ["gui"]
readme = "../README.md"
readme = "README.md"
keywords = ["gui", "ui", "toolkit"]
edition = "2021"

Expand All @@ -18,7 +18,10 @@ edition = "2021"
features = ["im"]
rustdoc-args = ["--cfg", "docsrs"]
default-target = "x86_64-pc-windows-msvc"
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]
# TODO: Enable this again after figuring out how the flags have changed.
# Also be sure to add nightly compiler docs building to CI
# to catch any changes to the flags early.
#cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples=examples"]

[features]
default = ["gtk"]
Expand Down
1 change: 0 additions & 1 deletion druid/README.md

This file was deleted.

Loading

0 comments on commit 7dd3c1b

Please sign in to comment.