Docs: unconditionally show plain Python example#41142
Docs: unconditionally show plain Python example#41142vbraun merged 3 commits intosagemath:developfrom
Conversation
|
Documentation preview for this PR (built with commit e65af6c; changes) is ready! 🎉 |
|
it's not clear from the description how the real problem - a missing sphinx dependency - is tackled. |
jupyter_sphinx is required if you build the "live doc" sage/src/sage_docbuild/conf.py Lines 64 to 65 in 85cec95 if you don't build the live doc, then it's not required and the following code makes the doc build in this case: What still doesn't work is The "bug" that I've introduced in #39030 was to incorporate the |
|
Fine with me. Keeping the Python tab unconditionally is good, and more in line with the Python trends in general |
|
Thanks! |
sagemathgh-41142: Docs: unconditionally show plain Python example <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> Removes the toggle to disable the "Python" tab in the documentation (so that tab is now always displayed). Should fix the issue mentioned in https://groups.google.com/g/sage-release/c/x5zO6z5c0d4/m/CougOT6mBgAJ. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#41142 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik
Removes the toggle to disable the "Python" tab in the documentation (so that tab is now always displayed). Should fix the issue mentioned in https://groups.google.com/g/sage-release/c/x5zO6z5c0d4/m/CougOT6mBgAJ.
📝 Checklist
⌛ Dependencies