Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit 8d592b0

Browse files
committed
update | preload flet package in mkdocs.yml for additional property documentation
1 parent 81a3e2f commit 8d592b0

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

docs/license.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
title: Licence
3-
---
4-
51
```
62
--8<-- "LICENSE"
73
```

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ plugins:
125125
show_labels: false
126126
show_if_no_docstring: true
127127
docstring_section_style: spacy
128+
inherited_members: true
129+
preload_modules: [ flet ]
128130
filters:
129131
- "!^_" # Exclude private members starting with only one underscore
130132
- "!before_update"

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ name = "flet-webview"
33
version = "0.2.0"
44
description = "Display web content in Flet apps using WebView."
55
readme = "README.md"
6-
authors = [
7-
{ name = "Flet contributors", email = "hello@flet.dev" }
8-
]
6+
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
97
license = "Apache-2.0"
108
requires-python = ">=3.10"
119
dependencies = [
@@ -39,8 +37,6 @@ docs = [
3937

4038
[tool.uv.sources]
4139
flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1" }
42-
flet-cli = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet-cli", rev = "v1" }
43-
flet-desktop = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet-desktop", rev = "v1" }
4440

4541
[build-system]
4642
requires = ["setuptools"]

src/flet_webview/webview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class WebView(ft.ConstrainedControl):
3535
prevent_links: Optional[List[str]] = None
3636
"""List of url-prefixes that should not be followed/loaded/downloaded."""
3737

38-
bgcolor: ft.OptionalColorValue = None
38+
bgcolor: Optional[ft.ColorValue] = None
3939
"""Defines the background color of the WebView."""
4040

4141
on_page_started: ft.OptionalControlEventCallable = None

0 commit comments

Comments
 (0)