{"action":"created","issue":{"url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/840","repository_url":"https://api.github.com/repos/freeCodeCamp/devdocs","labels_url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/840/labels{/name}","comments_url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/840/comments","events_url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/840/events","html_url":"https://github.com/freeCodeCamp/devdocs/pull/840","id":341044671,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMzExMTMy","number":840,"title":"Add Dart documentation","user":{"login":"jmerle","id":14951909,"node_id":"MDQ6VXNlcjE0OTUxOTA5","avatar_url":"https://avatars0.githubusercontent.com/u/14951909?v=4","gravatar_id":"","url":"https://api.github.com/users/jmerle","html_url":"https://github.com/jmerle","followers_url":"https://api.github.com/users/jmerle/followers","following_url":"https://api.github.com/users/jmerle/following{/other_user}","gists_url":"https://api.github.com/users/jmerle/gists{/gist_id}","starred_url":"https://api.github.com/users/jmerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmerle/subscriptions","organizations_url":"https://api.github.com/users/jmerle/orgs","repos_url":"https://api.github.com/users/jmerle/repos","events_url":"https://api.github.com/users/jmerle/events{/privacy}","received_events_url":"https://api.github.com/users/jmerle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-13T14:39:55Z","updated_at":"2018-08-12T22:36:44Z","closed_at":"2018-08-12T22:36:44Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/freeCodeCamp/devdocs/pulls/840","html_url":"https://github.com/freeCodeCamp/devdocs/pull/840","diff_url":"https://github.com/freeCodeCamp/devdocs/pull/840.diff","patch_url":"https://github.com/freeCodeCamp/devdocs/pull/840.patch"},"body":"Added a scraper for the Dart documentation ([Trello card](https://trello.com/c/VXVYrchv)). While v2 is not yet in the stable channel, it is already enabled by default in the latest versions of [Flutter](https://github.com/flutter/flutter), so I included it in the scraper.\r\n\r\nThe documentation is licensed under the [Creative Commons Attribution-ShareAlike License v4.0](https://creativecommons.org/licenses/by-sa/4.0/).\r\n\r\nThe logo is licensed under the [Creative Commons Attribution License 3.0 Unported](https://creativecommons.org/licenses/by/3.0/).\r\n\r\nThe FileScraper is used because the documentation is huge (v1 and v2 combined is over 26,000 pages). To get the files, download the documentation at [https://www.dartlang.org/tools/sdk/archive](https://www.dartlang.org/tools/sdk/archive) (you'll need the \"API docs\" of both 1.24.3 and 2.0.0-dev.68.0). Extract both of these and make sure their directory trees look somewhat like this:\r\n\r\n```\r\n/home/jasper/Documents/dart-docs-2.0.0-dev.68.0\r\n├── dart-async/\r\n├── dart-cli/\r\n├── dart-collection/\r\n├── dart-convert/\r\n├── dart-core/\r\n├── dart-developer/\r\n├── dart-html/\r\n├── dart-indexed_db/\r\n├── dart-io/\r\n├── dart-isolate/\r\n├── dart-js/\r\n├── dart-js_util/\r\n├── dart-math/\r\n├── dart-mirrors/\r\n├── dart-svg/\r\n├── dart-typed_data/\r\n├── dart-web_audio/\r\n├── dart-web_gl/\r\n├── dart-web_sql/\r\n├── index.html\r\n├── index.json\r\n└── static-assets/\r\n```\r\n\r\nTypes:\r\n![](https://i.imgur.com/QLbStpx.png)"},"comment":{"url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/comments/412376685","html_url":"https://github.com/freeCodeCamp/devdocs/pull/840#issuecomment-412376685","issue_url":"https://api.github.com/repos/freeCodeCamp/devdocs/issues/840","id":412376685,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjM3NjY4NQ==","user":{"login":"Thibaut","id":17579,"node_id":"MDQ6VXNlcjE3NTc5","avatar_url":"https://avatars2.githubusercontent.com/u/17579?v=4","gravatar_id":"","url":"https://api.github.com/users/Thibaut","html_url":"https://github.com/Thibaut","followers_url":"https://api.github.com/users/Thibaut/followers","following_url":"https://api.github.com/users/Thibaut/following{/other_user}","gists_url":"https://api.github.com/users/Thibaut/gists{/gist_id}","starred_url":"https://api.github.com/users/Thibaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thibaut/subscriptions","organizations_url":"https://api.github.com/users/Thibaut/orgs","repos_url":"https://api.github.com/users/Thibaut/repos","events_url":"https://api.github.com/users/Thibaut/events{/privacy}","received_events_url":"https://api.github.com/users/Thibaut/received_events","type":"User","site_admin":false},"created_at":"2018-08-12T22:36:44Z","updated_at":"2018-08-12T22:36:44Z","author_association":"MEMBER","body":"Merged in 0429e077611c30a3202017def8a4a580a54f5326. Tweaked in 17964b67d4f515ae014303bd3179c88779584939.\r\n\r\nhttps://devdocs.io/dart~2/\r\n\r\nThanks for another great PR! :)\r\n\r\nSummary of changes:\r\n- Undid changes ` .gitignore` (not sure why you're getting a `log` directory; I don't have one).\r\n- I updated Prism.js in a [separate commit](https://github.com/freeCodeCamp/devdocs/commit/e8a20a8f8e28f34fe5bd6b77f2b84db88ac0e563) — this is so the download URL at the top of the file stays up-to-date (for easy updating).\r\n- Removed `<section>` and `<span>` elements — they're unnecessary, add weight to pages, and interfere with the default CSS.\r\n- Remove the syntax highlighting markup to save weight.\r\n- Remove some `class` attributes to save weight.\r\n- Added a `base_url` so there is a link to the original doc at the bottom of each page.\r\n- Tweaked the CSS.\r\n- Code style changes."}}
{"actor":{"display_login":"Thibaut"}}