Skip to content

Commit

Permalink
Explicitly set path to pandoc
Browse files Browse the repository at this point in the history
Set nbsphinx_pandoc in conf.py
  • Loading branch information
Devin-Crawford committed Dec 10, 2023
1 parent e78be75 commit f5e48a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def visit_desc_content(self, node: Element) -> None:
numpydoc_use_plots = True
numpydoc_show_class_members = False
numpydoc_xref_param_type = True
nbsphinx_pandoc = r"C:\ProgramData\chocolatey\bin\pandoc.exe" # Shouldn't have to do this explicitly
# nbsphinx_pandoc = os.path.join(os.environ['LOCALAPPDATA'], "Pandoc", "pandoc.exe")
os.environ['PATH'] = os.environ['PATH'] + ";" + os.path.join(os.environ['LOCALAPPDATA'], "Pandoc")

# Consider enabling numpydoc validation. See:
# https://numpydoc.readthedocs.io/en/latest/validation.html#
Expand Down

0 comments on commit f5e48a1

Please sign in to comment.