Skip to content

Update static.rst documentation#2510

Closed
kavi2du wants to merge 107 commits intobeeware:mainfrom
kavi2du:static.rst-doc-update
Closed

Update static.rst documentation#2510
kavi2du wants to merge 107 commits intobeeware:mainfrom
kavi2du:static.rst-doc-update

Conversation

@kavi2du
Copy link
Contributor

@kavi2du kavi2du commented Oct 15, 2025

This PR updates the documentation of the static.py to reflect the new web platform insert system and deployment configuration.

Addresses the missing documentation for the recently introduced asset-gathering strategy, which is currently not documented at all.

Refs #2337 , #2442

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

kavi2du and others added 30 commits August 4, 2025 13:06
Draft to replace code loading pyscript.toml from the web-template files with a process to gather them from toga_web or 3rd party GUI toolkit
… finding

_gather_backend_config_file function might be obsolete.
This now attempts to find pyscript.toml in the same directory as config.toml using wheel.open()
Refactor wheel processing, simplify deploy/* checks, drop unused cases, and sort inserts/packages for consistent output
Refactor web static build to remove fragile type inference, apply all marker styles per file and streamline wheel processing
Refactor process_wheel method to restore legacy '/static' CSS insert handling and handle CSS files from both legacy and deploy/inserts paths. Adds a warning when legacy '/static' CSS is detected. All CSS files are now added to static/css/briefcase.css with banner comments.
caydnn and others added 28 commits October 3, 2025 13:13
first_app_built will not no longer contain it
Minor comment update warn on each legacy /static/*.css, not once per wheel
Create and update test_build__handle_legacy_css.py that houses the test cases for _handle_legacy_css method
Create and update test_build__handle_insert.py that houses the test cases for _handle_insert method
Log invalid insert files as warnings instead of debug in _handle_insert()
debugs have been changed to warning, monkey patch no longer necessary
Update static.rst to reflect the new web platform insert system and deployment config
@kavi2du kavi2du closed this Oct 15, 2025
@kavi2du kavi2du deleted the static.rst-doc-update branch October 15, 2025 03:42
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