Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested types cause URL conflicts for Docs recipe #38

Open
KellyThomas opened this issue Apr 30, 2018 · 1 comment
Open

Nested types cause URL conflicts for Docs recipe #38

KellyThomas opened this issue Apr 30, 2018 · 1 comment

Comments

@KellyThomas
Copy link

When using the Docs recipe on an code base with nested types there can be name conflicts.

For example when running the recipe against this code:

namespace Demo
{
    public class Temperature
    {
        public enum Mode { Hot, Cold }
    }

    public class Orientation
    {
        public enum Mode { North, South }
    }
}

It produces this error:

Multiple documents output to api/Demo/Mode/index.html (this probably wasn't intended):
  Demo.Orientation.Mode
  Demo.Temperature.Mode
@SilentSin
Copy link

SilentSin commented Apr 12, 2019

I just ran into this issue as well. I would have expected Demo.Temperature.Mode to generate documentation at api/Demo/Temperature/Mode/index.html which would avoid the conflict.

@daveaglick daveaglick transferred this issue from statiqdev/Statiq.Web Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants