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

Update autodoc config and get linkcode working with jupyterbook #109

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

ebolyen
Copy link
Member

@ebolyen ebolyen commented Jun 24, 2024

Since jupyter book doesn't support dynamic configuration, there's not a simple way to provide a function for the linkcode extension.

Instead we use this suggestion jupyter-book/jupyter-book#1673 (comment) and create a passthrough local sphinx extension which just uses linkcode's normal setup, but we add our linkcode_resolve function to the config just before calling setup.

This sidesteps the problem and doesn't end up being too bad.

@ebolyen
Copy link
Member Author

ebolyen commented Jun 24, 2024

Of course readthedocs will end up being a totally different story...

@ebolyen
Copy link
Member Author

ebolyen commented Jun 24, 2024

There we go. Also, it looks like deploy-book is a stale workflow (pre-environment file and readthedocs). We should remove that.

@ebolyen ebolyen mentioned this pull request Jun 27, 2024
3 tasks
@gregcaporaso gregcaporaso merged commit b11d87b into caporaso-lab:main Jul 2, 2024
2 checks passed
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.

2 participants