Skip to content

External links gallery: add support for an arbitrary number of authors #99

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

Merged

Conversation

andersy005
Copy link
Member

@andersy005 andersy005 commented Jun 14, 2021

This PR adds support for an arbitrary number of authors. Previously, the gallery generator supported no more than 2 authors. This assumptions resulted in UnboundLocalError: local variable 'authors_str' referenced before assignment error error. See https://readthedocs.org/projects/projectpythia/builds/13991093/. This fixes the build for #92.

Copy link
Collaborator

@kmpaul kmpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @andersy005!

@kmpaul
Copy link
Collaborator

kmpaul commented Jun 14, 2021

This is needed for #92, so I'm going to merge now.

@kmpaul kmpaul merged commit 02cf83a into ProjectPythia:main Jun 14, 2021
@jukent
Copy link
Contributor

jukent commented Jun 14, 2021

Great job @andersy005

@andersy005 andersy005 deleted the fix-bug-in-yaml-gallery-generator branch June 14, 2021 15:16
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.

3 participants