mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
config: update version to 3.0
We are working on the v3.0 release now.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
import os
|
||||
|
||||
# General information about the project.
|
||||
project = 'pybricks-micropython'
|
||||
project = 'pybricks'
|
||||
copyright = '2018-2020 The Pybricks Authors'
|
||||
author = ''
|
||||
|
||||
|
||||
+4
-3
@@ -20,6 +20,7 @@
|
||||
# flake8: noqa
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
from docutils import nodes
|
||||
@@ -75,10 +76,10 @@ master_doc = 'index'
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = _pyproject["tool"]["poetry"]["version"]
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
release = "v" + _pyproject["tool"]["poetry"]["version"]
|
||||
# The short X.Y version.
|
||||
version = re.match(r'(v\d+\.\d+)', release)[0]
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pybricks"
|
||||
version = "2.0.0"
|
||||
version = "3.0.0a3"
|
||||
description = "Documentation and user-API stubs for Pybricks MicroPython"
|
||||
authors = ["The Pybricks Authors <dev@pybricks.com>"]
|
||||
maintainers = ["Laurens Valk <laurens@pybricks.com>", "David Lechner <david@pybricks.com>" ]
|
||||
|
||||
Reference in New Issue
Block a user