Damoness
40c600434e
Update flex-direction.md ( #1007 )
...
Summary:
Spelling mistake
Pull Request resolved: https://github.com/facebook/yoga/pull/1007
Reviewed By: yungsters
Differential Revision: D40027434
Pulled By: yungsters
fbshipit-source-id: 8d13e54e9cb9633282dadadad545d1b92ae3ba5c
2022-10-03 14:42:06 -07:00
Nick Gerleman
fd180de774
Fix Generation of Tests from Fixtures
...
Summary:
https://github.com/facebook/yoga/pull/1116 added a change to the test generator "gentests.rb" to support a newer version of chromedriver, along with a change to the enum generator (not touched in this diff) to produce code consistent with the current tests, which seem to have been manually edited since last generation.
I had trouble running the test generator locally, because it relies on unversioned third-party dependencies, whose APIs change. Looking at source history, it seems like each time someone wants to run the script, they end up updating its syntax to match whatever versions they pull in.
This change adds a Gemfile and lock so that that the version of "watir" is locked, and so that we will also automatically pull in a consistent "chomedriver" version via the "webdrivers" gem. It includes the updates from the PR to be consistent with already output tests, and I have also updated the copyright header generation to no longer create lint warnings on newly generated tests (some of the previous ones were fixed manually it looks like).
The test generator would still produce bodies which would fail clang-format, and were manually edited (causing generation to emit new lint warnings), so I updated the generator to suppress clang-format in the body of the generated files.
Three tests, around the interaction of minimum dimensions and flexible children produce different results in Chrome now compared to when the tests were added, so running `gentests.rb` creates tests which break UTs. This doesn't seem like any sort of rounding, or device specific difference, so I have disabled these tests for now. While digging around, it does look like Chrome periodically will fix bugs in its own layout implementation which cause differences, like https://bugs.chromium.org/p/chromium/issues/detail?id=927066
Reviewed By: rozele, Andrey-Mishanin
Differential Revision: D39907416
fbshipit-source-id: f88714ff038b42f935901783452df25eabb6ebb1
2022-09-29 22:25:24 -07:00
Pascal Hartig
5c3837f5f3
Default branch renames ( #1102 )
...
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1102
Test Plan: _eyes
Reviewed By: timur-valiev
Differential Revision: D30302214
Pulled By: passy
fbshipit-source-id: 5b232136c20553883e148d10c99f9e73b8f36757
2021-08-13 08:24:14 -07:00
Luis Miguel Alvarado
9b120eded9
add space-evenly prop to justify-content.md ( #918 )
...
Summary:
This PR add the `space-evenly` prop, to the [justify-content.md](https://github.com/facebook/yoga/blob/master/website/contents/properties/justify-content.md ) file.
The description was taken from [Mozilla](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content )
Pull Request resolved: https://github.com/facebook/yoga/pull/918
Differential Revision: D16701547
Pulled By: davidaurelio
fbshipit-source-id: cd1bb7dd20cb1184a1bafb0d8f33e851051bd9e5
2019-08-08 00:01:12 -07:00
Denis
1a2802028b
Update link: ( #920 )
...
Summary:
Update link for component kit on docs to `https://componentkit.org/docs/getting-started/ `
Pull Request resolved: https://github.com/facebook/yoga/pull/920
Differential Revision: D16701505
Pulled By: davidaurelio
fbshipit-source-id: 10f7df4f7aa29d884d21135a92041b0630e1a31e
2019-08-07 19:51:39 -07:00
Daniel Büchele
3d8afa9e90
fixing playground links
...
Summary: Updating links to playgrounds
Reviewed By: davidaurelio
Differential Revision: D14775759
fbshipit-source-id: 8c5c30aa63f2ec2787c1a15a72d09f4e642dd672
2019-04-04 08:52:05 -07:00
Leandro Ostera
f0324035bf
Fix small typos ( #784 )
...
Summary:
Hello! Just found some typos on the docs. Fixing them here :)
Pull Request resolved: https://github.com/facebook/yoga/pull/784
Reviewed By: davidaurelio
Differential Revision: D14100968
Pulled By: SidharthGuglani
fbshipit-source-id: 1462216a0d5315075871f2fb11b6b1279ae0097a
2019-02-19 04:48:35 -08:00
Cameron Rollheiser
79355ab72d
Spelling Fix ( #851 )
...
Summary:
Corrects the spelling of `corss-compiled` to `cross-compiled`.
Pull Request resolved: https://github.com/facebook/yoga/pull/851
Reviewed By: SidharthGuglani
Differential Revision: D13848545
Pulled By: davidaurelio
fbshipit-source-id: 84b7d2a738f0faf863717818e8784acd5b5c8156
2019-01-29 03:14:15 -08:00
Sidharth Guglani
440c719190
added baseline and setIsReferenceBaseline doc in yoga website
...
Summary: Added docs for align-items BASELINE property and yoga node setIsReferenceBaseline property in yoga website
Reviewed By: davidaurelio
Differential Revision: D13359436
fbshipit-source-id: 34cbb1087c70d44ec6462048cc2a819daf5951e0
2018-12-12 05:58:11 -08:00
Eddie Zhang
6f6e0ce339
Fix typo in Yoga Layout documentation
...
Summary: Found and fixed typo on https://yogalayout.com/docs/justify-content/
Reviewed By: danielbuechele
Differential Revision: D13199988
fbshipit-source-id: 029cf812f09c48822ec11b054bf0c987f718191d
2018-11-29 11:17:20 -08:00
Tnarita0000
6d8ee77791
Fix typo 'laid our' to 'laid out' ( #833 )
...
Summary:
I've fixed typo `laid our` to `laid out` in [`website/contents/properties/layout-direction.md`].
Pull Request resolved: https://github.com/facebook/yoga/pull/833
Differential Revision: D13196468
Pulled By: passy
fbshipit-source-id: 8b51e0d93fd0b6b131b7ea9446fff28ffeca9764
2018-11-27 03:42:00 -08:00
Daniel Büchele
9785975f77
add documentation about JS library usage. fixes #733
...
Summary: Adds an example of how to use yoga from JavaScript to the documentation pages.
Reviewed By: priteshrnandgaonkar
Differential Revision: D7354390
fbshipit-source-id: 0dbc08e5341c06b621acd99bfb9ce7e789b67a45
2018-03-22 04:53:24 -07:00
Marcus Wu
99026e42a9
Fixed min-max docs typo
...
Summary:
Fixed `Max / Min Width and Height` docs typo.
Closes https://github.com/facebook/yoga/pull/720
Reviewed By: emilsjolander
Differential Revision: D7110855
Pulled By: priteshrnandgaonkar
fbshipit-source-id: 253d96e5d1208b94b6248ffab5f59caaef6ada2b
2018-03-01 06:19:41 -08:00
Emil Sjölander
bbdb62e654
Use absolute paths in links
...
Summary: allow-large-files
Reviewed By: danielbuechele
Differential Revision: D7023260
fbshipit-source-id: a797d09b61530b13da10e02c21acef13c508470c
2018-02-19 02:57:52 -08:00
Pritesh Nandgaonkar
48d82224ee
Add redirect documentation
...
Summary: Add redirect documentation
Reviewed By: emilsjolander
Differential Revision: D7010032
fbshipit-source-id: fc370bc84e3afa0508ad38f910cf2bc20e991d84
2018-02-16 08:02:53 -08:00
Pritesh Nandgaonkar
269619a419
Fixed Playground References for examples
...
Summary: Fixed Playground References for examples
Reviewed By: emilsjolander
Differential Revision: D7009922
fbshipit-source-id: 3025aebb383fb8e2be81e8ff59c0a071ce0860cb
2018-02-16 07:22:06 -08:00
Emil Sjölander
056b75858c
Tweak documentation
...
Reviewed By: danielbuechele
Differential Revision: D7009695
fbshipit-source-id: 145eca292e5cf95413caf5bc81b033419adb67a1
2018-02-16 07:22:05 -08:00
Emil Sjölander
b21dd9891a
Final tweaks
...
Reviewed By: danielbuechele
Differential Revision: D7009456
fbshipit-source-id: 65304f648141407bc15484840647050e712e89df
2018-02-16 07:22:05 -08:00
Emil Sjölander
bba81781af
Copy review
...
Reviewed By: danielbuechele
Differential Revision: D7009457
fbshipit-source-id: d5053751a2bde369a65a740c03ace5bbd2eec02f
2018-02-16 07:22:05 -08:00
Pritesh Nandgaonkar
0c74a72fac
Fix playground references
...
Summary: Fix playground references
Reviewed By: emilsjolander
Differential Revision: D7009698
fbshipit-source-id: 276fa1e5b98f05db281e101c90d6f19a1af77752
2018-02-16 06:42:02 -08:00
Emil Sjölander
0ca44f3001
Document layout direction
...
Reviewed By: priteshrnandgaonkar
Differential Revision: D7000393
fbshipit-source-id: 2e5ae6a3fb69386920655bdfeee71a11f1775c2a
2018-02-16 03:49:48 -08:00
Pritesh Nandgaonkar
3f85763797
Documentation for Writing documentation
...
Summary: Documentation for "Writing documentation"
Reviewed By: emilsjolander
Differential Revision: D7000294
fbshipit-source-id: 633389a5e32ddd54be8f09b0945db5b9198d9552
2018-02-16 03:18:58 -08:00
Pritesh Nandgaonkar
d4b20f5793
Documentation for absolute/relative layout
...
Summary: Documentation for absolute/relative layout
Reviewed By: emilsjolander
Differential Revision: D6998594
fbshipit-source-id: 25dacbb87e067ab8abd555fd24611776b0332047
2018-02-15 06:21:01 -08:00
Pritesh Nandgaonkar
79fa6f8d58
Documentation for min/max
...
Summary: Documentation for min/max
Reviewed By: emilsjolander
Differential Revision: D6998539
fbshipit-source-id: 65a0c1713fb5a01e41e0afcfbefa1b0280c82ed5
2018-02-15 06:21:01 -08:00
Pritesh Nandgaonkar
1b66b5d941
Documentation added for width and height
...
Summary: Width and height documentation
Reviewed By: emilsjolander
Differential Revision: D6978015
fbshipit-source-id: f62972acaf70be2b6df5056b5deed2a893c10b4c
2018-02-15 06:21:00 -08:00
Emil Sjölander
3ec41b656f
Markdown redirect frontmatter
...
Reviewed By: danielbuechele
Differential Revision: D6987631
fbshipit-source-id: 8b3431fa885fb94d4a87119b5a5199db0b36b20c
2018-02-14 08:49:37 -08:00
Daniel Büchele
740ef6cd9e
flexWrap, alignContent, initialPlayground
...
Summary: Adds `initialPlayground` to the markdown header. Adds contents fro alignContent and flexWrap.
Reviewed By: emilsjolander
Differential Revision: D6987513
fbshipit-source-id: 41de309d427a9f42e09477170fb8512ce1e7a816
2018-02-14 08:17:21 -08:00
Daniel Büchele
8c5cbf698b
Inline controls for docs
...
Summary:
Adding inline controls in markdown using:
```
<controls prop="flexWrap"></controls>
```
Reviewed By: emilsjolander
Differential Revision: D6987150
fbshipit-source-id: 28def12df702ba5d5d5b6a83dd1cb907716d1b1c
2018-02-14 08:17:21 -08:00
Emil Sjölander
c06ee92251
Add standalone docs
...
Reviewed By: danielbuechele
Differential Revision: D6976384
fbshipit-source-id: 329dd6b5997ab83d408fb330421624cf85e3f09e
2018-02-13 07:42:41 -08:00
Emil Sjölander
cac77e5ffa
Add contributing docs
...
Reviewed By: danielbuechele
Differential Revision: D6976258
fbshipit-source-id: 71b3d0ab4a071ce0c4a9c1241cd6295aa6d52b8e
2018-02-13 07:31:58 -08:00
Emil Sjölander
49f1d7b5f6
Add external doc links for Litho, ComponentKit, and React Native
...
Reviewed By: danielbuechele
Differential Revision: D6976131
fbshipit-source-id: 83f5f59cb839d0c2f291621f9f88678261077082
2018-02-13 06:55:33 -08:00
Emil Sjölander
8ba663f6f4
Document margins, paddings, and borders
...
Reviewed By: danielbuechele
Differential Revision: D6976134
fbshipit-source-id: dcf870d9a88478ed1aef68e9840e7b17467b87bb
2018-02-13 06:55:32 -08:00
Emil Sjölander
8f35484262
Document flexing
...
Reviewed By: danielbuechele
Differential Revision: D6976135
fbshipit-source-id: e9051b1e583d909aefe76f7aa9505467890a0d4c
2018-02-13 06:55:32 -08:00
Emil Sjölander
1e3143656d
Document aspect ratio
...
Reviewed By: danielbuechele
Differential Revision: D6976130
fbshipit-source-id: caf3cc1d1d1c00fee03ca26966fb57d1796e1604
2018-02-13 06:55:32 -08:00
Emil Sjölander
7e3136c347
non-playground doc page first draft
...
Reviewed By: danielbuechele
Differential Revision: D6968540
fbshipit-source-id: c5d408adb1d11c429d72a0f180ce3154ae0922a6
2018-02-13 04:01:04 -08:00
Emil Sjölander
08d7d1673e
Add documentation placeholders
...
Reviewed By: danielbuechele
Differential Revision: D6968199
fbshipit-source-id: 433d81b6367d1376224e0b3516be65132c091a34
2018-02-13 04:01:03 -08:00
Daniel Büchele
951a429ac5
Template for docs pages
...
Summary:
- Dynamic loading of documentation pages
- code highlighting for markdown files
- editing playground from sidebar
Reviewed By: emilsjolander
Differential Revision: D6964951
fbshipit-source-id: 1c7f36afa8d23215471d5b9a9c01bd2241c2008e
2018-02-12 10:46:03 -08:00