{"id":21766961,"url":"https://github.com/wvbe/dita-refactor-tool","last_synced_at":"2025-09-06T06:41:34.745Z","repository":{"id":70177263,"uuid":"363364068","full_name":"wvbe/dita-refactor-tool","owner":"wvbe","description":"A command-line tool for refactoring a DITA XML repository","archived":false,"fork":false,"pushed_at":"2021-09-02T11:23:19.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T05:30:25.344Z","etag":null,"topics":["command-line-tool","dita","xml"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wvbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-05-01T08:50:24.000Z","updated_at":"2021-09-17T21:46:35.000Z","dependencies_parsed_at":"2023-06-14T13:00:44.655Z","dependency_job_id":null,"html_url":"https://github.com/wvbe/dita-refactor-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wvbe/dita-refactor-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wvbe%2Fdita-refactor-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wvbe%2Fdita-refactor-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wvbe%2Fdita-refactor-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wvbe%2Fdita-refactor-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wvbe","download_url":"https://codeload.github.com/wvbe/dita-refactor-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wvbe%2Fdita-refactor-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273868139,"owners_count":25182423,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-line-tool","dita","xml"],"created_at":"2024-11-26T13:21:06.257Z","updated_at":"2025-09-06T06:41:34.730Z","avatar_url":"https://github.com/wvbe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DITA refactor tool\n\n**A command-line interface for some common refactorings on a DITA XML set.**\n\nFocuses on `@href` and `@conref` references. Assumes all cross-references are relative file URLs.\nDoes not have much schema awareness or respect DITA inheritance. Does not prettify XML.\n\n## Moving files\n\nMoves the file, and fixes inbound cross-references to any child element, and any outbound\ncross-references.\n\n```sh\ndita-move docs/some/topic.xml docs/another/location.xml\n```\n\n## Checking cross-references\n\nGo over any cross-reference that is broken, or whose link text does not match the target title, and\ndecide what to do in an interactive prompt.\n\n```sh\ndita-check-references\n  --fix-document-not-found\n  --fix-element-not-found\n  --fix-text-not-match\n  --fix-all\n\ndita-check-references --fix-document-not-in-map my-ditamap.xml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwvbe%2Fdita-refactor-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwvbe%2Fdita-refactor-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwvbe%2Fdita-refactor-tool/lists"}