Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 RELEASE: v0.2.1 #35

Merged
merged 2 commits into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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