Skip to content

Commit

Permalink
🚀 RELEASE: v0.2.1 (#35)
Browse files Browse the repository at this point in the history
* version in changelog

* version to 0.2.1
  • Loading branch information
AakashGfude authored Oct 8, 2021
1 parent c583ccf commit 4a28f71
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [v0.2.1](https://github.com/executablebooks/sphinx-exercise/tree/v0.2.1) (2021-10-08)

### New ✨

Added latex support for sphinx-exercise

### Improved 👌

Refactored code to make it modular and robust, fixing some of the bugs mentioned below.

### Fixes 🐛

- Exercise node title now visible for sphinx > 3.2
- Solution directive fix issue#32

## [v0.1.1](https://github.com/executablebooks/sphinx-exercise/tree/v0.1.1) (2020-10-10)

[Full Changelog](https://github.com/executablebooks/sphinx-exercise/compare/v0.1.0...v0.1.1)
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.1.1"
VERSION = "v0.2.1"

LONG_DESCRIPTION = """
This package contains a [Sphinx](http://www.sphinx-doc.org/en/master/) extension
Expand Down
2 changes: 1 addition & 1 deletion sphinx_exercise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def process_reference(self, node, default_title=""):
functionality requirements.
"""
label = get_refuri(node)
if label in self.env.exercise_list:
if hasattr(self.env, "exercise_list") and label in self.env.exercise_list:
source_node = self.env.exercise_list[label].get("node")
# if reference source is a solution node
if is_solution_node(source_node):
Expand Down

0 comments on commit 4a28f71

Please sign in to comment.