-
-
Notifications
You must be signed in to change notification settings - Fork 601
Meson: add building of documentation as target #39973
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
base: develop
Are you sure you want to change the base?
Conversation
Looks like some file permission goes wrong? (symbolic link get converted to normal file?) |
docs = [doc[1] for doc in sorted(documents)] | ||
# Put the bibliography first, because it needs to be built first: | ||
docs.remove(Path('reference/references')) | ||
docs.insert(0, Path('reference/references')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is such a large change necessary in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest, I got carried a way a bit: the strictly necessary change is to remove mentions of import sage
, then I used the chance to use pathlib, and to catch all those paths vs strings issues added typing info. Oh, and there were a few old deprecated stuff in there which was easier to remove than to migrate to pathlib 🦊
Make it possible to build the documentation with meson via
For this a couple of changes was necessary in the docbuilder:
sage_docbuild
independent ofsage
so that meson can usesage_docbuild
during config time to construct all the docbuild targets (otherwise one needs to first install sage, and then could configure the docbuild)📝 Checklist
⌛ Dependencies