Skip to content

Commit

Permalink
RELEASE: v0.4.0 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky authored Mar 17, 2022
1 parent a5f627a commit f555d72
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Changelog

## [v0.4.0](https://github.com/executablebooks/sphinx-exercise/tree/v0.4.0) (2022-3-18)

### New ✨

Added gated directive syntax for `exercise` and `solution` directives, which provides
an alternative syntax for building `exercise` and `solution` that may also include
executable code.

**Example:**

You may now use `exercise-start` and `exercise-end` to define the exercise which may
include any type of text, directives and roles between the start and end markers.

````md
```{exercise-start}
:label: ex1
```

```{code-cell}
# Some setup code that needs executing
```

and maybe you wish to add a figure

```{figure} img/example.png
```

```{exercise-end}
```
````

This can also be used with `solution-start` and `solution-end`.

See [docs](https://ebp-sphinx-exercise.readthedocs.io/en/latest/syntax.html#alternative-gated-syntax) for further details


## [v0.3.1](https://github.com/executablebooks/sphinx-exercise/tree/v0.3.1) (2022-2-01)

### Fixes 🐛
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import setup, find_packages

VERSION = "v0.3.1"
VERSION = "v0.4.0"

LONG_DESCRIPTION = """
This package contains a [Sphinx](http://www.sphinx-doc.org/) extension
Expand Down

0 comments on commit f555d72

Please sign in to comment.