Skip to content
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

Specify doc nodes from Varieties package #3642

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

d-torrance
Copy link
Member

@d-torrance d-torrance commented Feb 6, 2025

Currently, Macaulay2Doc exports Core#"preloaded packages", but the user can change that in init.m2 since #3312. So it's not guaranteed that any particular package is preloaded.

However, there were several links in Macaluay2Doc that pointed to Varieties doc nodes. So loading Macaulay2Doc was failing when Varieties wasn't preloaded.

We add "Varieties::" in front of these links to fix this. We also drop the PackageExports option from Macaulay2Doc since it isn't necessary and was unpredictable.

Note that (betti, CoherentSheaf) is linked to from betti but is undocumented. I went ahead and updated it like the others so that it should work whenever it is eventually documented.

It was Core#"preloaded packages", which the user can modify.
Otherwise, loading Macaulay2Doc may fail if Varieties isn't pre-loaded.
@d-torrance d-torrance requested a review from mahrud February 6, 2025 12:30
Not necessarily loaded already
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant