mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
5f1e79f49c
* feat(i18n): add RTL support and Arabic/Persian translations - Add `dir` attribute to `<html>` via `.Site.Language.Direction` - Convert physical CSS properties to logical properties across ~30 SCSS files - Add `[dir="rtl"]` overrides for elements that need physical direction (code blocks, translate, icons) - Add `logical-direction.html` template function for config value normalization - Add RTL-aware deprecation warnings for old "left"/"right" config values - Rename github corner, TOC position, reading progress config values from "left"/"right" to "start"/"end" - Add Arabic (ar.toml) and Persian (fa.toml) i18n translation files - Update multilingual documentation with RTL language configuration guide * feat(shortcodes): add RTL support for tabs and refactor border-radius mixin - Rename tabs placement values from "left"/"right" to "start"/"end" with deprecation warnings - Convert all physical directional properties in tabs SCSS to logical properties - Add RTL overrides for translate and box-shadow in tabs - Add "start"/"end" support to border-radius mixin using CSS logical properties - Refactor fixit-decryptor to use border-radius(start/end) mixin * feat(assets): add RTL support for toc-dialog slide animation The mobile toc-dialog always slid in from the right (100vw). In RTL mode it should slide from the left (-100vw), matching the border-inline-start/margin-inline-end anchoring. * feat(assets): add RTL support for post-tag comma separator * refactor(assets): extract RTL styles into dedicated _rtl.scss * feat(assets): add RTL support for theme-switch and directional icons * feat(i18n): add RTL support and improve i18n - Add RTL typography corrections for Arabic-script languages (:lang(ar/fa/ur)) - Remove fa-list-ol from RTL flip list (numbers get mirrored) - Add Urdu translation file (i18n/ur.toml) - Rename noMoretTranslations to noTranslations and simplify all translations - Update json-viewer-element from 1.0.4 to 1.0.6 - Add RTL test posts (index.en.md, index.ar.md) - Fix layout partials for RTL support See https://fixit.lruihao.cn/docs/content-management/introduction/#rtl-language-support
212 lines
5.2 KiB
YAML
212 lines
5.2 KiB
YAML
schemaVersion: 1
|
|
baseDir: assets/lib
|
|
libraries:
|
|
- npm: '@algolia/autocomplete-js'
|
|
version: 1.19.9
|
|
local:
|
|
items:
|
|
- from: dist/umd/index.production.js
|
|
to: autocomplete-js/index.production.js
|
|
- npm: algoliasearch
|
|
version: 5.55.1
|
|
local:
|
|
items:
|
|
- from: dist/lite/builds/browser.umd.js
|
|
to: algoliasearch/browser.umd.js
|
|
- npm: animate.css
|
|
version: 4.1.1
|
|
local:
|
|
items:
|
|
- from: animate.min.css
|
|
to: animate/animate.min.css
|
|
- npm: aplayer
|
|
version: 1.10.1
|
|
local:
|
|
items:
|
|
- from: dist/APlayer.min.css
|
|
to: aplayer/APlayer.min.css
|
|
- from: dist/APlayer.min.js
|
|
to: aplayer/APlayer.min.js
|
|
- npm: cell-tooltip
|
|
version: 0.3.1
|
|
local:
|
|
items:
|
|
- from: dist/cell-tooltip.umd.js
|
|
to: cell-tooltip/cell-tooltip.umd.js
|
|
- npm: cell-watermark
|
|
version: 1.0.4
|
|
local:
|
|
items:
|
|
- from: src/watermark.js
|
|
to: cell-watermark/watermark.js
|
|
- npm: cookieconsent
|
|
version: 3.1.1
|
|
local:
|
|
items:
|
|
- from: build/cookieconsent.min.css
|
|
to: cookieconsent/cookieconsent.min.css
|
|
- from: build/cookieconsent.min.js
|
|
to: cookieconsent/cookieconsent.min.js
|
|
- npm: echarts
|
|
version: 6.1.0
|
|
local:
|
|
items:
|
|
- from: dist/echarts.min.js
|
|
to: echarts/echarts.min.js
|
|
- npm: '@fortawesome/fontawesome-free'
|
|
version: 7.3.0
|
|
local:
|
|
items:
|
|
- from: css/all.min.css
|
|
to: fontawesome-free/all.min.css
|
|
- type: dir
|
|
from: webfonts
|
|
to: webfonts
|
|
baseDir: static/lib
|
|
clean: true
|
|
- npm: fuse.js
|
|
version: 7.4.2
|
|
local:
|
|
items:
|
|
- from: dist/fuse.mjs
|
|
to: fuse/fuse.mjs
|
|
- npm: gitalk
|
|
version: 1.8.0
|
|
local:
|
|
items:
|
|
- from: dist/gitalk.css
|
|
to: gitalk/gitalk.css
|
|
- from: dist/gitalk.min.js
|
|
to: gitalk/gitalk.min.js
|
|
- npm: instant.page
|
|
version: 5.2.0
|
|
local:
|
|
items:
|
|
- from: instantpage.min.js
|
|
to: instant.page/instantpage.min.js
|
|
- npm: json-viewer-element
|
|
version: 1.0.6
|
|
local:
|
|
items:
|
|
- from: dist/json-viewer-element.umd.js
|
|
to: json-viewer-element/json-viewer-element.umd.js
|
|
- npm: katex
|
|
version: 0.17.0
|
|
local:
|
|
items:
|
|
- from: dist/contrib/copy-tex.min.js
|
|
to: katex/copy-tex.min.js
|
|
- from: dist/katex.min.css
|
|
to: katex/katex.min.css
|
|
- type: dir
|
|
from: dist/fonts
|
|
to: katex/fonts
|
|
baseDir: static/lib
|
|
clean: true
|
|
- npm: lightgallery
|
|
version: 2.9.0
|
|
local:
|
|
items:
|
|
- from: css/lightgallery-bundle.min.css
|
|
to: lightgallery/css/lightgallery-bundle.min.css
|
|
- from: lightgallery.min.js
|
|
to: lightgallery/lightgallery.min.js
|
|
- from: plugins/thumbnail/lg-thumbnail.min.js
|
|
to: lightgallery/plugins/thumbnail/lg-thumbnail.min.js
|
|
- from: plugins/zoom/lg-zoom.min.js
|
|
to: lightgallery/lg-zoom.min.js
|
|
- type: dir
|
|
from: fonts
|
|
to: lightgallery/fonts
|
|
baseDir: static/lib
|
|
clean: true
|
|
- type: dir
|
|
from: images
|
|
to: lightgallery/images
|
|
baseDir: static/lib
|
|
clean: true
|
|
- npm: mapbox-gl
|
|
version: 3.25.0
|
|
local:
|
|
items:
|
|
- from: dist/mapbox-gl.css
|
|
to: mapbox-gl/mapbox-gl.css
|
|
- from: dist/mapbox-gl.js
|
|
to: mapbox-gl/mapbox-gl.js
|
|
- npm: meting
|
|
version: 2.0.2
|
|
local:
|
|
items:
|
|
- from: dist/Meting.min.js
|
|
to: meting/Meting.min.js
|
|
- npm: pace-js
|
|
version: 1.2.4
|
|
local:
|
|
items:
|
|
- from: pace.min.js
|
|
to: pace/pace.min.js
|
|
- npm: pangu
|
|
version: 7.2.1
|
|
local:
|
|
items:
|
|
- from: dist/browser/pangu.umd.js
|
|
to: pangu/pangu.umd.js
|
|
- npm: '@panzoom/panzoom'
|
|
version: 4.6.2
|
|
local:
|
|
items:
|
|
- from: dist/panzoom.min.js
|
|
to: panzoom/panzoom.min.js
|
|
- npm: sharer.js
|
|
version: 0.5.4
|
|
local:
|
|
items:
|
|
- from: sharer.min.js
|
|
to: sharer/sharer.min.js
|
|
- npm: simple-icons
|
|
version: 16.24.1
|
|
local:
|
|
items:
|
|
- type: dir
|
|
from: icons
|
|
to: simple-icons/icons
|
|
clean: true
|
|
- npm: '@github/tab-container-element'
|
|
version: 4.8.2
|
|
local:
|
|
items:
|
|
- from: dist/bundle.min.js
|
|
to: tab-container-element/bundle.min.js
|
|
- npm: twemoji
|
|
version: 14.0.2
|
|
local:
|
|
items:
|
|
- from: dist/twemoji.min.js
|
|
to: twemoji/twemoji.min.js
|
|
- npm: twikoo
|
|
version: 1.7.13
|
|
local:
|
|
items:
|
|
- from: dist/twikoo.all.min.js
|
|
to: twikoo/twikoo.all.min.js
|
|
- npm: typeit
|
|
version: 8.8.7
|
|
local:
|
|
items:
|
|
- from: dist/index.umd.js
|
|
to: typeit/index.umd.js
|
|
- npm: valine
|
|
version: 1.5.3
|
|
local:
|
|
items:
|
|
- from: dist/Valine.min.js
|
|
to: valine/Valine.min.js
|
|
- npm: '@waline/client'
|
|
version: 3.15.2
|
|
local:
|
|
items:
|
|
- from: dist/waline.css
|
|
to: waline/waline.css
|
|
- from: dist/waline.umd.js
|
|
to: waline/waline.umd.js
|