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

Fix re-build #24

Merged
merged 3 commits into from
Sep 1, 2020
Merged

Fix re-build #24

merged 3 commits into from
Sep 1, 2020

Conversation

chrisjsewell
Copy link
Contributor

No description provided.

@TheTripleV
Copy link
Member

I wonder why the tests cases didn't catch this. Could you add a html/dirhtml test case that fails without this pr and passes with it?

@chrisjsewell
Copy link
Contributor Author

I wonder why the tests cases didn't catch this. Could you add a html/dirhtml test case that fails without this pr and passes with it?

done 👍, you need to create a new app for the re-build

app.env.redirected
except AttributeError:
app.env.redirected = {}
redirect_json_file = Path(app.outdir) / "redirect.json"
Copy link
Member

Choose a reason for hiding this comment

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

Overall, looks good to me.

The one thing that sticks out is "redirect.json". Would something like "rediraffe_record.json"or "rediraffe_cache.json" be a better name? @Daltz333 what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I've now changed the name

@Daltz333 Daltz333 merged commit 012d76a into wpilibsuite:master Sep 1, 2020
TheTripleV pushed a commit to TheTripleV/sphinxext-rediraffe-1 that referenced this pull request Sep 30, 2020
* Fix re-build

* Update test_ext.py

* rename JSON
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