AvaloniaUI / avalonia-docs

https://docs.avaloniaui.net/docs/welcome
65 stars 213 forks source link

PseudoClass doc duplicate and wrong #317

Closed rabbitism closed 8 months ago

rabbitism commented 10 months ago

There are two pieces of docs for PseudoClass https://docs.avaloniaui.net/docs/concepts/pseudo-classes https://docs.avaloniaui.net/docs/reference/styles/pseudo-classes

and this sample is not valid

public static readonly PseudoClass CustomPseudoClass = PseudoClass.Parse(":custom");

// to enable
PseudoClasses.Set(CustomPseudoClass);

// to disable
PseudoClasses.Remove(CustomPseudoClass);
maxkatz6 commented 10 months ago

"concepts/pseudo-classes" should be removed I would say.

MikeCodesDotNET commented 10 months ago

Theres a ton of duplication within the docs. It's going to take a bit of work to go through and merge / fix.