Skip to content

Conversation

@dbrattli
Copy link
Collaborator

@dbrattli dbrattli commented Nov 17, 2025

Update Python documentation

Added documentation for new Python features in Fable v5.0.0:

  • Py.python - inline Python code embedding
  • Py.Decorator - Python decorator support for classes and functions
  • Py.ClassAttributes - control class member generation
  • Record field casing behavior (v5.0.0-alpha.14)
  • importSideEffects function
  • Python version requirements (3.12+, 3.14 supported)
  • PyPI publishing with --fableLib option

Features include code examples and version tags.

@dbrattli
Copy link
Collaborator Author

@MangelMaxime is this the right way to tag at this point, or should I add -alpha to the tags?

<p class="tag is-info is-medium">
    Added in v5.0.0
</p>

@MangelMaxime
Copy link
Member

@MangelMaxime is this the right way to tag at this point, or should I add -alpha to the tags?

<p class="tag is-info is-medium">
    Added in v5.0.0
</p>

I think we should use the real version if possible to avoid confusion.

Perhaps, once we released Fable 5 we will just mark everything as Added in v5.0.0 if it makes more sense.

Copy link
Member

@MangelMaxime MangelMaxime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small rewording proposition what do you think?

@dbrattli
Copy link
Collaborator Author

@MangelMaxime Thanks for the feedback and suggestions. Agree on the version tags. I will update them later today (or tomorrow).

@dbrattli dbrattli merged commit 85d6cac into dev Nov 22, 2025
2 checks passed
@dbrattli dbrattli deleted the python-doc-update branch November 22, 2025 12:10
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.

3 participants