{"id":21155002,"url":"https://github.com/forge/asciidoctorj-addon","last_synced_at":"2025-03-14T15:15:03.351Z","repository":{"id":66768139,"uuid":"37624784","full_name":"forge/asciidoctorj-addon","owner":"forge","description":"AsciidoctorJ add-on for Forge 2","archived":false,"fork":false,"pushed_at":"2015-10-31T04:22:56.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-21T08:44:31.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/asciidoctor/asciidoctorj","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forge.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-17T22:42:38.000Z","updated_at":"2015-06-18T02:18:14.000Z","dependencies_parsed_at":"2023-02-28T20:46:19.045Z","dependency_job_id":null,"html_url":"https://github.com/forge/asciidoctorj-addon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fasciidoctorj-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fasciidoctorj-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fasciidoctorj-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Fasciidoctorj-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forge","download_url":"https://codeload.github.com/forge/asciidoctorj-addon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243597840,"owners_count":20316844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T11:13:55.860Z","updated_at":"2025-03-14T15:15:03.331Z","avatar_url":"https://github.com/forge.png","language":"Java","readme":"== asciidoctorj-addon\n:idprefix: id_ \n\nimage:https://travis-ci.org/forge/asciidoctorj-addon.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/forge/asciidoctorj-addon\"]\n\nThis addon provides *standalone* functionality, and *exports services* for use in other addons. \n        \n=== Depends on\n[options=\"header\"]\n|===\n|Addon |Exported |Optional\n|resources\n|yes\n|no\n|===\n\n== Setup\n\nThis Addon requires the following installation steps.\n\n=== Add configuration to pom.xml \n\nTo use this addon, you must add it as a dependency in the *pom.xml* of your `forge-addon` classified artifact:\n[source,xml]\n----\n\u003cdependency\u003e\n   \u003cgroupId\u003eorg.jboss.forge.addon\u003c/groupId\u003e\n   \u003cartifactId\u003easciidoctorj-addon\u003c/artifactId\u003e\n   \u003cclassifier\u003eforge-addon\u003c/classifier\u003e\n   \u003cversion\u003e${version}\u003c/version\u003e\n\u003c/dependency\u003e\n----\n== Features\nAsciidocFileResource for Asciidoc files:: \nAllows easy manipulation of asciidoc data\n+\n[source,java]\n----\n@Inject private ResourceFactory factory;\n...\nAsciidocFileResource resource = factory.createResource(AsciidocFileResource.class, new File(\"document.adoc\"));\nDocument document = resource.getDocument();\nSection section = (Section) document.blocks().get(1);\n// More info in https://github.com/asciidoctor/asciidoctorj#jruby-wrapping-classes\n...\n----\n+\n[TIP] \n====\nIf your addon uses a container that does not support \"@Inject\" annotations, services such as the `ResourceFactory` may also be \naccessed via the `AddonRegistry`:\n----\nImported\u003cResourceFactory\u003e imported = addonRegistry.getServices(ResourceFactory.class);\nResourceFactory factory = imported.get();\n----\n==== \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fasciidoctorj-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforge%2Fasciidoctorj-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Fasciidoctorj-addon/lists"}