Skip to content

Commit

Permalink
feat(docs): i18n stuff (t3-oss#820)
Browse files Browse the repository at this point in the history
* links in left sidebar use active language

* add ToC for in progress translations

* prettier

* github icon rtl

* implement getIsRtlFromUrl

* navbar rtl fix

* gap in search

* use isLtr

* code blocks are always ltr

* leftSidebar has scrollbar on right side ltr&rtl

* arabic sample files

* more rtl styling

* fix merge conflict

* fix missing '!'

* prettier

* use padding-start

* css cleanup

* more direction-independent classes

* rtl spacing stuff

* fix lists and tables in rtl

* fix avatar in quotes (but should be a component)

* prettier

* fix code embeds having rtl punctuation

* slightly less awful nativeHeader type

* prettier

* outdated docs ltr + mx

* prettier

* fix ts-errors

* add todo

* chore: add changeset

* remove changeset

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
  • Loading branch information
3 people committed Dec 2, 2022
1 parent 9b6ae5c commit a4d4ee8
Show file tree
Hide file tree
Showing 19 changed files with 265 additions and 174 deletions.
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"@types/gradient-string": "^1.1.2",
"@types/inquirer": "^9.0.2",
"@types/node": "^18.8.0",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "0.2.0-beta.3",
"prettier": "^2.8.0",
"prettier-plugin-tailwindcss": "^0.2.0",
"tsup": "^6.2.3",
"type-fest": "^3.0.0",
"typescript": "^4.9.3"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@
"@changesets/cli": "^2.25.0",
"@manypkg/cli": "^0.19.2",
"@types/node": "^18.8.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint": "^8.24.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-turbo": "^0.0.4",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "44.0.0",
"prettier": "^2.7.1",
"prettier": "^2.8.0",
"turbo": "^1.5.5",
"typescript": "^4.9.3"
}
Expand Down
Loading

0 comments on commit a4d4ee8

Please sign in to comment.