Skip to content

Commit

Permalink
Fix a path computation for the new location of directive modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
rblank committed Nov 23, 2024
1 parent a9ed8d3 commit b60d88e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion tdoc/common/ext/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .. import __version__, format_attrs, format_data_attrs, report_exceptions

_log = logging.getLogger(__name__)
_base = pathlib.Path(__file__).absolute().parent
_base = pathlib.Path(__file__).absolute().parent.parent


def setup(app):
Expand Down
2 changes: 0 additions & 2 deletions tdoc/common/ext/num.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Copyright 2024 Remy Blank <remy@c-space.org>
# SPDX-License-Identifier: MIT

import pathlib

from docutils import nodes
from sphinx import errors
from sphinx.environment import collectors
Expand Down

0 comments on commit b60d88e

Please sign in to comment.