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 upPublish the CSS support list during doc builds #10196
Closed
Labels
Comments
|
cc @SimonSapin |
|
@larsbergstrom so:
I could do this one. |
|
@jrasanen That sounds like a great plan! Please let us know here if you have any questions :-) |
|
It’s also possible to generate static HTML at the same time as we generate JSON. There’s even a templating system (Mako) originally designed to generate HTML already being used in the relevant script. |
|
@SimonSapin thanks, noted! I've used Mako before so will look into that. |
|
Added a PR. Ping @larsbergstrom & @SimonSapin |
bors-servo
added a commit
that referenced
this issue
Mar 28, 2016
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
added a commit
that referenced
this issue
Mar 28, 2016
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
added a commit
that referenced
this issue
Mar 29, 2016
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
added a commit
that referenced
this issue
Mar 29, 2016
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 -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In #9333, a script was added that prints out all of the properties support by Servo as JSON. In this project, we would edit the file https://github.com/servo/servo/blob/master/etc/ci/upload_docs.sh to run that script (via
python components/style/list_properties.py) and store the output as a JSON file in the documentation tree so that it is uploaded after each build lands in master.For extra brownie bonus points, adding a HTML file with some nice CSS styles to display that list to the https://github.com/servo/servo/tree/master/etc/doc.servo.org directory would be a really nice bonus! We could then link to that directly from servo.org.
This would fully close #3954.