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

Add UrlFormatting (defaults to None which is current behavior) #75

Merged
merged 1 commit into from
Jul 5, 2017
Merged

Add UrlFormatting (defaults to None which is current behavior) #75

merged 1 commit into from
Jul 5, 2017

Conversation

GeertvanHorrik
Copy link
Contributor

Fixes #66

There are 3 modes:

  1. None (default & current behavior)
  2. Strip (replaces all special characters by string.Empty)
  3. Dashes (replaces all special characters by "-")

Thanks for this feature, it's possible to auto-generate API with nice-looking urls like this:

/reference/catel-core/catel-some-namespace/typename/index.htm (mode == Dashes)

instead of

/reference/Catel.Core/Catel.Some.Namespace/TypeName/index.htm (mode == None)

@FransBouma FransBouma merged commit 6cb4133 into FransBouma:master Jul 5, 2017
@FransBouma
Copy link
Owner

I've corrected some small layout issues in the code, nothing functionality wise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants