-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Update Web Platform Docs #8623
Comments
Comment by MarcelGerber Forgot to mention: This also updates all URLs from |
Comment by Mark-Simulacrum Not sure if this is something to do with your script, but I found that opening Quick Docs on the CSS
and is supposed to look like this, with each item being a link.
|
Comment by le717 :D |
Comment by MarcelGerber Oh damn. At least, I don't need |
Comment by Mark-Simulacrum Found another issue with the Inline Docs for the "css\/properties\/alignment-adjust": {
"SUMMARY": "",
"INITIALVALUE": "",
"ID": "css\/properties\/alignment-adjust",
"ANIMATABLE": false,
"COMPUTEDVALUE": "",
"URL": "http:\/\/docs.webplatform.org\/wiki\/css\/properties\/alignment-adjust",
"STATUS": "",
"VALUES": [
]
} The Docs display just the title and nothing else, I would expect them to not appear at all. |
Comment by MarcelGerber
PS: Thanks for taking a look! |
Comment by Mark-Simulacrum Is it intentional that the (new) JSON file has a space after every |
Comment by Mark-Simulacrum Actually, upon further inspection, every string in the file ends with a space. Is this something in |
Comment by MarcelGerber It's something instaview (the Wikitext parser) does. But I have to admit, I actually like it as it somehow makes Brackets way faster when viewing that file, probably due to Word Wrap being less performances heavy. |
Comment by Mark-Simulacrum Here is a few more bugs, will update this list as I go along to prevent posting too many comments:
|
Comment by MarcelGerber
|
Comment by MarcelGerber I just removed the extra step required to convert the JSON data to a usable format. |
Comment by redmunds
It looks like At the very least, the |
Comment by MarcelGerber Yep, the ‘update-docs.js‘ is a node script to update the css.json file using the WebPlatformDocs/MediaWiki API. |
Comment by redmunds
|
Comment by MarcelGerber
|
Comment by redmunds I am seeing a WebPlatformDocs unit test fail: should process all anchor tags Error: Expected 1 to be 9.
at new jasmine.ExpectationResult (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:114:32)
at null.toBe (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:1235:29)
at null.<anonymous> (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/src/extensions/default/WebPlatformDocs/unittests.js:210:39)
at jasmine.Block.execute (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:1064:17)
at jasmine.Queue.next_ (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2096:31)
at jasmine.Queue.start (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2049:8)
at jasmine.Spec.execute (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2376:14)
at jasmine.Queue.next_ (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2096:31)
at jasmine.Queue.start (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2049:8)
at jasmine.Suite.execute (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2521:14)
at jasmine.Queue.next_ (file:///C:/Users/redmunds/dev/github/brackets-shell/Release/dev/test/thirdparty/jasmine-core/jasmine.js:2096:31) |
Comment by redmunds
|
Comment by MarcelGerber
|
Comment by redmunds Thanks. Merging. |
Issue by MarcelGerber
Sunday Oct 26, 2014 at 18:26 GMT
Originally opened as adobe/brackets#9686
Finally got a fix for #6027.
Updated
css.json
to include the latest data using this Node script.The only remaining issue (which has existed before): The values are not in any useful order.
Changes (properties added/removed): https://gist.github.com/MarcelGerber/bfdd47849cf58c90a5cd
MarcelGerber included the following code: https://github.com/adobe/brackets/pull/9686/commits
The text was updated successfully, but these errors were encountered: