{"action":"created","issue":{"url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/23","labels_url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/23/comments","events_url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/23/events","html_url":"https://github.com/openEHR/spec-publish-asciidoc/issues/23","id":121953943,"number":23,"title":"Use release variable in index extractor output","user":{"login":"wolandscat","id":1481744,"avatar_url":"https://avatars.githubusercontent.com/u/1481744?v=3","gravatar_id":"","url":"https://api.github.com/users/wolandscat","html_url":"https://github.com/wolandscat","followers_url":"https://api.github.com/users/wolandscat/followers","following_url":"https://api.github.com/users/wolandscat/following{/other_user}","gists_url":"https://api.github.com/users/wolandscat/gists{/gist_id}","starred_url":"https://api.github.com/users/wolandscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolandscat/subscriptions","organizations_url":"https://api.github.com/users/wolandscat/orgs","repos_url":"https://api.github.com/users/wolandscat/repos","events_url":"https://api.github.com/users/wolandscat/events{/privacy}","received_events_url":"https://api.github.com/users/wolandscat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"bostjanl","id":4559080,"avatar_url":"https://avatars.githubusercontent.com/u/4559080?v=3","gravatar_id":"","url":"https://api.github.com/users/bostjanl","html_url":"https://github.com/bostjanl","followers_url":"https://api.github.com/users/bostjanl/followers","following_url":"https://api.github.com/users/bostjanl/following{/other_user}","gists_url":"https://api.github.com/users/bostjanl/gists{/gist_id}","starred_url":"https://api.github.com/users/bostjanl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostjanl/subscriptions","organizations_url":"https://api.github.com/users/bostjanl/orgs","repos_url":"https://api.github.com/users/bostjanl/repos","events_url":"https://api.github.com/users/bostjanl/events{/privacy}","received_events_url":"https://api.github.com/users/bostjanl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/milestones/1","html_url":"https://github.com/openEHR/spec-publish-asciidoc/milestones/Release-1.0.3","labels_url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/milestones/1/labels","id":1442435,"number":1,"title":"Release-1.0.3","description":"Version of functionality sufficient to publish correct classes for the openEHR 1.0.3 release.","creator":{"login":"wolandscat","id":1481744,"avatar_url":"https://avatars.githubusercontent.com/u/1481744?v=3","gravatar_id":"","url":"https://api.github.com/users/wolandscat","html_url":"https://github.com/wolandscat","followers_url":"https://api.github.com/users/wolandscat/followers","following_url":"https://api.github.com/users/wolandscat/following{/other_user}","gists_url":"https://api.github.com/users/wolandscat/gists{/gist_id}","starred_url":"https://api.github.com/users/wolandscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolandscat/subscriptions","organizations_url":"https://api.github.com/users/wolandscat/orgs","repos_url":"https://api.github.com/users/wolandscat/repos","events_url":"https://api.github.com/users/wolandscat/events{/privacy}","received_events_url":"https://api.github.com/users/wolandscat/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-12-03T16:08:34Z","updated_at":"2015-12-14T07:23:35Z","due_on":"2015-12-12T00:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-14T00:00:06Z","updated_at":"2015-12-14T07:23:35Z","closed_at":"2015-12-14T07:23:35Z","body":"Currently the extractor generates text like this for each class:\r\n\r\n```\r\n[.xcode]\r\n* http://www.openehr.org/releases/RM/latest/common.html#_archetyped_class[ARCHETYPED]\r\n```\r\n\r\nI've made the release a variable, so that we can make these URLs release-specific (otherwise they just point to the latest baseline, which is wrong for a specific release). Can the output be adjusted to the following:\r\n\r\n```\r\n[.xcode]\r\n* http://www.openehr.org/releases/RM/{release}/common.html#_archetyped_class[ARCHETYPED]\r\n```\r\n\r\ni.e. `{release}` instead of `latest`."},"comment":{"url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/comments/164366423","html_url":"https://github.com/openEHR/spec-publish-asciidoc/issues/23#issuecomment-164366423","issue_url":"https://api.github.com/repos/openEHR/spec-publish-asciidoc/issues/23","id":164366423,"user":{"login":"bostjanl","id":4559080,"avatar_url":"https://avatars.githubusercontent.com/u/4559080?v=3","gravatar_id":"","url":"https://api.github.com/users/bostjanl","html_url":"https://github.com/bostjanl","followers_url":"https://api.github.com/users/bostjanl/followers","following_url":"https://api.github.com/users/bostjanl/following{/other_user}","gists_url":"https://api.github.com/users/bostjanl/gists{/gist_id}","starred_url":"https://api.github.com/users/bostjanl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostjanl/subscriptions","organizations_url":"https://api.github.com/users/bostjanl/orgs","repos_url":"https://api.github.com/users/bostjanl/repos","events_url":"https://api.github.com/users/bostjanl/events{/privacy}","received_events_url":"https://api.github.com/users/bostjanl/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T07:23:35Z","updated_at":"2015-12-14T07:23:35Z","body":"This already works, just use -i {release}."}}