{"id":28519920,"url":"https://github.com/ansible-community/antsibull-docutils","last_synced_at":"2025-07-05T13:31:35.981Z","repository":{"id":254121899,"uuid":"845557970","full_name":"ansible-community/antsibull-docutils","owner":"ansible-community","description":"Antsibull docutils helpers","archived":false,"fork":false,"pushed_at":"2025-07-05T08:20:23.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-05T09:27:23.377Z","etag":null,"topics":["antsibull","docutils"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/antsibull-docutils/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansible-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2024-08-21T13:33:13.000Z","updated_at":"2025-07-05T08:20:26.000Z","dependencies_parsed_at":"2024-11-18T19:33:49.002Z","dependency_job_id":"35a617d2-bbf0-497e-8b83-cb2c651438a9","html_url":"https://github.com/ansible-community/antsibull-docutils","commit_stats":null,"previous_names":["ansible-community/antsibull-docutils"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ansible-community/antsibull-docutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fantsibull-docutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fantsibull-docutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fantsibull-docutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fantsibull-docutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansible-community","download_url":"https://codeload.github.com/ansible-community/antsibull-docutils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-community%2Fantsibull-docutils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263720912,"owners_count":23501363,"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":["antsibull","docutils"],"created_at":"2025-06-09T06:30:56.948Z","updated_at":"2025-07-05T13:31:35.975Z","avatar_url":"https://github.com/ansible-community.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nCopyright (c) Ansible Project\nGNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)\nSPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\n# antsibull-docutils -- Antsibull docutils helpers\n[![Discuss on Matrix at #antsibull:ansible.com](https://img.shields.io/matrix/antsibull:ansible.com.svg?server_fqdn=ansible-accounts.ems.host\u0026label=Discuss%20on%20Matrix%20at%20%23antsibull:ansible.com\u0026logo=matrix)](https://matrix.to/#/#antsibull:ansible.com)\n[![Nox badge](https://github.com/ansible-community/antsibull-docutils/workflows/nox/badge.svg?event=push\u0026branch=main)](https://github.com/ansible-community/antsibull-docutils/actions?query=workflow%3A%22nox%22+branch%3Amain)\n[![Codecov badge](https://img.shields.io/codecov/c/github/ansible-community/antsibull-docutils)](https://codecov.io/gh/ansible-community/antsibull-docutils)\n[![REUSE status](https://api.reuse.software/badge/github.com/ansible-community/antsibull-docutils)](https://api.reuse.software/info/github.com/ansible-community/antsibull-docutils)\n\nA Python library with some [docutils](https://www.docutils.org/) helpers used by Antsibull tools.\n\nantsibull-docutils is covered by the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).\n\n## Docutils support\n\nIn CI, compatibility with docutils 0.18+ is tested. Older versions of docutils might work as well, depending on your use-case. The tests do not pass for 0.16 and 0.17, as these versions emit different IDs and HTML (for tables). 0.16 also handles code blocks differently, and they will not be emitted with the MarkDown renderer.\n\n## Development\n\nInstall and run `nox` to run all tests. That's it for simple contributions!\n`nox` will create virtual environments in `.nox` inside the checked out project\nand install the requirements needed to run the tests there.\n\nTo run specific tests:\n\n1. `nox -e test` to only run unit tests;\n2. `nox -e coverage` to display combined coverage results after running `nox -e\n   test integration`;\n3. `nox -e lint` to run all linters and formatters at once;\n4. `nox -e formatters` to run `isort` and `black`;\n5. `nox -e codeqa` to run `flake8`, `pylint`, `reuse lint`, and `antsibull-changelog lint`;\n6. `nox -e typing` to run `mypy`.\n\n## Creating a new release:\n\n1. Run `nox -e bump -- \u003cversion\u003e \u003crelease_summary_message\u003e`. This:\n   * Bumps the package version in `src/antsibull_docutils/__init__.py`.\n   * Creates `changelogs/fragments/\u003cversion\u003e.yml` with a `release_summary` section.\n   * Runs `antsibull-changelog release` and adds the changed files to git.\n   * Commits with message `Release \u003cversion\u003e.` and runs `git tag -a -m 'antsibull-docutils \u003cversion\u003e' \u003cversion\u003e`.\n   * Runs `hatch build --clean`.\n2. Run `git push` to the appropriate remotes.\n3. Once CI passes on GitHub, run `nox -e publish`. This:\n   * Runs `hatch publish`;\n   * Bumps the version to `\u003cversion\u003e.post0`;\n   * Adds the changed file to git and run `git commit -m 'Post-release version bump.'`;\n4. Run `git push --follow-tags` to the appropriate remotes and create a GitHub release.\n\n## License\n\nUnless otherwise noted in the code, it is licensed under the terms of the GNU\nGeneral Public License v3 or, at your option, later. See\n[LICENSES/GPL-3.0-or-later.txt](https://github.com/ansible-community/antsibull-docutils/tree/main/LICENSE)\nfor a copy of the license.\n\nThe repository follows the [REUSE Specification](https://reuse.software/spec/) for declaring copyright and\nlicensing information. The only exception are changelog fragments in ``changelog/fragments/``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fantsibull-docutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansible-community%2Fantsibull-docutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-community%2Fantsibull-docutils/lists"}