Skip to content

Commit

Permalink
Bump up v0.4.9: ignore qualified modules checking if Juvix is not ava…
Browse files Browse the repository at this point in the history
…ilable
  • Loading branch information
jonaprieto committed Dec 5, 2024
1 parent 441ea2e commit f31f0e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mkdocs_juvix/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def compute_processed_filepath(

def unqualified_module_name(self, filepath: Path) -> Optional[str]:
log.debug(f"Computing unqualified module name for {filepath}")
if not self.juvix_enabled:
if not self.JUVIX_AVAILABLE:
log.debug("Juvix is not enabled, returning None")
return None
fposix: str = filepath.as_posix()
Expand All @@ -379,7 +379,7 @@ def unqualified_module_name(self, filepath: Path) -> Optional[str]:
return os.path.basename(fposix).replace(".juvix.md", "")

def qualified_module_name(self, filepath: Path) -> Optional[str]:
if not self.juvix_enabled:
if not self.JUVIX_AVAILABLE:
return None
absolute_path = filepath.absolute()
cmd = [self.JUVIX_BIN, "dev", "root", absolute_path.as_posix()]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mkdocs-juvix-plugin"
version = "0.4.8"
version = "0.4.9"
description = "MkDocs documentation with support for Juvix Markdown files"
authors = ["Jonathan Prieto-Cubides, and GitHub contributors"]
license = "MIT"
Expand Down

0 comments on commit f31f0e4

Please sign in to comment.