{"action":"created","comment":{"url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments/35848274","id":35848274,"diff_hunk":"@@ -0,0 +1,135 @@\n+# API технологии stylus\n+\n+Собирает `.styl` и `.css` файлы CSS стилей блоков в один файл — `?.css`.\n+\n+### Опции\n+\n+#### target\n+\n+Тип: `String`. По умолчанию: `?.css`.\n+\n+Путь к таргету, куда будет записан результат сборки необходимых `styl` и `css` файлов проекта — скомпилированный файл `?.css`\n+\n+#### filesTarget\n+\n+Тип: `String`. По умолчанию: `?.files`.\n+\n+Путь к таргету, откуда будет доступен список исходных файлов для сборки. Список файлов предоставляет технология [files](https://ru.bem.info/tools/bem/enb-bem-techs/readme/#files) пакета [enb-bem-techs](https://ru.bem.info/tools/bem/enb-bem-techs/readme/).\n+\n+#### sourceSuffixes\n+\n+Тип: `String | String[]`. По умолчанию: `['styl', 'css']`.\n+\n+Суффиксы файлов, по которым отбираются файлы с CSS стилями для дальнейшей сборки.\n+\n+#### url\n+\n+Тип: `String | Boolean`. По умолчанию: `rebase`.\n+\n+Oбработка `url()` внутри файлов `.styl` и `.css`. \n+- **rebase:** изменение пути к содержимому относительно таргета, например:\n+ - До: `background: url('block_image.png')`\n+ - После: `background: url('../../common.block/block/block_image.png')`\n+- **inline:** содержимое файла будет закодировано в `base64`. Размер не должен превышать более `14kb`.\n+  \n+  Важно! На данный момент не поддерживается кодирование `.svg` файлов с хешем. Например: `url(image.svg#hash)`. Такие `url()` не будут обработаны. \n+   \n+#### comments\n+ \n+Тип: `Boolean`. По умолчанию: `true`.\n+ \n+Обрамление комментариями CSS кода в собранном файле. Содержат относительный путь до исходного файла. Может быть использовано при разработке проекта.  \n+   \n+#### imports\n+\n+Тип: `String | Boolean`. По умолчанию: `include`.\n+\n+Раскрытие CSS `@import`-ов. \n+- **inline:** – поведение по умолчанию, содержимое `@import` будет извлечено в собираемый файл стилей.\n+ \n+#### sourcemap\n+\n+Тип: `String | Boolean`. По умолчанию: `false`.\n+ \n+Построение карт кода (source maps) с информацией об исходных файлах. \n+- **true** – карта хранится в отдельном файле с расширение `.map`.  \n+- **inline** – карта встраивается в скомпилированный файл в виде закодированной строки в формате `base64`.  \n+\n+#### autoprefixer\n+\n+Тип: `Object | Boolean`. По умолчанию: `false`.\n+\n+Добавление вендорных префиксов с помощью [autoprefixer](https://github.com/postcss/autoprefixer)\n+- **true:** – префиксы добавляются для самых актуальных версий браузеров на основании данных сервиса [caniuse.com](http://caniuse.com)\n+- **browsers: String[]** – задание конфигурации на случай, если требуется передать точный список поддерживаемых браузеров. \n+ \n+ Например: ```autoprefixer: { browsers: ['Explorer 10', 'Opera 12', '> 5%'] }``` Подробнее в документации [autoprefixer#browsers](https://github.com/postcss/autoprefixer#browsers).\n+ \n+#### compress\n+ \n+Тип: `Boolean`. По умолчанию: `false`.\n+\n+Минификация CSS кода. Поддерживает карты кода(source code).\n+\n+#### prefix\n+\n+Тип: `String`. По умолчанию: `''`.\n+\n+Добавление префикса для CSS классов.\n+ \n+**Важно!** На данный момент поддерживается только для файлов с расширением `.styl`.\n+\n+#### includes\n+\n+Тип: `String | String[]`. По умолчанию: `[]`.\n+\n+Задает пути, которые будут использованы при обработке `@import` и `url()`.\n+Может быть использовано при подключении сторонних библиотек, например `nib`.\n+\n+**Важно!** Поддерживается только для файлов с расширением `.styl`.\n+ \n+#### hoist\n+ \n+Тип: `Boolean`. По умолчанию: `false`.\n+ \n+Перенос всех `@import`-ов и `@charset`-ов в начало файла. Может быть использовано для прохождения проверки на валидность CSS документа.\n+\n+**Важно!** Поддерживается только для файлов с расширением `.styl`.","path":"api.ru.md","position":97,"original_position":97,"commit_id":"5d3ae57620b2e4b5c4d43cdc348614fda34f6dd4","original_commit_id":"5d3ae57620b2e4b5c4d43cdc348614fda34f6dd4","user":{"login":"blond","id":2225579,"avatar_url":"https://avatars.githubusercontent.com/u/2225579?v=3","gravatar_id":"","url":"https://api.github.com/users/blond","html_url":"https://github.com/blond","followers_url":"https://api.github.com/users/blond/followers","following_url":"https://api.github.com/users/blond/following{/other_user}","gists_url":"https://api.github.com/users/blond/gists{/gist_id}","starred_url":"https://api.github.com/users/blond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blond/subscriptions","organizations_url":"https://api.github.com/users/blond/orgs","repos_url":"https://api.github.com/users/blond/repos","events_url":"https://api.github.com/users/blond/events{/privacy}","received_events_url":"https://api.github.com/users/blond/received_events","type":"User","site_admin":false},"body":"Почему? По смыслу же `@import`ы перенесутся для файла бандла.\r\n\r\nТут лучше написать, что конкурирует с `imports: 'include'`. И что имеет смысл, когда `imports: false`.","created_at":"2015-07-30T08:23:18Z","updated_at":"2015-07-30T08:23:18Z","html_url":"https://github.com/enb-make/enb-stylus/pull/99#discussion_r35848274","pull_request_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments/35848274"},"html":{"href":"https://github.com/enb-make/enb-stylus/pull/99#discussion_r35848274"},"pull_request":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99","id":41206665,"html_url":"https://github.com/enb-make/enb-stylus/pull/99","diff_url":"https://github.com/enb-make/enb-stylus/pull/99.diff","patch_url":"https://github.com/enb-make/enb-stylus/pull/99.patch","issue_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/99","number":99,"state":"open","locked":false,"title":"Add docs to stylus tech","user":{"login":"tavriaforever","id":975906,"avatar_url":"https://avatars.githubusercontent.com/u/975906?v=3","gravatar_id":"","url":"https://api.github.com/users/tavriaforever","html_url":"https://github.com/tavriaforever","followers_url":"https://api.github.com/users/tavriaforever/followers","following_url":"https://api.github.com/users/tavriaforever/following{/other_user}","gists_url":"https://api.github.com/users/tavriaforever/gists{/gist_id}","starred_url":"https://api.github.com/users/tavriaforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavriaforever/subscriptions","organizations_url":"https://api.github.com/users/tavriaforever/orgs","repos_url":"https://api.github.com/users/tavriaforever/repos","events_url":"https://api.github.com/users/tavriaforever/events{/privacy}","received_events_url":"https://api.github.com/users/tavriaforever/received_events","type":"User","site_admin":false},"body":"Resolved #62 \r\n//cc @blond @sipayRT  ","created_at":"2015-07-30T07:52:15Z","updated_at":"2015-07-30T08:23:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b695359b4169c21ac0d9409acbb312efde9de80","assignee":{"login":"tavriaforever","id":975906,"avatar_url":"https://avatars.githubusercontent.com/u/975906?v=3","gravatar_id":"","url":"https://api.github.com/users/tavriaforever","html_url":"https://github.com/tavriaforever","followers_url":"https://api.github.com/users/tavriaforever/followers","following_url":"https://api.github.com/users/tavriaforever/following{/other_user}","gists_url":"https://api.github.com/users/tavriaforever/gists{/gist_id}","starred_url":"https://api.github.com/users/tavriaforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavriaforever/subscriptions","organizations_url":"https://api.github.com/users/tavriaforever/orgs","repos_url":"https://api.github.com/users/tavriaforever/repos","events_url":"https://api.github.com/users/tavriaforever/events{/privacy}","received_events_url":"https://api.github.com/users/tavriaforever/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/commits","review_comments_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/comments","review_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/99/comments","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/5d3ae57620b2e4b5c4d43cdc348614fda34f6dd4","head":{"label":"enb-make:issue-62","ref":"issue-62","sha":"5d3ae57620b2e4b5c4d43cdc348614fda34f6dd4","user":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"repo":{"id":15227198,"name":"enb-stylus","full_name":"enb-make/enb-stylus","owner":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-make/enb-stylus","description":"Stylus related techs","fork":false,"url":"https://api.github.com/repos/enb-make/enb-stylus","forks_url":"https://api.github.com/repos/enb-make/enb-stylus/forks","keys_url":"https://api.github.com/repos/enb-make/enb-stylus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-stylus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-stylus/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-stylus/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-stylus/events","assignees_url":"https://api.github.com/repos/enb-make/enb-stylus/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-stylus/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-stylus/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-stylus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-stylus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-stylus/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-stylus/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-stylus/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-stylus/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-stylus/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-stylus/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-stylus/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-stylus/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-stylus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-stylus/merges","archive_url":"https://api.github.com/repos/enb-make/enb-stylus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-stylus/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-stylus/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-stylus/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-stylus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-stylus/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-stylus/releases{/id}","created_at":"2013-12-16T14:00:07Z","updated_at":"2015-07-29T10:43:53Z","pushed_at":"2015-07-30T07:52:16Z","git_url":"git://github.com/enb-make/enb-stylus.git","ssh_url":"git@github.com:enb-make/enb-stylus.git","clone_url":"https://github.com/enb-make/enb-stylus.git","svn_url":"https://github.com/enb-make/enb-stylus","homepage":null,"size":752,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":6,"default_branch":"master"}},"base":{"label":"enb-make:master","ref":"master","sha":"4951bbb8615a08154159004d5cb03c76774960c4","user":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"repo":{"id":15227198,"name":"enb-stylus","full_name":"enb-make/enb-stylus","owner":{"login":"enb-make","id":4427117,"avatar_url":"https://avatars.githubusercontent.com/u/4427117?v=3","gravatar_id":"","url":"https://api.github.com/users/enb-make","html_url":"https://github.com/enb-make","followers_url":"https://api.github.com/users/enb-make/followers","following_url":"https://api.github.com/users/enb-make/following{/other_user}","gists_url":"https://api.github.com/users/enb-make/gists{/gist_id}","starred_url":"https://api.github.com/users/enb-make/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enb-make/subscriptions","organizations_url":"https://api.github.com/users/enb-make/orgs","repos_url":"https://api.github.com/users/enb-make/repos","events_url":"https://api.github.com/users/enb-make/events{/privacy}","received_events_url":"https://api.github.com/users/enb-make/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enb-make/enb-stylus","description":"Stylus related techs","fork":false,"url":"https://api.github.com/repos/enb-make/enb-stylus","forks_url":"https://api.github.com/repos/enb-make/enb-stylus/forks","keys_url":"https://api.github.com/repos/enb-make/enb-stylus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enb-make/enb-stylus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enb-make/enb-stylus/teams","hooks_url":"https://api.github.com/repos/enb-make/enb-stylus/hooks","issue_events_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/events{/number}","events_url":"https://api.github.com/repos/enb-make/enb-stylus/events","assignees_url":"https://api.github.com/repos/enb-make/enb-stylus/assignees{/user}","branches_url":"https://api.github.com/repos/enb-make/enb-stylus/branches{/branch}","tags_url":"https://api.github.com/repos/enb-make/enb-stylus/tags","blobs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enb-make/enb-stylus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enb-make/enb-stylus/git/refs{/sha}","trees_url":"https://api.github.com/repos/enb-make/enb-stylus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enb-make/enb-stylus/statuses/{sha}","languages_url":"https://api.github.com/repos/enb-make/enb-stylus/languages","stargazers_url":"https://api.github.com/repos/enb-make/enb-stylus/stargazers","contributors_url":"https://api.github.com/repos/enb-make/enb-stylus/contributors","subscribers_url":"https://api.github.com/repos/enb-make/enb-stylus/subscribers","subscription_url":"https://api.github.com/repos/enb-make/enb-stylus/subscription","commits_url":"https://api.github.com/repos/enb-make/enb-stylus/commits{/sha}","git_commits_url":"https://api.github.com/repos/enb-make/enb-stylus/git/commits{/sha}","comments_url":"https://api.github.com/repos/enb-make/enb-stylus/comments{/number}","issue_comment_url":"https://api.github.com/repos/enb-make/enb-stylus/issues/comments{/number}","contents_url":"https://api.github.com/repos/enb-make/enb-stylus/contents/{+path}","compare_url":"https://api.github.com/repos/enb-make/enb-stylus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enb-make/enb-stylus/merges","archive_url":"https://api.github.com/repos/enb-make/enb-stylus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enb-make/enb-stylus/downloads","issues_url":"https://api.github.com/repos/enb-make/enb-stylus/issues{/number}","pulls_url":"https://api.github.com/repos/enb-make/enb-stylus/pulls{/number}","milestones_url":"https://api.github.com/repos/enb-make/enb-stylus/milestones{/number}","notifications_url":"https://api.github.com/repos/enb-make/enb-stylus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enb-make/enb-stylus/labels{/name}","releases_url":"https://api.github.com/repos/enb-make/enb-stylus/releases{/id}","created_at":"2013-12-16T14:00:07Z","updated_at":"2015-07-29T10:43:53Z","pushed_at":"2015-07-30T07:52:16Z","git_url":"git://github.com/enb-make/enb-stylus.git","ssh_url":"git@github.com:enb-make/enb-stylus.git","clone_url":"https://github.com/enb-make/enb-stylus.git","svn_url":"https://github.com/enb-make/enb-stylus","homepage":null,"size":752,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99"},"html":{"href":"https://github.com/enb-make/enb-stylus/pull/99"},"issue":{"href":"https://api.github.com/repos/enb-make/enb-stylus/issues/99"},"comments":{"href":"https://api.github.com/repos/enb-make/enb-stylus/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enb-make/enb-stylus/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/enb-make/enb-stylus/statuses/5d3ae57620b2e4b5c4d43cdc348614fda34f6dd4"}}}}