numpy.org icon indicating copy to clipboard operation
numpy.org copied to clipboard

Enable dark mode

Open jarrodmillman opened this issue 1 year ago • 13 comments

Here is a partial list of issues that need to be addressed:

  • [ ] Undo a85637404e6c80d808cd93271b8dbbe346f41761
  • [ ] Logos not rendering well in dark mode (scientific domains; sponsorships on About)
  • [ ] Tabs: last two tabs seem to have rendering problems; also check dark mode color
  • [ ] Language drop down: wrong color in dark mode (should be fixed in theme?)

jarrodmillman avatar Dec 07 '23 18:12 jarrodmillman

Here is a partial list of issues that need to be addressed:

  • [ ] Undo a856374
  • [ ] Logos not rendering well in dark mode (scientific domains; sponsorships on About)
  • [ ] Tabs: last two tabs seem to have rendering problems; also check dark mode color
  • [ ] Language drop down: wrong color in dark mode (should be fixed in theme?)

@jarrodmillman sir in order to see this issue I tried to run the code , followed all the steps to install it and started the sever , got this error Error: error building site: assemble: "/workspaces/numpy-test/content/pt/teams.md:8:1": failed to extract shortcode: template for shortcode "include-html" not found

checked there was no include-html.html file inside shortcodes folder.

How can I solve this to proceed further.

Runnnig on github Codespaces. Hugo version -hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio

brahmbeyond avatar Dec 07 '23 19:12 brahmbeyond

Addressing in https://github.com/numpy/numpy.org/pull/708

alphapapa avatar Dec 07 '23 19:12 alphapapa

Addressing in https://github.com/numpy/numpy.org/pull/708

Ok , but what might be the issue causing error in mine !?

brahmbeyond avatar Dec 07 '23 20:12 brahmbeyond

@autumn-absconds This issue is for addressing the stated bugs. What are you trying to do, and why? i.e. are you trying to deploy the numpy.org Web site yourself, or...?

alphapapa avatar Dec 07 '23 21:12 alphapapa

@jarrodmillman Do you still want to set the text color of the selected tab to match the unselected tabs, as it was before importing PDST, or do you want to keep it as PDST does it?

Screenshots

PDST style, as-is:
localhost_1313_

Text matching other tabs: localhost_1313_ (1)

alphapapa avatar Dec 07 '23 23:12 alphapapa

Fine the way PDST does it.

stefanv avatar Dec 08 '23 00:12 stefanv

@autumn-absconds This issue is for addressing the stated bugs. What are you trying to do, and why? i.e. are you trying to deploy the numpy.org Web site yourself, or...

I was trying to deploy myself to solve those bugs, read some guide earlier on how to start contributing to Open source , that's how it was to first clone and all that...

Till now I had used GitHub to store my small projects only , This is my first time trying to do something like this , is this wrong way ?

brahmbeyond avatar Dec 08 '23 02:12 brahmbeyond

@autumn-absconds You are trying to learn about 20 things at once. I would suggest that you slow down, pick a project that you already use personally, and see if there's some small issue you can work on. This project has both volunteer and professional developers working on it, and we can't offer personal tutorials for new open source developers here on this issue report. If you need more help, perhaps you could contact the author of the guide you read, or look for some IRC channel to help new developers.

alphapapa avatar Dec 08 '23 17:12 alphapapa

@autumn-absconds You are trying to learn about 20 things at once. I would suggest that you slow down, pick a project that you already use personally, and see if there's some small issue you can work on. This project has both volunteer and professional developers working on it, and we can't offer personal tutorials for new open source developers here on this issue report. If you need more help, perhaps you could contact the author of the guide you read, or look for some IRC channel to help new developers.

ok I'm sorry for that and Thank you for the advice! I really appreciate it.

brahmbeyond avatar Dec 08 '23 17:12 brahmbeyond

@autumn-absconds Thank you for your interest in contributing! A great way to tip your toes into the water is to join a mentored sprint. In fact, I think some of those are coming up! Perhaps @InessaPawson knows when the next one is?

There are a lot of moving parts to contributing, but don't despair. It can take a while to find the right place to do work. As Adam said, it helps to work on a project you need/use. Then identify a small issue to work on, which will give you a chance to learn the contributing process.

Many projects in the ecosystem (scikit-image, networkx, etc.) have contributor guides that you can look at. But, again, a mentored sprint may be the easiest place to start.

Good luck on your open source journey!

stefanv avatar Dec 08 '23 17:12 stefanv

@stefanv, thank you very much, sir, for your valuable advice and for suggesting the mentored sprint. I will certainly explore it. For now, I am addressing issues within my own projects that I had overlooked until now. I will first correct them before proceeding to the projects I use most frequently. Once again, thanks to both @alphapapa and @stefanv for your guidance.

brahmbeyond avatar Dec 08 '23 18:12 brahmbeyond

@autumn-absconds Thank you for your interest in contributing! A great way to tip your toes into the water is to join a mentored sprint. In fact, I think some of those are coming up! Perhaps @InessaPawson knows when the next one is?

@autumn-absconds I second @stefanv that joining a newcomers sprint hosted by a project that you regularly use is a great way to start contributing to open source.

In the Python community, the sprints schedule for 2024 is still shaping up. I recommend reaching out to the projects you’re interested in contributing to and asking if they are hosting any events for newcomers in the near future.

InessaPawson avatar Dec 10 '23 18:12 InessaPawson

Thank you @InessaPawson , I will surely look for and react out them.

brahmbeyond avatar Dec 12 '23 10:12 brahmbeyond