Skip to content

Commit f79d5d4

Browse files
committed
rust-lang-nursery -> rust-lang
Fixes #1080
1 parent 820714a commit f79d5d4

20 files changed

+131
-131
lines changed

CHANGELOG.md

+84-84
Large diffs are not rendered by default.

CONTRIBUTING.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ Welcome stranger!
55
If you have come here to learn how to contribute to mdBook, we have some tips for you!
66

77
First of all, don't hesitate to ask questions!
8-
Use the [issue tracker](https://github.com/rust-lang-nursery/mdBook/issues), no question is too simple.
8+
Use the [issue tracker](https://github.com/rust-lang/mdBook/issues), no question is too simple.
99
If we don't respond in a couple of days, ping us @Michael-F-Bryan, @budziq, @steveklabnik, @frewsxcv it might just be that we forgot. :wink:
1010

1111
### Issues to work on
1212

1313
Any issue is up for the grabbing, but if you are starting out, you might be interested in the
14-
[E-Easy issues](https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AE-Easy).
14+
[E-Easy issues](https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AE-Easy).
1515
Those are issues that are considered more straightforward for beginners to Rust or the codebase itself.
1616
These issues can be a good launching pad for more involved issues. Easy tasks for a first time contribution
1717
include documentation improvements, new tests, examples, updating dependencies, etc.
1818

1919
If you come from a web development background, you might be interested in issues related to web technologies tagged
20-
[A-JavaScript](https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-JavaScript),
21-
[A-Style](https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-Style),
22-
[A-HTML](https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-HTML) or
23-
[A-Mobile](https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-Mobile).
20+
[A-JavaScript](https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-JavaScript),
21+
[A-Style](https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-Style),
22+
[A-HTML](https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-HTML) or
23+
[A-Mobile](https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AA-Mobile).
2424

2525
When you decide you want to work on a specific issue, ping us on that issue so that we can assign it to you.
2626
Again, do not hesitate to ask questions. We will gladly mentor anyone that want to tackle an issue.
@@ -41,7 +41,7 @@ mdBook builds on stable Rust, if you want to build mdBook from source, here are
4141
0. Clone this repository with git.
4242

4343
```
44-
git clone https://github.com/rust-lang-nursery/mdBook.git
44+
git clone https://github.com/rust-lang/mdBook.git
4545
```
4646
0. Navigate into the newly created `mdBook` directory
4747
0. Run `cargo build`
@@ -57,7 +57,7 @@ We love code quality and Rust has some excellent tools to assist you with contri
5757
Before you make your Pull Request to the project, please run it through the `rustfmt` utility.
5858
This will ensure we have good quality source code that is better for us all to maintain.
5959

60-
[rustfmt](https://github.com/rust-lang-nursery/rustfmt) has a lot more information on the project.
60+
[rustfmt](https://github.com/rust-lang/rustfmt) has a lot more information on the project.
6161
The quick guide is
6262

6363
1. Install it
@@ -74,7 +74,7 @@ The quick guide is
7474
```
7575
When run through `cargo` it will format all bin and lib files in the current crate.
7676
77-
For more information, such as running it from your favourite editor, please see the `rustfmt` project. [rustfmt](https://github.com/rust-lang-nursery/rustfmt)
77+
For more information, such as running it from your favourite editor, please see the `rustfmt` project. [rustfmt](https://github.com/rust-lang/rustfmt)
7878
7979
8080
#### Finding Issues with Clippy
@@ -83,7 +83,7 @@ Clippy is a code analyser/linter detecting mistakes, and therfore helps to impro
8383
Like formatting your code with `rustfmt`, running clippy regularly and before your Pull Request will
8484
help us maintain awesome code.
8585
86-
The best documentation can be found over at [rust-clippy](https://github.com/rust-lang-nursery/rust-clippy)
86+
The best documentation can be found over at [rust-clippy](https://github.com/rust-lang/rust-clippy)
8787
8888
1. To install
8989
```
@@ -94,15 +94,15 @@ The best documentation can be found over at [rust-clippy](https://github.com/rus
9494
cargo clippy
9595
```
9696
97-
Clippy has an ever growing list of checks, that are managed in [lint files](https://rust-lang-nursery.github.io/rust-clippy/master/index.html).
97+
Clippy has an ever growing list of checks, that are managed in [lint files](https://rust-lang.github.io/rust-clippy/master/index.html).
9898
9999
### Making a pull-request
100100
101101
When you feel comfortable that your changes could be integrated into mdBook, you can create a pull-request on GitHub.
102102
One of the core maintainers will then approve the changes or request some changes before it gets merged.
103103
104104
If you want to make your pull-request even better, you might want to run [Clippy](https://github.com/Manishearth/rust-clippy)
105-
and [rustfmt](https://github.com/rust-lang-nursery/rustfmt) on the code first.
105+
and [rustfmt](https://github.com/rust-lang/rustfmt) on the code first.
106106
This is not a requirement though and will never block a pull-request from being merged.
107107
108108
That's it, happy contributions! :tada: :tada: :tada:

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ authors = [
66
"Michael-F-Bryan <michaelfbryan@gmail.com>",
77
"Matt Ickstadt <mattico8@gmail.com>"
88
]
9-
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html"
9+
documentation = "http://rust-lang.github.io/mdBook/index.html"
1010
edition = "2018"
1111
exclude = ["/book-example/*"]
1212
keywords = ["book", "gitbook", "rustbook", "markdown"]
1313
license = "MPL-2.0"
1414
readme = "README.md"
15-
repository = "https://github.com/rust-lang-nursery/mdBook"
15+
repository = "https://github.com/rust-lang/mdBook"
1616
description = "Creates a book from markdown files"
1717

1818
[dependencies]

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# mdBook
22

3-
[![Build Status](https://github.com/rust-lang-nursery/mdBook/workflows/CI/badge.svg)](https://github.com/rust-lang-nursery/mdBook/actions?workflow=CI)
3+
[![Build Status](https://github.com/rust-lang/mdBook/workflows/CI/badge.svg)](https://github.com/rust-lang/mdBook/actions?workflow=CI)
44
[![crates.io](https://img.shields.io/crates/v/mdbook.svg)](https://crates.io/crates/mdbook)
5-
[![LICENSE](https://img.shields.io/github/license/rust-lang-nursery/mdBook.svg)](LICENSE)
5+
[![LICENSE](https://img.shields.io/github/license/rust-lang/mdBook.svg)](LICENSE)
66

77
mdBook is a utility to create modern online books from Markdown files.
88

@@ -55,7 +55,7 @@ There are multiple ways to install mdBook.
5555
the git version of mdBook yourself. Cargo makes this ***super easy***!
5656

5757
```
58-
cargo install --git https://github.com/rust-lang-nursery/mdBook.git mdbook
58+
cargo install --git https://github.com/rust-lang/mdBook.git mdbook
5959
```
6060

6161
Again, make sure to add the Cargo bin directory to your `PATH`.
@@ -66,7 +66,7 @@ There are multiple ways to install mdBook.
6666
your local machine:
6767

6868
```
69-
git clone https://github.com/rust-lang-nursery/mdBook.git
69+
git clone https://github.com/rust-lang/mdBook.git
7070
```
7171

7272
`cd` into `mdBook/` and run
@@ -217,14 +217,14 @@ available, for those hacking on `master`.
217217
All the code in this repository is released under the ***Mozilla Public License v2.0***, for more information take a look at the [LICENSE] file.
218218

219219

220-
[User Guide]: https://rust-lang-nursery.github.io/mdBook/
220+
[User Guide]: https://rust-lang.github.io/mdBook/
221221
[API docs]: https://docs.rs/mdbook/*/mdbook/
222-
[E-Easy]: https://github.com/rust-lang-nursery/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AE-Easy
223-
[contribution guide]: https://github.com/rust-lang-nursery/mdBook/blob/master/CONTRIBUTING.md
224-
[LICENSE]: https://github.com/rust-lang-nursery/mdBook/blob/master/LICENSE
225-
[releases]: https://github.com/rust-lang-nursery/mdBook/releases
222+
[E-Easy]: https://github.com/rust-lang/mdBook/issues?q=is%3Aopen+is%3Aissue+label%3AE-Easy
223+
[contribution guide]: https://github.com/rust-lang/mdBook/blob/master/CONTRIBUTING.md
224+
[LICENSE]: https://github.com/rust-lang/mdBook/blob/master/LICENSE
225+
[releases]: https://github.com/rust-lang/mdBook/releases
226226
[Rust]: https://www.rust-lang.org/
227-
[CLI docs]: http://rust-lang-nursery.github.io/mdBook/cli/init.html
228-
[master-docs]: http://rust-lang-nursery.github.io/mdBook/
227+
[CLI docs]: http://rust-lang.github.io/mdBook/cli/init.html
228+
[master-docs]: http://rust-lang.github.io/mdBook/
229229
[`linkcheck`]: https://crates.io/crates/mdbook-linkcheck
230230
[`epub`]: https://crates.io/crates/mdbook-epub

book-example/src/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ What you are reading serves as an example of the output of mdBook and at the
88
same time as a high-level documentation.
99

1010
mdBook is free and open source, you can find the source code on
11-
[GitHub](https://github.com/rust-lang-nursery/mdBook). Issues and feature
11+
[GitHub](https://github.com/rust-lang/mdBook). Issues and feature
1212
requests can be posted on the [GitHub issue
13-
tracker](https://github.com/rust-lang-nursery/mdBook/issues).
13+
tracker](https://github.com/rust-lang/mdBook/issues).
1414

1515
## API docs
1616

book-example/src/cli/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ capabilities first.
77
## Install From Binaries
88

99
Precompiled binaries are provided for major platforms on a best-effort basis.
10-
Visit [the releases page](https://github.com/rust-lang-nursery/mdBook/releases)
10+
Visit [the releases page](https://github.com/rust-lang/mdBook/releases)
1111
to download the appropriate version for your platform.
1212

1313
## Install From Source
@@ -39,14 +39,14 @@ have installed mdBook!
3939

4040
### Install Git version
4141

42-
The **[git version](https://github.com/rust-lang-nursery/mdBook)** contains all
42+
The **[git version](https://github.com/rust-lang/mdBook)** contains all
4343
the latest bug-fixes and features, that will be released in the next version on
4444
**Crates.io**, if you can't wait until the next release. You can build the git
4545
version yourself. Open your terminal and navigate to the directory of you
4646
choice. We need to clone the git repository and then build it with Cargo.
4747

4848
```bash
49-
git clone --depth=1 https://github.com/rust-lang-nursery/mdBook.git
49+
git clone --depth=1 https://github.com/rust-lang/mdBook.git
5050
cd mdBook
5151
cargo build --release
5252
```

book-example/src/for_developers/backends.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,4 +352,4 @@ the source code or ask questions.
352352
[`Book`]: https://docs.rs/mdbook/*/mdbook/book/struct.Book.html
353353
[`Book::iter()`]: https://docs.rs/mdbook/*/mdbook/book/struct.Book.html#method.iter
354354
[`Config`]: https://docs.rs/mdbook/*/mdbook/config/struct.Config.html
355-
[issue tracker]: https://github.com/rust-lang-nursery/mdBook/issues
355+
[issue tracker]: https://github.com/rust-lang/mdBook/issues

book-example/src/for_developers/preprocessors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ For everything else, have a look [at the complete example][example].
109109
[preprocessor-docs]: https://docs.rs/mdbook/latest/mdbook/preprocess/trait.Preprocessor.html
110110
[pc]: https://crates.io/crates/pulldown-cmark
111111
[pctc]: https://crates.io/crates/pulldown-cmark-to-cmark
112-
[example]: https://github.com/rust-lang-nursery/mdBook/blob/master/examples/nop-preprocessor.rs
113-
[an example no-op preprocessor]: https://github.com/rust-lang-nursery/mdBook/blob/master/examples/nop-preprocessor.rs
112+
[example]: https://github.com/rust-lang/mdBook/blob/master/examples/nop-preprocessor.rs
113+
[an example no-op preprocessor]: https://github.com/rust-lang/mdBook/blob/master/examples/nop-preprocessor.rs
114114
[`CmdPreprocessor::parse_input()`]: https://docs.rs/mdbook/latest/mdbook/preprocess/trait.Preprocessor.html#method.parse_input
115115
[`Book::for_each_mut()`]: https://docs.rs/mdbook/latest/mdbook/book/struct.Book.html#method.for_each_mut

book-example/src/format/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ google-analytics = "123456"
237237
additional-css = ["custom.css", "custom2.css"]
238238
additional-js = ["custom.js"]
239239
no-section-label = false
240-
git-repository-url = "https://github.com/rust-lang-nursery/mdBook"
240+
git-repository-url = "https://github.com/rust-lang/mdBook"
241241
git-repository-icon = "fa-github"
242242

243243
[output.html.fold]

book-example/src/format/theme/index-hbs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ Of course the inner html can be changed to your liking.
9797
------
9898

9999
*If you would like other properties or helpers exposed, please [create a new
100-
issue](https://github.com/rust-lang-nursery/mdBook/issues)*
100+
issue](https://github.com/rust-lang/mdBook/issues)*

book-example/src/format/theme/syntax-highlighting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ everyone can benefit from it.**
6262

6363
If you think the default theme doesn't look quite right for a specific language,
6464
or could be improved. Feel free to [submit a new
65-
issue](https://github.com/rust-lang-nursery/mdBook/issues) explaining what you
65+
issue](https://github.com/rust-lang/mdBook/issues) explaining what you
6666
have in mind and I will take a look at it.
6767

6868
You could also create a pull-request with the proposed improvements.

src/book/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl MDBook {
5656
warn!("This format is no longer used, so you should migrate to the");
5757
warn!("book.toml format.");
5858
warn!("Check the user guide for migration information:");
59-
warn!("\thttps://rust-lang-nursery.github.io/mdBook/format/config.html");
59+
warn!("\thttps://rust-lang.github.io/mdBook/format/config.html");
6060
}
6161

6262
let mut config = if config_location.exists() {

src/book/summary.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ mod tests {
728728
assert!(got.is_err());
729729
}
730730

731-
/// Regression test for https://github.com/rust-lang-nursery/mdBook/issues/779
731+
/// Regression test for https://github.com/rust-lang/mdBook/issues/779
732732
/// Ensure section numbers are correctly incremented after a horizontal separator.
733733
#[test]
734734
fn keep_numbering_after_separator() {

src/cmd/watch.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn remove_ignored_files(book_root: &PathBuf, paths: &[PathBuf]) -> Vec<PathBuf>
5959
Ok(exclusion_checker) => filter_ignored_files(exclusion_checker, paths),
6060
Err(_) => {
6161
// We're unable to read the .gitignore file, so we'll silently allow everything.
62-
// Please see discussion: https://github.com/rust-lang-nursery/mdBook/pull/1051
62+
// Please see discussion: https://github.com/rust-lang/mdBook/pull/1051
6363
paths.iter().map(|path| path.to_path_buf()).collect()
6464
}
6565
}

src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl<'de> Deserialize<'de> for Config {
296296
warn!("`description` under a table called `[book]`, move the `destination` entry");
297297
warn!("from `[output.html]`, renamed to `build-dir`, under a table called");
298298
warn!("`[build]`, and it should all work.");
299-
warn!("Documentation: http://rust-lang-nursery.github.io/mdBook/format/config.html");
299+
warn!("Documentation: http://rust-lang.github.io/mdBook/format/config.html");
300300
return Ok(Config::from_legacy(raw));
301301
}
302302

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
//! directly, making deserializing the `RenderContext` easy and giving you
7676
//! access to the various methods for working with the [`Config`].
7777
//!
78-
//! [user guide]: https://rust-lang-nursery.github.io/mdBook/
78+
//! [user guide]: https://rust-lang.github.io/mdBook/
7979
//! [`RenderContext`]: renderer/struct.RenderContext.html
80-
//! [relevant chapter]: https://rust-lang-nursery.github.io/mdBook/for_developers/backends.html
80+
//! [relevant chapter]: https://rust-lang.github.io/mdBook/for_developers/backends.html
8181
//! [`Config`]: config/struct.Config.html
8282
8383
#![deny(missing_docs)]

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn main() {
3030
.setting(AppSettings::ColoredHelp)
3131
.after_help(
3232
"For more information about a specific command, try `mdbook <command> --help`\n\
33-
The source code for mdBook is available at: https://github.com/rust-lang-nursery/mdBook",
33+
The source code for mdBook is available at: https://github.com/rust-lang/mdBook",
3434
)
3535
.subcommand(cmd::init::make_subcommand())
3636
.subcommand(cmd::build::make_subcommand())

src/renderer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//!
99
//! The definition for [RenderContext] may be useful though.
1010
//!
11-
//! [For Developers]: https://rust-lang-nursery.github.io/mdBook/for_developers/index.html
11+
//! [For Developers]: https://rust-lang.github.io/mdBook/for_developers/index.html
1212
//! [RenderContext]: struct.RenderContext.html
1313
1414
pub use self::html_handlebars::HtmlHandlebars;

src/theme/book.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function playpen_text(playpen) {
366366
}
367367
});
368368

369-
// Should not be needed, but it works around an issue on macOS & iOS: https://github.com/rust-lang-nursery/mdBook/issues/628
369+
// Should not be needed, but it works around an issue on macOS & iOS: https://github.com/rust-lang/mdBook/issues/628
370370
document.addEventListener('click', function(e) {
371371
if (themePopup.style.display === 'block' && !themeToggleButton.contains(e.target) && !themePopup.contains(e.target)) {
372372
hideThemes();

src/utils/fs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ pub fn write_file<P: AsRef<Path>>(build_dir: &Path, filename: P, content: &[u8])
3737
///
3838
/// **note:** it's not very fool-proof, if you find a situation where
3939
/// it doesn't return the correct path.
40-
/// Consider [submitting a new issue](https://github.com/rust-lang-nursery/mdBook/issues)
41-
/// or a [pull-request](https://github.com/rust-lang-nursery/mdBook/pulls) to improve it.
40+
/// Consider [submitting a new issue](https://github.com/rust-lang/mdBook/issues)
41+
/// or a [pull-request](https://github.com/rust-lang/mdBook/pulls) to improve it.
4242
pub fn path_to_root<P: Into<PathBuf>>(path: P) -> String {
4343
debug!("path_to_root");
4444
// Remove filename and add "../" for every directory

0 commit comments

Comments
 (0)