{"id":22190025,"url":"https://github.com/elitemastereric/haxedoxinjector","last_synced_at":"2026-01-06T04:35:41.218Z","repository":{"id":208954016,"uuid":"722877573","full_name":"EliteMasterEric/HaxeDoxInjector","owner":"EliteMasterEric","description":"A library which provides a macro to inject documentation into Haxe classes from JSON data.","archived":false,"fork":false,"pushed_at":"2023-11-24T08:14:37.000Z","size":11073,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T00:46:31.574Z","etag":null,"topics":["documentation","haxe","macro"],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/EliteMasterEric.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-24T06:59:43.000Z","updated_at":"2023-11-24T08:15:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a53725ce-5ad8-4dbe-be5c-cf387813dfce","html_url":"https://github.com/EliteMasterEric/HaxeDoxInjector","commit_stats":null,"previous_names":["elitemastereric/haxedoxinjector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliteMasterEric%2FHaxeDoxInjector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliteMasterEric%2FHaxeDoxInjector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliteMasterEric%2FHaxeDoxInjector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliteMasterEric%2FHaxeDoxInjector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliteMasterEric","download_url":"https://codeload.github.com/EliteMasterEric/HaxeDoxInjector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245346486,"owners_count":20600323,"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":["documentation","haxe","macro"],"created_at":"2024-12-02T11:41:51.829Z","updated_at":"2026-01-06T04:35:41.190Z","avatar_url":"https://github.com/EliteMasterEric.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haxe Dox Injector\n\nA library which provides a macro to inject documentation into Haxe classes from JSON data.\n\n## Installation\n\nInstall via Haxelib:\n\n```\n# Release\n\n# Development\nhaxelib git haxe-dox-injector \n```\n\n## Usage\n\nApply the macro. For example, this build script will inject documentation into `test.MyClassTwo` from `docs/test/MyClassTwo.json`.\n\n```\n# build.hxml\n--library haxe-dox-injector\n\n# Apply to a single class...\n--macro addMetadata('@:build(dox.inject.Inject.apply(\"docs/\"))', 'test.MyClassTwo')\n\n# ...or to a whole package.\n--macro addGlobalMetadata('test', '@:build(dox.inject.Inject.apply(\"docs/\"))', true, true, true)\n```\n\n```json\n// docs/test/MyClassTwo.json\n{\n  \"classDoc\": \"This applies documentation on the class `MyClassTwo`\",\n  \"fieldDocs\": [\n    {\n      \"name\": \"myField\",\n      \"doc\": \"This applies documentation on the field `MyClassTwo#myField`\"\n    }\n  ]\n}\n```\n\n## License\n\nHaxe Dox Injector is made available under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felitemastereric%2Fhaxedoxinjector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felitemastereric%2Fhaxedoxinjector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felitemastereric%2Fhaxedoxinjector/lists"}