{"action":"opened","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-maven-plugin/issues/373","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor-maven-plugin","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-maven-plugin/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor-maven-plugin/issues/373/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor-maven-plugin/issues/373/events","html_url":"https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/373","id":374826844,"node_id":"MDU6SXNzdWUzNzQ4MjY4NDQ=","number":373,"title":"Docinfo for folders tree","user":{"login":"bostandyksoft","id":4920442,"node_id":"MDQ6VXNlcjQ5MjA0NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/4920442?v=4","gravatar_id":"","url":"https://api.github.com/users/bostandyksoft","html_url":"https://github.com/bostandyksoft","followers_url":"https://api.github.com/users/bostandyksoft/followers","following_url":"https://api.github.com/users/bostandyksoft/following{/other_user}","gists_url":"https://api.github.com/users/bostandyksoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bostandyksoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostandyksoft/subscriptions","organizations_url":"https://api.github.com/users/bostandyksoft/orgs","repos_url":"https://api.github.com/users/bostandyksoft/repos","events_url":"https://api.github.com/users/bostandyksoft/events{/privacy}","received_events_url":"https://api.github.com/users/bostandyksoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T01:40:20Z","updated_at":"2018-10-29T01:40:20Z","closed_at":null,"author_association":"NONE","body":"Hello, for example i have documents structure, that includes subdirectories:\r\n`\r\nasciidoctor\r\n   |- folder1\r\n   |       |- first.adoc\r\n   |\r\n   |- folder2\r\n   |      |- second.adoc\r\n   |- docinfo.html\r\n`\r\nI want to customize header for each document of my documentation. Maven plugin did it, but when i have switched to gradle, it didn't it. It works only if i copy docinfo.html to each subfolder, but docinfo is same, so i don't want to do this. Is there some way to apply docinfo for documents tree?\r\n\r\nSo there is configuration of my plugin:\r\n`\r\nasciidoctor {\r\n    backends 'html5'\r\n    sourceDir = file('src/main/asciidoc')\r\n    outputDir = file('build/generated-docs')\r\n    resources {\r\n        from(sourceDir) {\r\n            exclude '**/*.adoc'\r\n        }\r\n    }\r\n    logDocuments = true\r\n    separateOutputDirs = false\r\n    attributes  'source-highlighter': 'coderay',\r\n            'sourceMap': 'true',\r\n            'icons': 'font',\r\n            'idprefix': '',\r\n            'idseparator': '-',\r\n            'figure-caption': 'Рисунок',\r\n            'toc-title': 'Содержание',\r\n            'table-caption': 'Таблица',\r\n            'note-caption': 'Обратите внимание',\r\n            'important-caption': 'Важно',\r\n            'example-caption': 'Пример',\r\n            'warning-caption': 'Осторожно',\r\n            'nofooter': 'true',\r\n            'linkcss': 'true',\r\n            'webfonts!': 'false',\r\n            'iconfont-remote!': 'false',\r\n            'sectanchors': 'true',\r\n            'linkattrs': 'true',\r\n            'docinfo': 'shared'\r\n}`\r\n\r\nBest regards. Alexey"}}
{"actor":{"display_login":"bostandyksoft"}}