Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

v0.2.0 install fails on sphinx #31

Closed
VictorEijkhout opened this issue Dec 29, 2022 · 5 comments
Closed

v0.2.0 install fails on sphinx #31

VictorEijkhout opened this issue Dec 29, 2022 · 5 comments
Assignees
Labels

Comments

@VictorEijkhout
Copy link

-- Installing: /Users/eijkhout/Installation/mpl/installation-0.2.0-macbookair-gcc/lib/cmake/mpl/mplTargets.cmake
CMake Error at doc/cmake_install.cmake:41 (file):
  file INSTALL cannot find
  "/Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/sphinx/html":
  No such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:67 (include)

and indeed

ls /Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/sphinx
conf.py
@rabauke
Copy link
Owner

rabauke commented Dec 29, 2022

Thanks for reporting, I need to investigate this. There is a build target documentation that should create the missing documentation. As a workaround, you may build this target before installation.

@VictorEijkhout
Copy link
Author

Is my sphinx installation incomplete?

[100%] Generating API documentation with Sphinx & Breathe
cd /Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/sphinx && sphinx-build -b html
-j auto -D breathe_projects.MPL=/Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/doxygen/xml -c /Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/sphinx /Users/eijkhout/Installation/mpl/mpl-0.2.0/doc/sphinx /Users/eijkhout/Installation/mpl/build-0.2.0-macbookair-gcc/doc/sphinx/html
Running Sphinx v5.1.1

Extension error:
Could not import extension sphinx_copybutton (exception: No module named 'sphinx_copybutton')
make[4]: *** [doc/sphinx/html/index.html] Error 2
make[3]: *** [doc/CMakeFiles/documentation.dir/all] Error 2
make[2]: *** [doc/CMakeFiles/documentation.dir/rule] Error 2
make[1]: *** [documentation] Error 2

@rabauke
Copy link
Owner

rabauke commented Dec 29, 2022

Yes, sphinx_copybutton is a plugin that is not bundled with Sphinx.

@rabauke
Copy link
Owner

rabauke commented Dec 29, 2022

@VictorEijkhout Please let me know if this issue still exists after my commit bd3ce91.

@rabauke rabauke self-assigned this Dec 29, 2022
@rabauke rabauke added the bug label Dec 29, 2022
@VictorEijkhout
Copy link
Author

Confirm fixed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants