Skip to content

Commit e122eef

Browse files
authored
Merge pull request #2065 from ehuss/redirect-remove
Remove custom redirect scripts
2 parents 9768e0e + 60591b4 commit e122eef

File tree

5 files changed

+48
-74
lines changed

5 files changed

+48
-74
lines changed

book.toml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ use-boolean-and = true
2323
"test-summary.md" = { enable = false }
2424

2525
[output.html.redirect]
26+
"/attributes.html#cold-attribute" = "attributes/codegen.html#the-cold-attribute"
27+
"/attributes.html#conditional-compilation" = "conditional-compilation.html"
28+
"/attributes.html#crate-only-attributes" = "attributes.html#built-in-attributes-index"
29+
"/attributes.html#deprecation" = "attributes/diagnostics.html#the-deprecated-attribute"
30+
"/attributes.html#derive" = "attributes/derive.html"
31+
"/attributes.html#documentation" = "../rustdoc/the-doc-attribute.html"
32+
"/attributes.html#ffi-attributes" = "attributes.html#built-in-attributes-index"
33+
"/attributes.html#inline-attribute" = "attributes/codegen.html#the-inline-attribute"
34+
"/attributes.html#lint-check-attributes" = "attributes/diagnostics.html#lint-check-attributes"
35+
"/attributes.html#macro-related-attributes" = "attributes.html#built-in-attributes-index"
36+
"/attributes.html#miscellaneous-attributes" = "attributes.html#built-in-attributes-index"
37+
"/attributes.html#must_use" = "attributes/diagnostics.html#the-must_use-attribute"
38+
"/attributes.html#optimization-hints" = "attributes/codegen.html#optimization-hints"
39+
"/attributes.html#path" = "items/modules.html#the-path-attribute"
40+
"/attributes.html#preludes" = "crates-and-source-files.html#preludes-and-no_std"
41+
"/attributes.html#testing" = "attributes/testing.html"
42+
"/attributes.html#tool-lint-attributes" = "attributes/diagnostics.html#tool-lint-attributes"
2643
"/crates-and-source-files.html#preludes-and-no_std" = "names/preludes.html"
2744
"/expressions/block-expr.html#labelled-block-expressions" = "block-expr.html#labeled-block-expressions"
2845
"/expressions/enum-variant-expr.html" = "struct-expr.html"
@@ -42,6 +59,37 @@ use-boolean-and = true
4259
"/procedural-macros.html#derive-macros" = "procedural-macros.html#the-proc_macro_derive-attribute"
4360
"/procedural-macros.html#function-like-procedural-macros" = "procedural-macros.html#the-proc_macro-attribute"
4461
"/runtime.html#the-panic_handler-attribute" = "panic.html#the-panic_handler-attribute"
62+
"/types.html#abstract-return-types" = "types/impl-trait.html#abstract-return-types"
63+
"/types.html#anonymous-type-parameters" = "types/impl-trait.html#anonymous-type-parameters"
64+
"/types.html#array-and-slice-types" = "types/array.html"
65+
"/types.html#boolean-type" = "types/boolean.html"
66+
"/types.html#call-traits-and-coercions" = "types/closure.html#call-traits-and-coercions"
67+
"/types.html#capture-modes" = "types/closure.html#capture-modes"
68+
"/types.html#closure-types" = "types/closure.html"
69+
"/types.html#enumerated-types" = "types/enum.html"
70+
"/types.html#function-item-types" = "types/function-item.html"
71+
"/types.html#function-pointer-types" = "types/function-pointer.html"
72+
"/types.html#impl-trait" = "types/impl-trait.html"
73+
"/types.html#inferred-type" = "types/inferred.html"
74+
"/types.html#machine-dependent-integer-types" = "types/numeric.html#machine-dependent-integer-types"
75+
"/types.html#machine-types" = "types/numeric.html"
76+
"/types.html#mutable-references-" = "types/pointer.html#mutable-references-mut"
77+
"/types.html#never-type" = "types/never.html"
78+
"/types.html#numeric-types" = "types/numeric.html"
79+
"/types.html#other-traits" = "types/closure.html#other-traits"
80+
"/types.html#pointer-types" = "types/pointer.html"
81+
"/types.html#raw-pointers-const-and-mut" = "types/pointer.html#raw-pointers-const-and-mut"
82+
"/types.html#self-types" = "paths.html#self-1"
83+
"/types.html#shared-references-" = "types/pointer.html#shared-references-"
84+
"/types.html#smart-pointers" = "types/pointer.html#smart-pointers"
85+
"/types.html#struct-types" = "types/struct.html"
86+
"/types.html#textual-types" = "types/textual.html"
87+
"/types.html#trait-object-lifetime-bounds" = "types/trait-object.html#trait-object-lifetime-bounds"
88+
"/types.html#trait-objects" = "types/trait-object.html"
89+
"/types.html#tuple-types" = "types/tuple.html"
90+
"/types.html#type-parameters" = "types/parameters.html"
91+
"/types.html#union-types" = "types/union.html"
92+
"/types.html#unique-immutable-borrows-in-captures" = "types/closure.html#unique-immutable-borrows-in-captures"
4593
"/unsafe-blocks.html" = "unsafe-keyword.html"
4694
"/unsafe-functions.html" = "unsafe-keyword.html"
4795

src/attributes-redirect.html

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/attributes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{#include attributes-redirect.html}}
21
r[attributes]
32
# Attributes
43

src/types-redirect.html

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{#include types-redirect.html}}
21
r[type]
32
# Types
43

0 commit comments

Comments
 (0)