Commit Graph

43 Commits

Author SHA1 Message Date
Gábor Szabó 02aa6b4852
Update book.toml fix the authors field
See https://rust-lang.github.io/mdBook/format/configuration/general.html#general-metadata
2025-04-04 08:34:08 +03:00
Jieyou Xu 8c3302aa5f
Move Fuchsia and RfL under `ecosystem-test-jobs/` folder
Includes redirects to avoid breaking existing links.
2025-03-21 16:48:57 +08:00
Martin Liska 57d1e6b068 Save linkcheck cache always 2025-01-08 17:05:11 +01:00
Martin Liška de8511be8c Add a couple of linkcheck exceptions: (#2120)
* Add a couple of linkcheck exceptions:

Addresses:
```

Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive+is%3Aclosed
Server returned 401 Unauthorized for https://objects.githubusercontent.com/github-production-release-asset-2e65be/343907537/60cd5880-7b81-11eb-9502-68d5f473ebe2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241103%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241103T085906Z&X-Amz-Expires=300&X-Amz-Signature=e532fd7d2bd271f12988982bc8e5a47a0f966b40452b55d444bbb74292ac1fb1&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustc.generic.wpaProfile&response-content-type=application%2Foctet-stream
Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive
```

* Skip only github.com/rust-lang/rust/pulls?q=
2024-12-29 12:58:21 -08:00
许杰友 Jieyou Xu (Joe) ee185fe701 Add redirects for integration-testing and headers (#2092) 2024-11-04 14:09:39 +08:00
Martin Liška 9a13c75f11 linkcheck: fix reported broken links (part 2) (#2024)
* linkcheck: fix reported broken links (part 2)

* Apply suggestions from code review

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

* Fix mir::Constant link target

* Fix borked links

* Fix one more link name

* Exclude 2 links from checking

* Fix exclude patterns in book.toml

* Fix comment

* Fix rmake-tests URL

* Apply suggestions from code review

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

---------

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-07-27 14:45:57 +02:00
Yuki Okushi e0a9ace640 Fix more links (#1884) 2024-02-21 12:17:28 -03:00
jyn b4b007be06 Don't require $GITHUB_TOKEN to build locally (#1652) 2023-03-27 00:28:07 +09:00
Ezra Shaw 25b0c633d5 update error code docs to reflect recent changes (#1625) 2023-03-03 20:12:51 +09:00
Tshepang Mbambo e4aafcdccd enable AND search (#1607) 2023-02-18 22:20:26 +09:00
Yuki Okushi 6ccceb8a33 Add a citation file
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-02-11 08:41:56 +02:00
Yuki Okushi a80f180a46 Do not add accept header on linkcheck
It seems that this header causes "406 Not Acceptable" failures: https://github.com/rust-lang/rustc-dev-guide/actions/runs/4092776683/jobs/7057742900
2023-02-06 11:32:47 +02:00
Yuki Okushi e37b9440ed Use ephemeral PAT for linkcheck
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-28 20:39:19 +02:00
Ralf Jung 6b01ad5a98 don't refer to the compile-time interpreter as "Miri" (#1471) 2022-09-26 18:07:23 +09:00
Tshepang Mbambo 45337d5392 fix quick-edit link (#1441) 2022-08-23 07:46:08 +09:00
Niko Matsakis f3cac7c8fc add mdbook-mermaid 2022-07-17 23:34:12 +02:00
David Wood 17edb681ff diagnostics: add translation documentation
- Add documentation on translation infrastructure and use of
  `SessionSubdiagnostic`.
- Update diagnostic examples on other pages to be translatable since
  this is preferred.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-13 10:14:40 +02:00
Yuki Okushi ab34dd7cfb Exclude `tomlee.co` from link-checking (#1356)
https://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/ returns 404 on CI even though it's not actually 404.
So, that doesn't return any useful result, let's ignore it.
Also, formatted the exclude list for readability.
2022-05-24 16:01:26 -07:00
Eric Huss 121b57d498 Reorganize and expand the testing chapters. (#1281)
* Reorganize and expand the testing chapters.

* Update tests chapters for review comments.

* Fix typo.
2022-01-18 14:44:26 -03:00
Frank Steffahn bbd8062daa Fix warning "Renderer command uses a path relative to the renderer output directory ..." (#1194) 2021-08-28 16:35:36 +09:00
Tshepang Lekhonkhobe 40dfee8bcd allow to quickly edit a page directly on github 2021-08-15 20:47:42 -05:00
Iñaki Garay 7a80b01e01 Add mdbook-toc, markers, and documentation (#1028)
* Add mdbook-toc to travis, book.toml  and documentation

* Add toc markers

* Whitespace cleanup and some punctuation

* Addressed comments
2021-01-20 14:33:11 -03:00
mark 44c7c54da1 exclude play.rlo from linkchecks 2020-12-03 00:06:19 -05:00
mark 6ba01cf9eb linkcheck only for changed files except in cron jobs 2020-10-08 17:11:36 -04:00
Yuki Okushi 8ad5d1b11c Exclude `rustaceans.org` from linkcheck 2020-07-16 17:18:50 -05:00
Who? Me?! 95768fb681 Fold chapters by default to make ToC shorter 2020-06-26 17:40:18 -05:00
Who? Me?! 39ad2655a4 whitelist amazon 2020-06-23 00:35:54 -05:00
Who? Me?! 94eedfde74 Reduce cache timeout to catch broken links faster. 2020-05-03 12:30:23 -05:00
Santiago Pastorino c05ed676d2 Rename rustc-guide to rustc-dev-guide (#601)
* Rename rustc-guide to rustc-dev-guide

* rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org
2020-03-10 11:01:43 -03:00
Yuki Okushi 2d61e5cd29 Fix links 2020-01-13 13:14:26 -06:00
Who? Me?! a3f4e929a3 Add Karrq's salsa chapter (#529)
* add Karrq's salsa chapter

* add youtu.be short url
2019-11-27 14:06:07 -03:00
Yuki Okushi 0caefaa384 Add link to git repository for book 2019-11-06 22:19:30 -06:00
Mark Mansi 744796a3ad fold subchapters 2019-11-05 15:38:19 -06:00
Mark Mansi 2d8434cec3 remove all the hacks, add some improvements 2019-11-05 11:58:33 -06:00
Mark Mansi 6a0e3f667b hack + drive-by-fix 2019-09-05 19:04:33 -05:00
Mark Mansi cfb84d863f blacklist some commonly problematic links 2019-07-17 10:19:57 -05:00
Mark Mansi 58981d7649 Fix all the links! 2018-09-21 15:54:25 -05:00
Mark Mansi fed0e227c1 don't check crates.io links 2018-09-21 15:54:25 -05:00
Mark Mansi 2a7b1d8e21 check web links 2018-09-21 15:54:25 -05:00
Alexander Regueiro 36dffefd1a removed whitespace 2018-06-08 20:35:46 -05:00
Eric Huss 6723308d21 Add mdbook search. 2018-03-22 13:55:55 -05:00
Michael Bryan 1d3f0bb532 Added the mdbook-linkcheck backend 2018-01-31 14:13:09 -05:00
Niko Matsakis eaa28eb853 add outline and chapters 2018-01-16 17:35:19 -05:00