==========
Changelog
==========
|PyPI| |Python| |Downloads|
.. |PyPI| image:: https://img.shields.io/pypi/v/changelog
:target: https://pypi.org/project/changelog
:alt: PyPI
.. |Python| image:: https://img.shields.io/pypi/pyversions/changelog
:target: https://pypi.org/project/changelog
:alt: PyPI - Python Version
.. |Downloads| image:: https://img.shields.io/pypi/dm/changelog
:target: https://pypi.org/project/changelog
:alt: PyPI - Downloads
A `Sphinx <https://www.sphinx-doc.org>`_ extension to generate changelog files.
This is an experimental, possibly-not-useful extension that's used by the
`SQLAlchemy <http://www.sqlalchemy.org>`_ project and related projects.
Configuration
=============
A sample configuration in ``conf.py`` looks like this::
extensions = [
# changelog extension
'changelog',
# your other sphinx extensions
# ...
]
# section names - optional
changelog_sections = ["general", "rendering", "tests"]
# section css classes - optional
changelog_caption_class = "caption"
# tags to sort on inside of sections - also optional
changelog_inner_tag_sort = ["feature", "bug"]
# whether sections should be hidden from tags list
changelog_hide_sections_from_tags = False
# whether tags should be hidden from entries
changelog_hide_tags_in_entry = False
# how to render changelog links - these are plain
# python string templates, ticket/pullreq/changeset number goes
# in "%s"
changelog_render_ticket = "http://bitbucket.org/myusername/myproject/issue/%s"
changelog_render_pullreq = "http://bitbucket.org/myusername/myproject/pullrequest/%s"
changelog_render_changeset = "http://bitbucket.org/myusername/myproject/changeset/%s"
Usage
=====
Changelog introduces the ``changelog`` and ``change`` directives::
====================
Changelog for 1.5.6
====================
.. changelog::
:version: 1.5.6
:released: Sun Oct 12 2008
.. change::
:tags: general
:tickets: 27
Improved the frobnozzle.
.. change::
:tags: rendering, tests
:pullreq: 8
:changeset: a9d7cc0b56c2
Rendering tests now correctly render.
With the above markup, the changes above will be rendered into document sections
per changelog, then each change within organized into paragraphs, including
special markup for tags, tickets mentioned, pull requests, changesets. The entries will
be grouped and sorted by tag according to the configuration of the ``changelog_sections``
and ``changelog_inner_tag_sort`` configurations.
A "compound tag" can also be used, if the configuration has a section like this::
changelog_sections = ["orm declarative", "orm"]
Then change entries which contain both the ``orm`` and ``declarative`` tags will be
grouped under a section called ``orm declarative``, followed by the ``orm`` section where
change entries that only have ``orm`` will be placed.
Other Markup
============
The ``:ticket:`` directive will make use of the ``changelog_render_ticket`` markup
to render a ticket link::
:ticket:`456`
Other things not documented yet
===============================
* the ``:version:`` directive, which indicates a changelog entry should be
listed in other versions as well
* the ``.. changelog_imports::`` directive - reads other changelog.rst files
looking for ``:version:`` directives which apply to this changelog file,
adding those entries to the changelog entries in this file
* the ``:include_notes_from:`` symbol - imports all the .rst files in a
directory into the current one so that changes can be one-per-file, makes
git merges possible
* the ``changelog release-notes`` command that at release time gathers up
the above-mentioned change-per-file .rst files and renders them into the
main changelog.rst file, running "git rm" on the individual files
* the changelog.rst -> markdown converter, used for web guis that want
changelog sections written in markdown
* the changelog.rst -> stream per changelog markdown API function, which can
for example stream the changelogs per release to the github releases API
Raw data
{
"_id": null,
"home_page": "https://github.com/sqlalchemyorg/changelog",
"name": "changelog",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Sphinx",
"author": "Mike Bayer",
"author_email": "mike@zzzcomputing.com",
"download_url": "https://files.pythonhosted.org/packages/cb/88/ed1fec575a953d51766753d619b8779fd0fc9d90ec04736daa112af36843/changelog-0.6.1.tar.gz",
"platform": null,
"description": "==========\nChangelog\n==========\n\n|PyPI| |Python| |Downloads|\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/changelog\n :target: https://pypi.org/project/changelog\n :alt: PyPI\n\n.. |Python| image:: https://img.shields.io/pypi/pyversions/changelog\n :target: https://pypi.org/project/changelog\n :alt: PyPI - Python Version\n\n.. |Downloads| image:: https://img.shields.io/pypi/dm/changelog\n :target: https://pypi.org/project/changelog\n :alt: PyPI - Downloads\n\nA `Sphinx <https://www.sphinx-doc.org>`_ extension to generate changelog files.\n\nThis is an experimental, possibly-not-useful extension that's used by the\n`SQLAlchemy <http://www.sqlalchemy.org>`_ project and related projects.\n\nConfiguration\n=============\n\nA sample configuration in ``conf.py`` looks like this::\n\n extensions = [\n # changelog extension\n 'changelog',\n\n # your other sphinx extensions\n # ...\n ]\n\n\n # section names - optional\n changelog_sections = [\"general\", \"rendering\", \"tests\"]\n\n # section css classes - optional\n changelog_caption_class = \"caption\"\n\n # tags to sort on inside of sections - also optional\n changelog_inner_tag_sort = [\"feature\", \"bug\"]\n\n # whether sections should be hidden from tags list\n changelog_hide_sections_from_tags = False\n\n # whether tags should be hidden from entries\n changelog_hide_tags_in_entry = False\n\n # how to render changelog links - these are plain\n # python string templates, ticket/pullreq/changeset number goes\n # in \"%s\"\n changelog_render_ticket = \"http://bitbucket.org/myusername/myproject/issue/%s\"\n changelog_render_pullreq = \"http://bitbucket.org/myusername/myproject/pullrequest/%s\"\n changelog_render_changeset = \"http://bitbucket.org/myusername/myproject/changeset/%s\"\n\nUsage\n=====\n\nChangelog introduces the ``changelog`` and ``change`` directives::\n\n ====================\n Changelog for 1.5.6\n ====================\n\n .. changelog::\n :version: 1.5.6\n :released: Sun Oct 12 2008\n\n .. change::\n :tags: general\n :tickets: 27\n\n Improved the frobnozzle.\n\n .. change::\n :tags: rendering, tests\n :pullreq: 8\n :changeset: a9d7cc0b56c2\n\n Rendering tests now correctly render.\n\n\nWith the above markup, the changes above will be rendered into document sections\nper changelog, then each change within organized into paragraphs, including\nspecial markup for tags, tickets mentioned, pull requests, changesets. The entries will\nbe grouped and sorted by tag according to the configuration of the ``changelog_sections``\nand ``changelog_inner_tag_sort`` configurations.\n\nA \"compound tag\" can also be used, if the configuration has a section like this::\n\n changelog_sections = [\"orm declarative\", \"orm\"]\n\nThen change entries which contain both the ``orm`` and ``declarative`` tags will be\ngrouped under a section called ``orm declarative``, followed by the ``orm`` section where\nchange entries that only have ``orm`` will be placed.\n\nOther Markup\n============\n\nThe ``:ticket:`` directive will make use of the ``changelog_render_ticket`` markup\nto render a ticket link::\n\n :ticket:`456`\n\n\nOther things not documented yet\n===============================\n\n* the ``:version:`` directive, which indicates a changelog entry should be\n listed in other versions as well\n\n* the ``.. changelog_imports::`` directive - reads other changelog.rst files\n looking for ``:version:`` directives which apply to this changelog file,\n adding those entries to the changelog entries in this file\n\n* the ``:include_notes_from:`` symbol - imports all the .rst files in a\n directory into the current one so that changes can be one-per-file, makes\n git merges possible\n\n* the ``changelog release-notes`` command that at release time gathers up\n the above-mentioned change-per-file .rst files and renders them into the\n main changelog.rst file, running \"git rm\" on the individual files\n\n* the changelog.rst -> markdown converter, used for web guis that want\n changelog sections written in markdown\n\n* the changelog.rst -> stream per changelog markdown API function, which can\n for example stream the changelogs per release to the github releases API\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Provides simple Sphinx markup to render changelog displays.",
"version": "0.6.1",
"project_urls": {
"Homepage": "https://github.com/sqlalchemyorg/changelog"
},
"split_keywords": [
"sphinx"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17822edebba35e49331a5dacc81c870952251e5525cdad697e4dfe63915a9c2e",
"md5": "48bb9ec88efbc0093a4df85f67f9aafd",
"sha256": "5a90ad12ab535a286de0941027b3566fefcc45f8dc77f4abb538520e58ad0d3e"
},
"downloads": -1,
"filename": "changelog-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48bb9ec88efbc0093a4df85f67f9aafd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16334,
"upload_time": "2023-08-15T17:53:27",
"upload_time_iso_8601": "2023-08-15T17:53:27.795466Z",
"url": "https://files.pythonhosted.org/packages/17/82/2edebba35e49331a5dacc81c870952251e5525cdad697e4dfe63915a9c2e/changelog-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cb88ed1fec575a953d51766753d619b8779fd0fc9d90ec04736daa112af36843",
"md5": "457947c5320fd2d53c9b8e7ddc286c22",
"sha256": "ca38e31905c9f7cf12dc30d967e9b778a242abb95d013fbdd9f018afc5dada95"
},
"downloads": -1,
"filename": "changelog-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "457947c5320fd2d53c9b8e7ddc286c22",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15733,
"upload_time": "2023-08-15T17:53:29",
"upload_time_iso_8601": "2023-08-15T17:53:29.678696Z",
"url": "https://files.pythonhosted.org/packages/cb/88/ed1fec575a953d51766753d619b8779fd0fc9d90ec04736daa112af36843/changelog-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-15 17:53:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sqlalchemyorg",
"github_project": "changelog",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "changelog"
}