-
Notifications
You must be signed in to change notification settings - Fork 63
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
Links main repo in docs html #59
Conversation
Thanks! It looks like this: (downloaded from https://github.com/qutip/qutip-qip/actions/runs/943221525) A minor detail: The octocat on https://tholman.com/github-corners/ actually waves to you when the mouse is on it :) Somehow this one doesn't. But of course, we don't need to have that. Just something funny. |
I managed to get the waving arm with this ;)
|
@BoxiLi Yes, I discarded those because I was not sure if the waving arm was needed. I'll make the changes. |
doc/source/_templates/layout.html
Outdated
<!-- https://stackoverflow.com/a/53329712/10241324 --> | ||
{% extends '!layout.html' %} | ||
{% block document %} | ||
{{super()}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we put spaces inside the curly braces? This seems to be a common styling preference for templating and helps make the template more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hodgestar For lines 3-5, how do you want the spaces inserted ? I used an automated html formatter and it didn't add any for these lines.
Never mind. It actually did.
Co-authored-by: Simon Cross <hodgestar+github@gmail.com>
Co-authored-by: Simon Cross <hodgestar+github@gmail.com>
Add a link to the qutip-qip GitHub repo to the docs.
Fixes #57
Adds a link to the main repo on each page of the documentation.
![image](https://user-images.githubusercontent.com/66048318/122238578-dbe32200-ce85-11eb-828f-9e5e515e2b27.png)
I think the two colors don't match exactly. I did use the same color
#6d6d6d
for the octocat figure but thefork_me
ribbon appears a bit darker.