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

Commit 81a3e2f

Browse files
committed
update docs
1 parent e1ab1e1 commit 81a3e2f

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'mkdocs.yml'
1212
- 'pyproject.toml'
1313
- '.github/workflows/docs.yml'
14-
- 'src/flet_webview'
14+
- 'src/flet_webview/**'
1515
- 'examples/webview_example/src/main.py'
1616

1717
workflow_dispatch: # Allow manual trigger from the GitHub Actions UI

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased] - 2025-mm-dd
99

10-
## Added
10+
### Added
1111

1212
- Deployed online documentation: https://flet-dev.github.io/flet-webview/
1313

docs/webview.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
::: flet_webview.webview.WebView
2-
options:
3-
show_labels: true
1+
::: flet_webview.webview.WebView

mkdocs.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extra:
6363
provider: mike
6464
social:
6565
- icon: fontawesome/brands/github
66-
link: https://github.com/flet-dev/flet-permission-handler
66+
link: https://github.com/flet-dev
6767
- icon: fontawesome/brands/discord
6868
link: https://discord.gg/bCFXYgZR3b
6969
- icon: fontawesome/brands/x-twitter
@@ -79,9 +79,10 @@ nav:
7979
- Types:
8080
- LogLevelSeverity: types/log_level_severity.md
8181
- RequestMethod: types/request_method.md
82-
- WebviewConsoleMessageEvent: types/webview_console_message_event.md
83-
- WebviewJavaScriptEvent: types/webview_javascript_event.md
84-
- WebviewScrollEvent: types/webview_scroll_event.md
82+
- Events:
83+
- WebviewConsoleMessageEvent: types/webview_console_message_event.md
84+
- WebviewJavaScriptEvent: types/webview_javascript_event.md
85+
- WebviewScrollEvent: types/webview_scroll_event.md
8586
- Changelog: changelog.md
8687
- License: license.md
8788

@@ -92,6 +93,10 @@ validation:
9293
unrecognized_links: warn
9394
anchors: warn
9495

96+
watch:
97+
- docs
98+
- src
99+
95100
# Plugins
96101
plugins:
97102
# - footnotes
@@ -101,10 +106,11 @@ plugins:
101106
alias_type: symlink
102107
- glightbox
103108
- mkdocstrings:
104-
default_handler: python
109+
default_handler: python_xref
105110
handlers:
106-
python:
111+
python_xref:
107112
options:
113+
relative_crossrefs: true
108114
docstring_style: google
109115
show_signature_annotations: true
110116
signature_crossrefs: true
@@ -118,6 +124,7 @@ plugins:
118124
show_category_heading: false
119125
show_labels: false
120126
show_if_no_docstring: true
127+
docstring_section_style: spacy
121128
filters:
122129
- "!^_" # Exclude private members starting with only one underscore
123130
- "!before_update"

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414

1515
[project.urls]
1616
Homepage = "https://flet.dev"
17-
Documentation = "https://flet.dev/docs/controls/webview/"
17+
Documentation = "https://flet-dev.github.io/flet-webview"
1818
Repository = "https://github.com/flet-dev/flet-webview"
1919
Issues = "https://github.com/flet-dev/flet-webview/issues"
2020

@@ -29,6 +29,7 @@ docs = [
2929
"mkdocs",
3030
"mkdocs-material",
3131
"mkdocstrings[python]",
32+
"mkdocstrings-python-xref",
3233
"mike",
3334
"markdown>=3.6",
3435
"pymdown-extensions",

0 commit comments

Comments
 (0)