feat(*): implement v0.1.0, add docs

This commit is contained in:
h
2026-01-19 01:25:44 +01:00
commit 506a975052
34 changed files with 3285 additions and 0 deletions

40
docs/api.rst Normal file
View File

@@ -0,0 +1,40 @@
API Reference
=============
This page documents the public API of pyqt-liquidglass.
pyqt_liquidglass
----------------
.. automodule:: pyqt_liquidglass
:members:
:undoc-members:
:show-inheritance:
:exclude-members: __all__
Platform Constants
------------------
.. py:data:: pyqt_liquidglass.IS_MACOS
:type: bool
:noindex:
``True`` if running on macOS, ``False`` otherwise.
.. py:data:: pyqt_liquidglass.MACOS_VERSION
:type: tuple[int, int, int] | None
:noindex:
macOS version as a tuple (major, minor, patch), or ``None`` on other platforms.
.. py:data:: pyqt_liquidglass.HAS_GLASS_EFFECT
:type: bool
:noindex:
``True`` if ``NSGlassEffectView`` is available (macOS 26+).
.. py:data:: pyqt_liquidglass.HAS_VISUAL_EFFECT
:type: bool
:noindex:
``True`` if ``NSVisualEffectView`` is available.