Skip to content

Commit 05ddd2c

Browse files
committed
πŸš€ RELEASE: v1.3.0
1 parent de7e712 commit 05ddd2c

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
# Change Log
22

3-
## v1.2.1
3+
## 1.3.0 - 2020-09-08
4+
5+
♻️ Major refactor of tabs, group-tabs and code-tabs (thanks to [@foster999](https://github.com/foster999)):
6+
7+
* Removes hard-coded reStructuredText for group and code tabs, so that this works with other parsers (inc `MyST Markdown`)
8+
* group-tab directive now subclasses `TabDirective` to remove duplicated run code
9+
* likewise, `code-tab` now subclasses `group-tab`
10+
* `TabDirective` and `TabsDirective` now subclass `SphinxDirective` for easier access to directive `env`
11+
12+
πŸ§ͺ testing infrastructure has now fully moved from unittest to pytest
13+
14+
✨ New features:
15+
16+
* Can now pass `code-tabs` with a second argument (allowing whitespace) to provide an alternative tab label
17+
* `code-tabs` can now use custom lexers, which are added to the sphinx app in `conf.py`
18+
19+
## v1.2.1 - 2020-08-20
420

521
πŸ› FIX: Remove `app.add_javascript` use for sphinx v2
622

7-
## v1.2.0
23+
## v1.2.0 - 2020-08-18
824

925
`sphinx-tabs` has now moved to the [EBP organisation](https://executablebooks.org) πŸŽ‰
1026

β€Žsphinx_tabs/__init__.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = "1.2.1"
1+
__version__ = "1.3.0"
22

33
__import__("pkg_resources").declare_namespace(__name__)

0 commit comments

Comments
Β (0)