Closed DanGrayson closed 3 years ago
Additionally, it would be nice if the documentation for the versions of depth defined by Depth appeared with the Depth package documentation.
That's up to the author of Depth, since it is not handled automatically for him. @bartsnapp ?
I originally wrote depth, but have now "turned-it-loose." At the moment, I don't have time to make modifications. Anyone who is interested can work on it.
Thanks, Bart.
One documentation node in the package Depth serves to document each of the following methods:
(depth, Ideal, Ring),
(depth, Ring),
(depth, Ideal, Module),
(depth, Module),
(depth, Ideal, Ideal),
(depth, Ideal, PolynomialRing),
(depth, Ideal, QuotientRing)
but it doesn't mention that the second argument could be a module. That's a separate issue from the issue I've reported here, so I've reported it here: #438 . Volunteers are welcome.
The documentation node for "packages provided with Macaulay2" loads every package and then effectively dismisses it. The only reason it does that is to get the values of the parameters "Headline" and "Certification" to "newPackage". The problem is that package dismissal is incomplete: methods added to global method functions, such as "depth", remain, and then (broken) links to the documentation for those methods are made. That's related to the problem that we don't record the source package when installing such global methods, nor do we record a list of all global methods functions installed by a package when it is loaded.
This is fixed now, although it is somewhat opposite of what #192 asked. I'll close this now, but if a change is needed, the discussion can continue there.
Here's how it looks now:
I don't think you fully uploaded the screenshot.
Oh, I see -- I have to wait!
Is this not the intended output? I think if you want (depth, Module)
to show up you need to add Depth
to preloaded packages.
No, it's okay now: no broken links.
For example, try
viewHelp depth
, and you'll see broken links to methods defined in the package Depth. Those methods are not listed byhelp depth
.