Skip to content

Commit

Permalink
Fix filesystem case sensitivity issue with IQP docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Nov 8, 2024
1 parent e631685 commit 92af9d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@
napoleon_numpy_docstring = False


# Autosummary generates stub filenames based on the import name.
# Sometimes, two distinct interfaces only differ in capitalization; this
# creates a problem on case-insensitive OS/filesystems like macOS. So,
# we manually avoid the clash by renaming one of the files.
autosummary_filename_map = {
"qiskit.circuit.library.iqp": "qiskit.circuit.library.iqp_function",
}

# ----------------------------------------------------------------------------------
# Doctest
# ----------------------------------------------------------------------------------
Expand Down

0 comments on commit 92af9d0

Please sign in to comment.