forked from 1b-agent/opencadstudio-upstream
Improve website translations and favicons; disable push workflows
This commit is contained in:
1 parent
d66e89ca19
commit
143703d809
32 files changed
+300
-298
No files matched your search
+7
-4
@@ -7,11 +7,14 @@ Run `python3 scripts/test_site.py` to check translations, links, metadata and la
|
||||
|
||||
The root page follows the browser language, falling back to English. Language links
|
||||
use explicit locale paths and remember manual choices when browser storage is available.
|
||||
Arabic uses a right-to-left layout. Icons are exported from `assets/logo.svg`;
|
||||
update the PNG/ICO files in this directory when the logo changes.
|
||||
Arabic uses a right-to-left layout. The favicon uses the centered OCS lettering
|
||||
from `assets/logo.svg`, without details that disappear at small sizes. Export
|
||||
`favicon.svg` to PNG at 96, 180, 192 and 512 pixels and ICO at 16, 32, 48, 96 and
|
||||
256 pixels when it changes. Favicon URLs stay fixed for search engine crawlers.
|
||||
|
||||
`workspace.png` and `modeling.png` are shared by the website and all README languages.
|
||||
The drawing screenshot also supplies the social preview; website image URLs change with their contents.
|
||||
|
||||
GitHub Pages publishes website changes from `main` while building the app from the
|
||||
latest release. Each deployment records both sources separately.
|
||||
GitHub Pages runs on release publication, a call from the weekly release workflow,
|
||||
or a manual run. Commits and pushes do not start workflows. Deployments use website
|
||||
files from `main` and build the app from the release, recording both sources separately.
|
||||
Reference in new issue
Block a user