Skip to content

IContentFinders documentation correction #6938

@hfloyd

Description

@hfloyd

What type of issue is it?

Wrong documentation

What article/section is this about?

https://github.com/umbraco/UmbracoDocs/blob/main/13/umbraco-cms/reference/routing/request-pipeline/icontentfinder.md

https://docs.umbraco.com/umbraco-cms/13.latest/reference/routing/request-pipeline/icontentfinder

Describe the issue

In the section "Adding and removing IContentFinders", a code sample is provided:

builder.CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
    .AddComposers()
    .AddCustomContentFinders()
    .Build();

But .AddCustomContentFinders() is not valid. There is an option for .AddContentFinder<MyContentFinder>() is that what should be listed here?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions