You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #620, we remove Python stubs from this repository and generate them every time to build the doc.
But the API document for qulacs.* submodule is not generated correctly(link).
Before #620, the stubs for a submodule is written in, for example, pysrc/qulacs/circuit/__init__.pyi.
But now ./script/update_stubs.sh(internally stubgen and pybind11-stubgen) generates the stubs in pysrc/qulacs/circuit.pyi, which seems to be ignored by Sphinx(and its plugin).
So we have to
find any options of stubgen to generate the stubs in pysrc/qulacs/***/__init__.pyi
rename generated files to desired ones as a workaround
The text was updated successfully, but these errors were encountered:
In #620, we remove Python stubs from this repository and generate them every time to build the doc.
But the API document for
qulacs.*
submodule is not generated correctly(link).Before #620, the stubs for a submodule is written in, for example,
pysrc/qulacs/circuit/__init__.pyi
.But now
./script/update_stubs.sh
(internally stubgen and pybind11-stubgen) generates the stubs inpysrc/qulacs/circuit.pyi
, which seems to be ignored by Sphinx(and its plugin).So we have to
pysrc/qulacs/***/__init__.pyi
The text was updated successfully, but these errors were encountered: