Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed May 6, 2024
1 parent 1cf5f2b commit dfa0378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/katex.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def build_command(cls, socket=None, port=None):
# The default is to use `./katex.min.js`
katex_path = os.path.relpath(str(cls.KATEX_PATH))[:-3]
# relative path had to start with `"./"` for `require()`
katex_path = os.path.join("./sphinxcontrib/", katex_path)
katex_path = os.path.join("./", katex_path)
cmd.extend(["--katex", katex_path])

return cmd
Expand Down

0 comments on commit dfa0378

Please sign in to comment.