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

Add source_provider setting for edit link (#35 proposal) #36

Closed
wants to merge 1 commit into from

Conversation

lalmeras
Copy link

This patch allow to use source_provider to handle the case where source_directory is not a well-known url (https://gitlab.com, https://github.com, https://bitbucket.org).

This patch implies that project using spinx_basic_ng update their theme.conf file to add a source_directory = default setting (else this patch trigger errors at runtime). Not sure if it is possible and/or desired to handle the case where theme.conf is not updated.

This patch allow to use `source_provider` to handle the case where `source_directory` is not a well-known url (https://gitlab.com, https://github.com, https://bitbucket.org).

This patch implies that project using spinx_basic_ng update their `theme.conf` file to add a `source_directory =` default setting (else this patch trigger errors at runtime).
@pradyunsg
Copy link
Owner

Would this be better served by #34?

@lalmeras
Copy link
Author

My bad, #34 is just fine; I just do not see it before posting :-/

@lalmeras lalmeras closed this Jul 18, 2022
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