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

API reference docs & Styling #310

Open
timunie opened this issue Jan 8, 2024 · 1 comment
Open

API reference docs & Styling #310

timunie opened this issue Jan 8, 2024 · 1 comment

Comments

@timunie
Copy link
Contributor

timunie commented Jan 8, 2024

If we manage to add back the API some day, it would be great if the TemplateParts could be added to the controls pages. Moreover it would be great to add links to the original Fluent and Simple styles for faster copy & paste if needed.


I imagine that information could probably be auto generated based on the attributes in the control class and then dumped onto the docs site somewhere so people can at least see it exists. The only control I can see there that has it at all is the colour picker

Obviously it would be nice if it was automatically kept in sync with what ever the latest release version is. I am however not sure how the doc site/doc build system works. In any case, it should be fairly easy to generate a bunch of markup for all controls in a specific namespace based on the attribute values. I am guessing some github action could possibly do that. But it would likely mean adding a bunch of C# code to the build system.

Originally posted by @thevortexcloud in AvaloniaUI/Avalonia#14131 (reply in thread)

@thevortexcloud
Copy link
Contributor

On a side note, AvaloniaUI/Avalonia#14180 should actually solve some of my problems with the template part system. But having the list would still be nice.

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

No branches or pull requests

2 participants