Skip to content

Commit a121b57

Browse files
committed
Switch to docs.rs instead of GitHub pages
1 parent 2a560c6 commit a121b57

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

.travis.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ matrix:
2020
include:
2121
- rust: stable
2222
os: linux
23-
env:
24-
secure: C/gXHY8DzpHEGDO7QHYLkRRnorGBKw/eGOvO8ZVTOO/8WLbnmcTvAf/Endum35yKj85SM2QtYBinq/mdgseEyzDFRBH3XG2edp9wjhBi+ZL+p+N3SQjazJW9dizbztxZ71SMCQg0fBnNK3EormgpYz04XLW95AXPWTFjVIIiQ00IOWP7yQQrZR+BMh3vZTcjLkANu4usN9J746Uj8zWqbZ0vBga3zcGiA70YlwQCfRN0WJWaxK2evXet4qzv3xMPuHRfR7WaJza+oBunAvE1jJjhYjkNqkIbT28gKFrWca3VrIgrjzHBZ7I46qQBMFL5ZSLFKpB5Phd5pRA8CalfykF71TVhpK7d+g1dcC0bQWM69kE62GwabkQdeRebV5KJqBv5kyV6/MCATJC948o/gS3+wQATes1LvzUh0nEoqnCmGefD26frFVNh6kylVoPc8Y3K/TumNH4dg9La5WHI0q2Gf53EuNDxYcGfU5jf0/yElj569a07mZsJZcbKUfRb75GUELKXzMHCvZs3Vy6xCQbzW40Hxb5ZsMCe+ZcbbOrhlHqM8VTd1Yx0QafcbIllk7ZSjbrE3P80z0Q8NtirxhjLJgypQIL4wfsrE09Lla79RL53kX4wMbBeY0Vzg28GeSCo+cGpLli6YO89/acIwEYm/sNxP4zNZejsCac5/Ic=
2523
fast_finish: true
2624

2725
cache: cargo
@@ -38,14 +36,3 @@ script:
3836
cargo make workspace-ci-flow --no-workspace
3937
fi
4038
fi
41-
42-
after_success: |
43-
[ $TRAVIS_BRANCH = master ] &&
44-
[ $TRAVIS_PULL_REQUEST = false ] &&
45-
[ $TRAVIS_OS_NAME = linux ] &&
46-
[ $TRAVIS_RUST_VERSION = stable ] &&
47-
cargo doc --no-deps -p efivar &&
48-
echo '<meta http-equiv=refresh content=0;url="efivar/">' > target/doc/index.html &&
49-
pip install --user ghp-import &&
50-
ghp-import -n target/doc &&
51-
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# efiboot-rs
22

3-
[![Build Status](https://travis-ci.com/vtavernier/efiboot-rs.svg?branch=master)](https://travis-ci.com/vtavernier/efiboot-rs) [![Documentation](https://img.shields.io/badge/docs-master-blue.svg)](https://vtavernier.github.io/efiboot-rs/) [![codecov](https://codecov.io/gh/vtavernier/efiboot-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/vtavernier/efiboot-rs) [![libraries.io](https://img.shields.io/librariesio/github/vtavernier/efiboot-rs.svg)](https://libraries.io/github/vtavernier/efiboot-rs) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Built with cargo-make](https://sagiegurari.github.io/cargo-make/assets/badges/cargo-make.svg)](https://sagiegurari.github.io/cargo-make)
3+
[![Build Status](https://travis-ci.com/vtavernier/efiboot-rs.svg?branch=master)](https://travis-ci.com/vtavernier/efiboot-rs) [![Documentation](https://img.shields.io/badge/docs-master-blue.svg)](https://docs.rs/efivar/) [![codecov](https://codecov.io/gh/vtavernier/efiboot-rs/branch/master/graph/badge.svg)](https://codecov.io/gh/vtavernier/efiboot-rs) [![libraries.io](https://img.shields.io/librariesio/github/vtavernier/efiboot-rs.svg)](https://libraries.io/github/vtavernier/efiboot-rs) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Built with cargo-make](https://sagiegurari.github.io/cargo-make/assets/badges/cargo-make.svg)](https://sagiegurari.github.io/cargo-make)
44

55
This repository contains the source code for:
66

efivar/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ store = ["base64", "serde", "serde_derive", "toml"]
3535
[target.'cfg(windows)'.dependencies.winapi]
3636
version = "0.3.8"
3737
features = ["winbase", "winnt", "processthreadsapi", "securitybaseapi", "handleapi"]
38+
39+
[dev-dependencies]
40+
version-sync = "0.8.1"

efivar/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//! In-memory and filesystem storage are also provided for testing purposes, or as a way to dump
1313
//! system variables to an external file.
1414
15-
#![doc(html_root_url = "https://vtavernier.github.io/efiboot-rs/")]
15+
#![doc(html_root_url = "https://docs.rs/efivar/0.2.0")]
1616

1717
#[macro_use]
1818
extern crate bitflags;

efivar/tests/version-numbers.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#[test]
2+
fn test_readme_deps() {
3+
version_sync::assert_markdown_deps_updated!("README.md");
4+
}
5+
6+
#[test]
7+
fn test_html_root_url() {
8+
version_sync::assert_html_root_url_updated!("src/lib.rs");
9+
}

0 commit comments

Comments
 (0)