Conversation
|
Documentation preview for this PR (built with commit f94487c; changes) is ready! 🎉 |
|
IMO it would be better to do this at the meson level (with That being said, this change only affects sage-the-distro so I have no objection as a temporary stopgap. |
src/doc/Makefile
Outdated
| doc-html: | ||
| meson compile -C ../../build/sage-distro doc-html | ||
| mkdir -p $(SAGE_DOC) | ||
| cp -rf ../../build/sage-distro/src/doc/html $(SAGE_DOC) |
There was a problem hiding this comment.
where does SAGE_DOC points to on your system, i.e. where do those docs end up in?
There was a problem hiding this comment.
For sage-the-distro, it is local/share/doc at sage root by default. The Makefile runs after environment variables for sage-the-distro are setup.
Yes. Then
Yes. |
13be91e to
f7cafd3
Compare
|
Strangely, |
|
There must have been some confusion on my side. I tested again. It works well. Ready to go. |
|
Anything else? |
f7cafd3 to
aed9e8b
Compare
|
Now the built doc is not copied but links to the doc are installed in appropriate places. This works well with the sage-distro. |
This is a solution for https://groups.google.com/g/sage-devel/c/IVo1EI33CyU, alternative to #40798.
With this PR
installs the built doc to the expected location (set by SAGE_DOC). The same with
📝 Checklist
⌛ Dependencies