Skip to content

FIX remove duplicated citation back-references - #180

Merged
rgommers merged 2 commits into
numpy:masterfrom
jnothman:fix169
Apr 2, 2019
Merged

rgommers merged 2 commits into
numpy:masterfrom
jnothman:fix169

Conversation

@jnothman

@jnothman jnothman commented Jun 6, 2018

Copy link
Copy Markdown
Member

As noted in #169, this is due to a sphinx bug that allows references in only::latex directives to result in backreferences even when the builder is not latex. In this PR we remove backreferences whose referencing IDs do not exist.

Fixes #169

@larsoner larsoner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have rebuilt the scipy docs with this change and can confirm it works, thanks @jnothman !

Other than one nitpick, LGTM +1 for merge

Comment thread numpydoc/numpydoc.py Resolved
Comment thread numpydoc/numpydoc.py Resolved
@jnothman

jnothman commented Apr 2, 2019

Copy link
Copy Markdown
Member Author

I'm happy to merge this with @larsoner's approval and road testing if that's okay by you @rgommers.

@rgommers

rgommers commented Apr 2, 2019

Copy link
Copy Markdown
Member

@jnothman please do!

@larsoner you've done quite a bit of work on numpydoc and the SciPy Sphinx docs. Would you like commit rights for numpydoc?

@larsoner

larsoner commented Apr 2, 2019

Copy link
Copy Markdown
Collaborator

Sure, happy to help with review + merge in this repo as well

@rgommers

rgommers commented Apr 2, 2019

Copy link
Copy Markdown
Member

great, I added you

@rgommers
rgommers merged commit 40b3733 into numpy:master Apr 2, 2019
@rgommers

rgommers commented Apr 2, 2019

Copy link
Copy Markdown
Member

okay just pressed the green button. thanks @jnothman and @larsoner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants