Skip to content

Commit

Permalink
bump: version 0.0.0 → 0.1.0 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Mar 19, 2023
2 parents 4434368 + ffdc294 commit 5de341f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default_install_hook_types: [pre-commit]
default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: "https://github.com/psf/black"
Expand All @@ -19,3 +19,9 @@ repos:
hooks:
- id: ruff
stages: [commit]

- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.18.0"
hooks:
- id: commitizen
stages: [commit-msg]
18 changes: 15 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,34 @@ sphinxcontrib-video
:target: https://github.com/sphinx-contrib/video/blob/master/LICENSE
:alt: License: MIT

.. image:: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
:target: https://conventionalcommits.org
:alt: conventional commit

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Black badge

.. image:: https://img.shields.io/badge/code_style-prettier-ff69b4.svg
:target: https://github.com/prettier/prettier
:alt: prettier badge


.. image:: https://img.shields.io/pypi/v/sphinxcontrib-video?color=blue&logo=python&logoColor=white
:alt: PyPI
:target: https://pypi.org/project/sphinxcontrib-video/

.. image:: https://img.shields.io/pypi/pyversions/sphinxcontrib-video?logo=python&logoColor=white
:alt: PyPI - Python Version
:target: https://pypi.org/project/sphinxcontrib-video/

.. image:: https://img.shields.io/readthedocs/sphinxcontrib-video?logo=readthedocs&logoColor=white
:alt: Read the Docs
:target: https://readthedocs.org/projects/sphinxcontrib-video/

.. image:: https://img.shields.io/codecov/c/github/sphinx-contrib/video?logo=codecov&logoColor=white
:alt: Codecov
:target: https://app.codecov.io/gh/sphinx-contrib/video

.. image:: https://img.shields.io/github/actions/workflow/status/sphinx-contrib/video/unit.yaml?logo=github&logoColor=white
:alt: GitHub Workflow Status
:target: https://github.com/sphinx-contrib/video/actions/workflows/unit.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
project = "sphinxcontrib-video"
author = "Raphael Massabot"
copyright = f"2018-{datetime.now().year}, {author}"
release = "0.0.0"
release = "0.1.0"

# -- General configuration -----------------------------------------------------

Expand Down
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sphinxcontrib-video"
version = "0.0.0"
version = "0.1.0"
description = "Allows embedding of HTML5 videos in sphinx"
requires-python = ">=3.6.9"
dependencies = ["sphinx"]
Expand Down Expand Up @@ -73,3 +73,14 @@ ignore_missing_imports = true
install_types = true
non_interactive = true
warn_redundant_casts = true

[tool.commitizen]
changelog_incremental = false
tag_format = "v$major.$minor.$patch$prerelease"
update_changelog_on_bump = false
version = "0.1.0"
version_files = [
"pyproject.toml:version",
"docs/conf.py:release",
"sphinxcontrib/video.py:__version__"
]
3 changes: 3 additions & 0 deletions sphinxcontrib/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
from sphinx.util import logging
from sphinx.util.docutils import SphinxDirective, SphinxTranslator

__author__ = "Raphael Massabot"
__version__ = "0.1.0"

logger = logging.getLogger(__name__)

SUPPORTED_MIME_TYPES: Dict[str, str] = {
Expand Down

0 comments on commit 5de341f

Please sign in to comment.