Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGenerate html and json of supported css properties. #10208
Conversation
highfive
commented
Mar 26, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Mar 26, 2016
| </section> | ||
|
|
||
| <script src="../jquery.js"></script> | ||
| <script> |
This comment has been minimized.
This comment has been minimized.
SimonSapin
Mar 26, 2016
Member
Since this is a Mako template that has properties available, could Mako generate the HTML table directly, without JavaScript?
This comment has been minimized.
This comment has been minimized.
jrasanen
Mar 26, 2016
Author
Contributor
@SimonSapin Hi! Fixed the template to use directly Mako instead of Javascript + JSON.
|
Reviewed 1 of 3 files at r1. components/style/list_properties.py, line 37 [r2] (raw file):
Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/style/list_properties.py, line 37 [r2] (raw file): My initial implementation was just a plain html reading the json with jquery (which seems to be included with the documentation). I could either do that again or do a python/shell script which generates the property table? Comments from the review on Reviewable.io |
|
Review status: 1 of 3 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed. components/style/list_properties.py, line 37 [r2] (raw file): Comments from the review on Reviewable.io |
|
@bors-servo r+ Reviewed 2 of 3 files at r1, 1 of 1 files at r2. components/style/list_properties.py, line 37 [r2] (raw file): Comments from the review on Reviewable.io |
|
|
|
@bors-servo r- There’s an error on Travis-CI:
Please change the script so that it creates directories as needed if |
|
@SimonSapin good catch, modified script to create the directory and added the json printing back, I think |
|
Printing would make the CI logs for |
|
@SimonSapin, modified mach test unit to run the script to generate JSON and read it afterwards |
|
Thanks! @bors-servo r+ |
|
|
Generate html and json of supported css properties. Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10208) <!-- Reviewable:end -->
|
Huh. New intermittent?
|
|
@bors-servo: retry |
Generate html and json of supported css properties. Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10208) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry
|
|
|
Generate html and json of supported css properties. Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10208) <!-- Reviewable:end -->
|
|
|
@bors-servo retry not sure what is going on here - it looks like the appveyor build is kicking off either before or after auto has moved to a change that does not contain this commit:
|
|
@larsbergstrom maybe squashing the commits & pushing would fix it? |
Generate html and json of supported css properties. Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10208) <!-- Reviewable:end -->
|
|
jrasanen commentedMar 26, 2016
Fixes #10196. Outputs html and json of supported css properties to
target/doc/directory when deploying github-pages.This change is