|
4043 | 4043 | "PageKind"
|
4044 | 4044 | ]
|
4045 | 4045 | },
|
| 4046 | + { |
| 4047 | + "accessLevel" : "public", |
| 4048 | + "availability" : [ |
| 4049 | + { |
| 4050 | + "domain" : "Swift-DocC", |
| 4051 | + "introduced" : { |
| 4052 | + "major" : 5, |
| 4053 | + "minor" : 5, |
| 4054 | + "patch" : 0 |
| 4055 | + } |
| 4056 | + } |
| 4057 | + ], |
| 4058 | + "declarationFragments" : [ |
| 4059 | + { |
| 4060 | + "kind" : "typeIdentifier", |
| 4061 | + "spelling" : "@" |
| 4062 | + }, |
| 4063 | + { |
| 4064 | + "kind" : "typeIdentifier", |
| 4065 | + "spelling" : "Redirected" |
| 4066 | + }, |
| 4067 | + { |
| 4068 | + "kind" : "text", |
| 4069 | + "spelling" : "(" |
| 4070 | + }, |
| 4071 | + { |
| 4072 | + "kind" : "identifier", |
| 4073 | + "spelling" : "from" |
| 4074 | + }, |
| 4075 | + { |
| 4076 | + "kind" : "text", |
| 4077 | + "spelling" : ": " |
| 4078 | + }, |
| 4079 | + { |
| 4080 | + "kind" : "typeIdentifier", |
| 4081 | + "spelling" : "URL" |
| 4082 | + }, |
| 4083 | + { |
| 4084 | + "kind" : "text", |
| 4085 | + "spelling" : ")" |
| 4086 | + } |
| 4087 | + ], |
| 4088 | + "docComment" : { |
| 4089 | + "lines" : [ |
| 4090 | + { |
| 4091 | + "text" : "A directive that specifies an additional URL for the page where the directive appears." |
| 4092 | + }, |
| 4093 | + { |
| 4094 | + "text" : "" |
| 4095 | + }, |
| 4096 | + { |
| 4097 | + "text" : "Use this directive to declare a URL where a piece of content was previously located." |
| 4098 | + }, |
| 4099 | + { |
| 4100 | + "text" : "For example, if you host the compiled documentation on a web server," |
| 4101 | + }, |
| 4102 | + { |
| 4103 | + "text" : "that server can read this data and set an HTTP \"301 Moved Permanently\" redirect from" |
| 4104 | + }, |
| 4105 | + { |
| 4106 | + "text" : "the declared URL to the page's current URL and avoid breaking any existing links to the content." |
| 4107 | + }, |
| 4108 | + { |
| 4109 | + "text" : "" |
| 4110 | + }, |
| 4111 | + { |
| 4112 | + "text" : "> Note: Starting with version 5.11, @Redirected is supported as a child directive of @Metadata. In" |
| 4113 | + }, |
| 4114 | + { |
| 4115 | + "text" : "previous versions, @Redirected must be used as a top level directive." |
| 4116 | + }, |
| 4117 | + { |
| 4118 | + "text" : "" |
| 4119 | + }, |
| 4120 | + { |
| 4121 | + "text" : "- Parameters:" |
| 4122 | + }, |
| 4123 | + { |
| 4124 | + "text" : " - from: The URL that redirects to the page associated with the directive." |
| 4125 | + }, |
| 4126 | + { |
| 4127 | + "text" : " **(required)**" |
| 4128 | + } |
| 4129 | + ] |
| 4130 | + }, |
| 4131 | + "identifier" : { |
| 4132 | + "interfaceLanguage" : "swift", |
| 4133 | + "precise" : "__docc_universal_symbol_reference_$Redirected" |
| 4134 | + }, |
| 4135 | + "kind" : { |
| 4136 | + "displayName" : "Directive", |
| 4137 | + "identifier" : "class" |
| 4138 | + }, |
| 4139 | + "names" : { |
| 4140 | + "navigator" : [ |
| 4141 | + { |
| 4142 | + "kind" : "attribute", |
| 4143 | + "spelling" : "@" |
| 4144 | + }, |
| 4145 | + { |
| 4146 | + "kind" : "identifier", |
| 4147 | + "preciseIdentifier" : "__docc_universal_symbol_reference_$Redirected", |
| 4148 | + "spelling" : "Redirected" |
| 4149 | + } |
| 4150 | + ], |
| 4151 | + "subHeading" : [ |
| 4152 | + { |
| 4153 | + "kind" : "identifier", |
| 4154 | + "spelling" : "@" |
| 4155 | + }, |
| 4156 | + { |
| 4157 | + "kind" : "identifier", |
| 4158 | + "spelling" : "Redirected" |
| 4159 | + }, |
| 4160 | + { |
| 4161 | + "kind" : "text", |
| 4162 | + "spelling" : "(" |
| 4163 | + }, |
| 4164 | + { |
| 4165 | + "kind" : "identifier", |
| 4166 | + "spelling" : "from" |
| 4167 | + }, |
| 4168 | + { |
| 4169 | + "kind" : "text", |
| 4170 | + "spelling" : ": " |
| 4171 | + }, |
| 4172 | + { |
| 4173 | + "kind" : "typeIdentifier", |
| 4174 | + "spelling" : "URL" |
| 4175 | + }, |
| 4176 | + { |
| 4177 | + "kind" : "text", |
| 4178 | + "spelling" : ")" |
| 4179 | + } |
| 4180 | + ], |
| 4181 | + "title" : "Redirected" |
| 4182 | + }, |
| 4183 | + "pathComponents" : [ |
| 4184 | + "Redirected" |
| 4185 | + ] |
| 4186 | + }, |
4046 | 4187 | {
|
4047 | 4188 | "accessLevel" : "public",
|
4048 | 4189 | "availability" : [
|
|
0 commit comments