-
Notifications
You must be signed in to change notification settings - Fork 7
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
Nr/enhancement switch to furo theme #67
base: master
Are you sure you want to change the base?
Conversation
@RignonNoel i'd like to review before merging is is possible to see the built pages online or do i have to built it locally? i've observed that local build is slightly different than the online rendered pages |
It's a great question! It would be easy to deploy somewhere but I don't know if we have any ressources in the lab to do that since opening port is always complex with university security. If you are ok, since it's an open source project I can deploy it on my own on one of my server, just the time to test. Does it feel right for you ? @jcohenadad. It would take only some minutes to do so. |
let’s not overdo it i’ll build locally |
No problem, if change you change your mind do no hesitate, it only take some minutes for me to deploy on one of my servers. In the meantine I wait for an approval |
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.
apart from 1 minute ago i like this new theme 😊 thank you for the implementation @RignonNoel
@jcohenadad I think you mixed up the things a bit 😉 We are speaking about the intranet and not about neuropoly website. |
oh gosh! sorry about that-- looking now |
what's the cleanest way to install/test?
should we have a theme.conf as suggested? |
ok i did this:
if that's the right thing to do can someone pls update https://github.com/neuropoly/intranet.neuro.polymtl.ca/wiki |
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.
looks good! a few things that i preferred before, but it is minor and hopefully there are more pros than cons in moving to furo. Examples of cons:
- hiding the left TOC not there anymore
- the "previous/next" are at the very bottom-- less convenient
- i'm not a fan of the blue fonts in the left TOC. i know it could be changed though...
It's wrote at the top of the
I will try to see if I can adapt it a bit before merging. Will keep you update here if I found something or not |
that could still be fixed, right? |
Yes, we just need to move all the content inside a folder and modify a bit the github actions that build and deploy the docs. But it's a really commons case. If you want I can do that in a next PR to make the project more easy to rampup. |
Thanks for doing this @RignonNoel! The new theme will be way less buggy going forward.
But please take a moment and think about if this is a good idea. The current setup means that https://github.com/neuropoly/intranet.neuro.polymtl.ca/ doubles as a copy of the wiki. If you put it in a subfolder people will have to know to navigate to https://github.com/neuropoly/intranet.neuro.polymtl.ca/tree/master/docs which I think is a really bad experience. What if we just put a comment (a literal HTML comment) into README.md that said
Also if that's not obvious enough, people can work it out by reading I think the knowledge about how to build locally is obvious enough for the small group of people who might be doing that, a much smaller group than those who might click through from https://github.com/neuropoly to https://github.com/neuropoly/intranet.neuro.polymtl.ca/ and be curious about reading our docs. |
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.
few issues-- see my comments
From what @kousu explained, Furo is more easy to work with, due to code quality of the theme. Also it will allow us to have only one theme for the different internal project and so we will develop more skills around it (for example I already found different improvement we could do on SCT to get 100% width for content and fix colors problems) @jcohenadad Here are some improvements I did:
I can take time to check the tables if you want, but I will wait your both opinions @jcohenadad and @kousu before putting more time on it. Here is a screenshot for example |
There are some new package to install to support tab, I think you just forgot to do the install command @jcohenadad:
|
I changed the theme to
furo
theme.Since I was testing the result I also fixed multiple errors:
Only 7 errors persists, if you have idea to solve it I'm fully open to it.
N.B:
document isn't included in any toctree
errors are already solved in PR #55reference target not found
For these one, I just didn't found how to fix the route. So we can discuss it together to find a new route or maybe just remove them since they don't work actually:
Disallowed nested header found, converting to rubric [myst.nested_header]
Even after some research I don't know how to fix these errors since it come from an "optional path" somebody tried to design to make the page easy to read.
fix #22
fix #58