Skip to content

Commit

Permalink
fix: set myst prefix to extension
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jul 22, 2024
1 parent 11acc95 commit 54181c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinx_ext_mystmd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def slugify(self, path):

def _get_xref_path(self, doc_name):
target_stem = self.slugify(doc_name)
return os.path.join(self.outdir, "content", f"{target_stem}.json")
return os.path.join(self.outdir, "content", f"{target_stem}.myst.json")

def prepare_writing(self, docnames):
print(f"About to write {docnames}")
Expand Down

0 comments on commit 54181c5

Please sign in to comment.