Skip to content

Commit b77942d

Browse files
authored
Rename book-example to guide (#1336)
`book-example` is a bit of a strange name given that it's not just an example.
1 parent d0deee9 commit b77942d

35 files changed

+12
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
- name: Install Rust (rustup)
3232
run: rustup update stable --no-self-update && rustup default stable
3333
- name: Build book
34-
run: cargo run -- build book-example
34+
run: cargo run -- build guide
3535
- name: Deploy to GitHub
3636
env:
3737
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
3838
run: |
39-
touch book-example/book/.nojekyll
39+
touch guide/book/.nojekyll
4040
curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
41-
cd book-example/book
41+
cd guide/book
4242
/tmp/deploy

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ target
44
.DS_Store
55

66
book-test
7-
book-example/book
7+
guide/book
88

99
.vscode
1010
tests/dummy_book/book/

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
]
99
documentation = "http://rust-lang.github.io/mdBook/index.html"
1010
edition = "2018"
11-
exclude = ["/book-example/*"]
11+
exclude = ["/guide/*"]
1212
keywords = ["book", "gitbook", "rustbook", "markdown"]
1313
license = "MPL-2.0"
1414
readme = "README.md"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)