@@ -638,12 +638,12 @@ redirects:
638638 - source : /learn/fern-definition/:slug*
639639 destination : /learn/api-definitions/ferndef/:slug*
640640 permanent : true
641-
641+
642642 # Redirect old others.mdx extension pages to overview pages
643643 - source : /learn/api-definitions/openapi/extensions/others
644644 destination : /learn/api-definitions/openapi/extensions/overview
645645 permanent : true
646- - source : /learn/api-definitions/asyncapi/extensions/others
646+ - source : /learn/api-definitions/asyncapi/extensions/others
647647 destination : /learn/api-definitions/asyncapi/extensions/overview
648648 permanent : true
649649 - source : /learn/api-definitions/openrpc/extensions/others
@@ -652,3 +652,162 @@ redirects:
652652 - source : /learn/api-definitions/grpc/extensions/:slug*
653653 destination : /learn/api-definitions/overview/overrides#definition-specific-extensions
654654 permanent : true
655+
656+ # ============================================================================
657+ # ADDITIONAL /LEARN/* REDIRECTS FROM CRAWLED URLS FROM GOOGLE SEARCH CONSOLE
658+ # ============================================================================
659+
660+ # SDK specific redirects
661+ - source : /learn/sdks/generators/java/publishing-to-maven-central
662+ destination : /learn/sdks/generators/java/publishing
663+ permanent : true
664+ - source : /learn/sdks/generators/php/publishing-to-packagist
665+ destination : /learn/sdks/generators/php/publishing
666+ permanent : true
667+ - source : /learn/sdks/generators/python/publishing-to-py-pi
668+ destination : /learn/sdks/generators/python/publishing
669+ permanent : true
670+ - source : /learn/sdks/generators/typescript/publishing-to-npm
671+ destination : /learn/sdks/generators/typescript/publishing
672+ permanent : true
673+ - source : /learn/sdks/generators/java/adding-custom-code
674+ destination : /learn/sdks/generators/java/custom-code
675+ permanent : true
676+ - source : /learn/sdks/reference/configuration
677+ destination : /learn/sdks/reference/generators-yml
678+ permanent : true
679+ - source : /learn/sdks/client
680+ destination : /learn/sdks/overview/introduction
681+ permanent : true
682+ - source : /learn/sdks/src
683+ destination : /learn/sdks/overview/project-structure
684+ permanent : true
685+ - source : /learn/sdks/alternatives/speakeasy
686+ destination : /learn/sdks/overview/introduction
687+ permanent : true
688+
689+ # Docs specific redirects
690+ - source : /learn/docs/customization/project-structure
691+ destination : /learn/docs/getting-started/project-structure
692+ permanent : true
693+ - source : /learn/docs/alternatives/mintlify
694+ destination : /learn/docs/getting-started/overview
695+ permanent : true
696+ - source : /learn/docs/api-references/api-explorer/advanced-configuration
697+ destination : /learn/docs/api-references/api-explorer/overview
698+ permanent : true
699+ - source : /learn/docs/enterprise/self-hosted
700+ destination : /learn/docs/self-hosted/overview
701+ permanent : true
702+ - source : /learn/docs/content/visual-editor-beta
703+ destination : /learn/docs/writing-content/fern-editor
704+ permanent : true
705+ - source : /learn/docs/content/visual-editor
706+ destination : /learn/docs/writing-content/fern-editor
707+ permanent : true
708+ - source : /learn/docs/content
709+ destination : /learn/docs/writing-content/markdown
710+ permanent : true
711+ - source : /learn/docs/config/overview
712+ destination : /learn/docs/configuration/what-is-docs-yml
713+ permanent : true
714+ - source : /learn/docs/llms.txt8
715+ destination : /learn/docs/seo/llms-txt
716+ permanent : true
717+ - source : /learn/docs/path/to/asset.pdf
718+ destination : /learn/docs/getting-started/overview
719+ permanent : true
720+ - source : /learn/docs/components/tabs
721+ destination : /learn/docs/writing-content/components/tabs
722+ permanent : true
723+ - source : /learn/docs/components/CustomCard
724+ destination : /learn/docs/writing-content/custom-react-components
725+ permanent : true
726+
727+ # API Definition redirects
728+ - source : /learn/api-definition/openapi/webhooks
729+ destination : /learn/api-definitions/openapi/endpoints/webhooks
730+ permanent : true
731+ - source : /learn/api-definition/introduction
732+ destination : /learn/api-definitions/overview/what-is-an-api-definition
733+ permanent : true
734+ - source : /learn/api-definition/openapi/streaming-and-sse
735+ destination : /learn/api-definitions/openapi/endpoints/streaming-and-sse
736+ permanent : true
737+ - source : /learn/api-definition/openapi/audiences
738+ destination : /learn/api-definitions/openapi/audiences
739+ permanent : true
740+ - source : /learn/api-definition/openapi/examples
741+ destination : /learn/api-definitions/openapi/examples
742+ permanent : true
743+ - source : /learn/api-definition/fern/comparison-with-open-api
744+ destination : /learn/api-definitions/ferndef/overview
745+ permanent : true
746+ - source : /learn/api-definitions/openapi/openapi.yml
747+ destination : /learn/api-definitions/openapi/overview
748+ permanent : true
749+ - source : /learn/api-definitions/ferndef/web-sockets
750+ destination : /learn/api-definitions/ferndef/websockets
751+ permanent : true
752+ - source : /learn/api-definitions/grpc/extensions/server-name
753+ destination : /learn/api-definitions/grpc/servers
754+ permanent : true
755+ - source : /learn/api-definitions/grpc/extensions/timeout
756+ destination : /learn/api-definitions/grpc/overview
757+ permanent : true
758+ - source : /learn/api-definitions/asyncapi/extensions/server-name
759+ destination : /learn/api-definitions/asyncapi/extensions/server-names
760+ permanent : true
761+ - source : /learn/api-definitions/openrpc/extensions/sdk-group-name
762+ destination : /learn/api-definitions/openrpc/extensions/sdk-group-names
763+ permanent : true
764+ - source : /learn/api-definitions/openrpc/extensions/examples
765+ destination : /learn/api-definitions/openrpc/examples
766+ permanent : true
767+ - source : /learn/api-definitions/openrpc/extensions/retry
768+ destination : /learn/api-definitions/openrpc/extensions/retry-behavior
769+ permanent : true
770+ - source : /learn/overview/define-your-api/openapi/extensions
771+ destination : /learn/api-definitions/openapi/extensions/overview
772+ permanent : true
773+
774+ # CLI & API Reference redirects
775+ - source : /learn/cli-api/cli-reference
776+ destination : /learn/cli-api-reference/cli-reference/overview
777+ permanent : true
778+ - source : /learn/cli-api/api-reference/tokens/generate
779+ destination : /learn/cli-api-reference/api-reference/tokens/generate
780+ permanent : true
781+ - source : /learn/cli-api/api-reference/tokens
782+ destination : /learn/cli-api-reference/api-reference/tokens/generate
783+ permanent : true
784+ - source : /learn/cli-api/api-reference/overview
785+ destination : /learn/cli-api-reference/api-reference/overview
786+ permanent : true
787+ - source : /learn/api/api-reference/docs/generate
788+ destination : /learn/cli-api-reference/api-reference/overview
789+ permanent : true
790+ - source : /learn/api-reference/sdk/generate/~explorer
791+ destination : /learn/cli-api-reference/api-reference/sdk/generate
792+ permanent : true
793+
794+ # Ask Fern redirects
795+ - source : /learn/ask-fern/features/custom-fa-qs
796+ destination : /learn/ask-fern/features/citations
797+ permanent : true
798+ - source : /learn/ai-search/getting-started/ai-search-customer-showcase
799+ destination : https://buildwithfern.com/showcase#ask-fern-customers
800+ permanent : true
801+
802+ # V2 legacy paths (old version of docs)
803+ - source : /learn/v2/:slug*
804+ destination : /learn/:slug*
805+ permanent : true
806+
807+ # Misc legacy learn paths
808+ - source : /learn/snippets/example.ts
809+ destination : /learn/cli-api-reference/api-reference/snippets/load
810+ permanent : true
811+ - source : /learn/cli-reference/path/to/file.pdf
812+ destination : /learn/cli-api-reference/cli-reference/overview
813+ permanent : true
0 commit comments