-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor src/sage/docs #33763
Comments
comment:1
Indeed. Why does this package even exist? |
Branch: u/klee/33763 |
Author: Kwankyu Lee |
This comment has been minimized.
This comment has been minimized.
comment:2
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:4
Replying to @mkoeppe:
Removing it is the goal of this ticket. To minimize confusion, this ticket should be the first one to be merged with sage 9.7.beta. |
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @mkoeppe:
I don't know... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
The failing Build&Test has nothing to do with this ticket. |
comment:11
LGTM. |
Reviewer: Matthias Koeppe |
comment:12
The new module needs to be added to |
comment:15
Yes, tested with #28925. Thanks! |
Changed branch from u/klee/33763 to |
comment:17
After this ticket, the
Also, |
Changed commit from |
comment:18
Replying to @jhpalmieri:
Will be fixed in #33922. |
comment:19
This adds a runtime dependency to |
comment:20
Replying to @antonio-rojas:
Sorry. Would you elaborate? What does it mean "when displaying a command's help"? |
comment:21
Replying to @kwankyu:
If
|
comment:23
Where is this from?
I could not find |
comment:24
It's from these lines from
|
comment:25
Replying to @antonio-rojas:
That was not intentional. I was not aware that putting I think we may move Matthias? |
comment:26
Sorry, I didn't catch this when reviewing the ticket. |
comment:27
I don't think all of |
comment:28
See also: #33682 Replace |
comment:29
Replying to @mkoeppe:
I'm probably wrong about mathjax here. But some other settings in
|
comment:30
Replying to @mkoeppe:
Well, our only uses of |
<!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36306 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
We deprecate the package
sage.docs
which contains two modulesconf
andinstancedoc
.The module
conf
is not one of normal sage modules, but is the Sphinx configuration for documentation building. Hence we move the module intosage_docbuild
.The module
instancedoc
provides a decorator to add docstrings to instance objects. This has nothing to do with building documentation. Hence we move it tosage.misc
.This ticket also refactors the code in
sage_docbuild.__init__
. The "builders" are moved to a new modulesage_docbuild.builders
and the "main" function is moved intosage_docbuild.__main__
.Finally we add some documentation about Sage's documentation system.
To minimize confusion, this ticket should be merged with sage 9.7.beta as early as possible (before any other tickets touching
conf.py
)CC: @antonio-rojas
Component: documentation
Author: Kwankyu Lee
Branch:
d8a645f
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33763
The text was updated successfully, but these errors were encountered: