-
Notifications
You must be signed in to change notification settings - Fork 377
updating theme to pandas sphinx #816
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
Conversation
Hmmm I'm not sure why CircleCI is not showing up here, has anyone else noticed docs builds not happening on repo2docker? (also, it seemed like the error with the earlier build was on the stencila-r job, it was a hang which makes me think it's unrelated to this PR) |
I've not paid attention to the circleci build, so not sure if has been broken for a while or not :( Now it is only the code coverage check that fails (maybe something to investigate because changing the docs shouldn't change the coverage -> for a new issue though). No idea why circleci doesn't run :( |
Maybe because you are pushing to branches in this repo (which I think we shouldn't do :) ) instead of having your branch in your fork? In travis you can configure things to only run for PRs but not pushes, maybe CircleCI has a similar feature? |
re: pushing to branches, I'm a bit confused by what you mean. Isn't my branch attached to my org? (https://github.com/choldgraf/repo2docker/tree/theme) re: code coverage....yeah I'm not sure what to do about this since none of these changes are touching code (outside of the docs) or tests 🤔 |
Apologies, I didn't look properly: it looked like you pushed a branch to this repo instead of your fork. Then I am officially out of ideas as to why CircleCI doesn't get triggered. It did run for a PR a few days ago so I will close and re-open this PR to see what that does. |
ok weird, I just opened up a new PR here: #817 with a dummy commit and it does trigger circleci throws up hands I also tried opening up a new PR from my repo and it also didn't work. So:
Anybody else wanna try opening a quick PR from their branch to see if this works? |
#820 triggered a build. Have you looked at the settings of your repo2docker project for CircleCI? I am 80% sure that your personal settings/fork settings don't influence stuff here but you never know. This situation should already not be happening :-/ |
ah hah, I think I figured it out. Somehow circleci had started building my repo2docker fork on top of the jupyter/repo2docker one. And so I think what happened is that it was treating the jupyter repo2docker PRs as "redundant" and not building them. Here are the docs: https://861-90722372-gh.circle-artifacts.com/0/html/index.html Now we can get to actually critiquing this PR haha |
I think it looks good. One thing that is weird is that some of the headings are "links". For example if you go to https://861-90722372-gh.circle-artifacts.com/0/html/config_files.html#environment-yml-install-a-python-environment that heading is styled like a link. But other headings like https://861-90722372-gh.circle-artifacts.com/0/html/howto/user_interface.html#nteract aren't. Figuring out how we can get both to not be styled like a hyperlink would be cool. The other thing I checked is use http://khan.github.io/tota11y/ on the new docs. It has a few complaints about contrast. Is this something we can upstream? It even makes suggestions for other colours to use that have enough contrast so it could be an easy set of changes. |
Ah - I believe that's actually because of the re: a11y and upstreaming, we can definitely improve upon this. I've been upstreaming a bunch of stuff to https://github.com/pandas-dev/pandas-sphinx-theme already, and I think the general plan is to eventually move this out of the I also opened up an issue about a11y here: pydata/pydata-sphinx-theme#61 |
I did a git pull to z2jh recently to update my local master branch, and found this summary of relocated files etc. Concusion, git can be helpful to track this!
|
Merged! We can address the "linkified headers" in a new PR. |
updating theme to pandas sphinx
This updates the theme to the new pandas sphinx theme, it adds a few extra pages, but it does not change the URLs of any pre-existing pages.