Skip to content

Commit 1053b01

Browse files
authored
Merge pull request #188 from Sh3Rm4n/fixup
Fixup broken link in changelog
2 parents 2b41132 + 0eeb762 commit 1053b01

File tree

10 files changed

+21
-10
lines changed

10 files changed

+21
-10
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,14 @@ jobs:
147147
with:
148148
files: .
149149
ignore_files: "target/"
150+
151+
link-checker:
152+
name: Link Checker
153+
runs-on: ubuntu-latest
154+
steps:
155+
- name: Checkout
156+
uses: actions/checkout@v2
157+
- name: Check URLs in documentation
158+
uses: lycheeverse/lychee-action@v1.0.4
159+
with:
160+
args: --verbose --no-progress "*.md" "**/*.md" "**/*.rs" "*.toml" "**/*.toml" -h accept=text/html

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ let clocks = rcc
327327
[#2]: https://github.com/stm32-rs/stm32f3xx-hal/pull/2
328328

329329
[Unreleased]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.1...HEAD
330-
[v0.6.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.0...v0.6.1
330+
[v0.6.1]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.0...v0.6.1
331331
[v0.6.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.5.0...v0.6.0
332332
[v0.5.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.4.3...v0.5.0
333333
[v0.4.3]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.4.2...v0.4.3

src/adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! It can be built for the STM32F3Discovery running
88
//! `cargo build --example adc --features=stm32f303xc`
99
//!
10-
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/adc.rs
10+
//! [examples/adc.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/adc.rs
1111
1212
use crate::{
1313
gpio::Analog,

src/can.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! A usage example of the can peripheral can be found at [examples/can.rs]
1111
//!
12-
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/can.rs
12+
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/can.rs
1313
1414
pub use embedded_hal_can::{self, Filter, Frame, Id, Receiver, Transmitter};
1515

src/dma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! An example how to use DMA for serial, can be found at [examples/serial_dma.rs]
66
//!
7-
//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/serial_dma.rs
7+
//! [examples/serial_dma.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/serial_dma.rs
88
99
// To learn about most of the ideas implemented here, check out the DMA section
1010
// of the Embedonomicon: https://docs.rust-embedded.org/embedonomicon/dma.html

src/gpio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//!
2727
//! [InputPin]: embedded_hal::digital::v2::InputPin
2828
//! [OutputPin]: embedded_hal::digital::v2::OutputPin
29-
//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/toggle.rs
29+
//! [examples/toggle.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/toggle.rs
3030
3131
use core::convert::Infallible;
3232
use core::marker::PhantomData;
@@ -163,7 +163,7 @@ macro_rules! gpio {
163163
///
164164
/// See [examples/gpio_erased.rs] as an example.
165165
///
166-
/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/gpio_erased.rs
166+
/// [examples/gpio_erased.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/gpio_erased.rs
167167
pub struct PXx<MODE> {
168168
i: u8,
169169
gpio: Gpio,

src/i2c.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! A usage example of the i2c peripheral can be found at [examples/i2c_scanner.rs]
44
//!
5-
//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/i2c_scanner.rs
5+
//! [examples/i2c_scanner.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/i2c_scanner.rs
66
77
use core::convert::TryFrom;
88
use core::ops::Deref;

src/pwm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
153153
A usage example can be found at [examples/pwm.rs]
154154
155-
[examples/pwm.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/pwm.rs
155+
[examples/pwm.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/pwm.rs
156156
*/
157157

158158
use crate::{

src/usb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! See [examples/usb_serial.rs] for a usage example.
66
//!
7-
//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/usb_serial.rs
7+
//! [examples/usb_serial.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/usb_serial.rs
88
99
use crate::pac::{RCC, USB};
1010
use stm32_usbd::UsbPeripheral;

src/watchdog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! A usage example of the watchdog can be found at [examples/can.rs]
44
//!
5-
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.0/examples/can.rs
5+
//! [examples/can.rs]: https://github.com/stm32-rs/stm32f3xx-hal/blob/v0.6.1/examples/can.rs
66
77
use crate::hal::watchdog::{Watchdog, WatchdogEnable};
88

0 commit comments

Comments
 (0)