Skip to content

Commit fcef6c2

Browse files
Fix RSS redirect order - move before wildcard redirects
The RSS feed redirects were being caught by the wildcard changelog redirects because they were placed after them. Moved the RSS redirects before the wildcard redirects so they match first. Co-Authored-By: Niels Swimberghe <[email protected]>
1 parent 4be4d58 commit fcef6c2

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

fern/docs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,15 @@ redirects:
236236
destination: /learn/sdks/overview/project-structure
237237
- source: /learn/sdks/introduction/customer-showcase
238238
destination: /learn/sdks/customer-showcase
239+
240+
# RSS feed redirects (must be before wildcard redirects to match correctly)
241+
- source: /learn/sdks/introduction/changelog/ts.rss
242+
destination: /learn/sdks/generators/typescript/changelog.rss
243+
- source: /learn/sdks/introduction/changelog/csharp.rss
244+
destination: /learn/sdks/generators/csharp/changelog.rss
245+
- source: /learn/cli-reference/changelog.rss
246+
destination: /learn/cli-api-reference/cli-reference/changelog.rss
247+
239248
- source: /learn/sdks/introduction/changelog/ts/:slug*
240249
destination: /learn/sdks/generators/typescript/changelog/:slug*
241250
- source: /learn/sdks/introduction/changelog/python/:slug*
@@ -250,14 +259,6 @@ redirects:
250259
destination: /learn/sdks/generators/ruby/changelog/:slug*
251260
- source: /learn/sdks/introduction/changelog/php/:slug*
252261
destination: /learn/sdks/generators/php/changelog/:slug*
253-
254-
# RSS feed redirects
255-
- source: /learn/sdks/introduction/changelog/ts.rss
256-
destination: /learn/sdks/generators/typescript/changelog.rss
257-
- source: /learn/sdks/introduction/changelog/csharp.rss
258-
destination: /learn/sdks/generators/csharp/changelog.rss
259-
- source: /learn/cli-reference/changelog.rss
260-
destination: /learn/cli-api-reference/cli-reference/changelog.rss
261262

262263
# SDK Capabilities - remaining general redirects (after specific overrides above)
263264
- source: /learn/sdks/capabilities/idiomatic-method-names

0 commit comments

Comments
 (0)