-
Notifications
You must be signed in to change notification settings - Fork 7
Docs Missing Pages #1
Comments
Suggestion: Add page about styling. It's not obvious how to add one. For example, it took some time for me to understand that for adding simple style I have to write let styles = Styles()
let style = Style(fun s -> s.OfType<TextBlock>().Class(":pointerover"))
let setter = Setter(TextBlock.ForegroundProperty, brush)
style.Setters.Add setter
styles.Add style
styles Also I wrote |
@FoggyFinder Indeed this is also needed (will add it to the list) though I don't know much about the styling part any help would be appreciated |
So I'd like to help out here where I can, and I was wondering about making a new page for a control, what sort of guidelines I should follow? Any tips/pointers on making a new page or should I just write up a new doc based on the other ones that already exist and PR it? |
Thanks for the interest @smolck we really appreciate it. You can follow the README instructions and you can base your work on the existing ones. Ideally, you would like to link Avalonia Documentation (either Control Reference or the Type's API) From there anything unchecked on the list you want to pick feel free to do so 😁 PS: I was forgetting that @NicoVIII recently added a .editorconfig to the repository please ensure your editor supports it if you have doubts or comments you can ping me on gitter also |
No problem! Happy to help 😁
Thanks! That’ll get me started!
Are there any plugins to add to VSCode to make this work, or does VSCode support that by default?
Will do! Thanks for the quick reply! |
VScode does not support it out-of-the-box as far as I know, but there is this extension one can use: If editor specific code is okay inside the repository we could add extension recommendations to a .vscode/extensions.json file. |
With the new website sources in place, we can start improving the Avalonia.FuncUI docs
so far we have a few pages
We have a couple of candidates that are not in the list yet
(Although this is more of an Elmish question, I believe it will keep popping up)
We also have some control pages already with basic examples these can be improved later, the main goal is to have basic examples for each control supported by Avalonia.FuncUI
Missing (taken from the Avalonia docs website):
If there's an item missing from the list let me know
The text was updated successfully, but these errors were encountered: