english icon indicating copy to clipboard operation
english copied to clipboard

show download instructions based on OS

Open wilzbach opened this issue 9 years ago • 8 comments
trafficstars

From @wilzbach on June 11, 2016 3:39

  • will help to clean-up the huge mess on page 2
  • for false-positives we can have a small button "show all"

Also using nice icons (eye candy), might increase the user flux.

Copied from original issue: stonemaster/dlang-tour#246

wilzbach avatar Aug 21 '16 17:08 wilzbach

From @stonemaster on June 16, 2016 15:56

I'd rather favor a clean download page which makes clear what to do for each platform. Otherwise we end up having logic in the content..

wilzbach avatar Aug 21 '16 17:08 wilzbach

Well it could be done via Javascript that operates on div ids, but I agree that this feature is controversial.

wilzbach avatar Aug 21 '16 17:08 wilzbach

FYI: there has been a recent PR at dlang.org that adds this OS detection to the frontpage

https://github.com/dlang/dlang.org/pull/1437

Maybe we could use our new macro tags to separate the logic from the content?

wilzbach avatar Aug 21 '16 17:08 wilzbach

From @ZombineDev on August 15, 2016 8:28

Yes, but as far I understand, the detection still has to be done via JS? Though, I'm not familiar with macro tags. Where can I read more, see examples, etc. ?

wilzbach avatar Aug 21 '16 17:08 wilzbach

It had been developed very recently, but this

https://github.com/stonemaster/dlang-tour/blob/master/CONTRIBUTING.md#custom-mustache-macros

Is probably the best place

wilzbach avatar Aug 21 '16 17:08 wilzbach

From @stonemaster on August 15, 2016 8:30

Have a look at https://github.com/stonemaster/dlang-tour/blob/master/CONTRIBUTING.md and the Custom Mustache macro section

wilzbach avatar Aug 21 '16 17:08 wilzbach

From @ZombineDev on August 15, 2016 11:27

Thanks for the pointers.

wilzbach avatar Aug 21 '16 17:08 wilzbach

From @MartinNowak on August 19, 2016 16:40

Also please see our point from the First 5 minutes session.

First steps shouldn't be about compiling b/c you can just run the examples in the browser. Installation should be handled by dlang.org, maybe just append a transition from the tour to using D on your own machine.

From our perspective it would make more sense to just have a small hint (link to download page) on how to install a D compiler. But of course dlang's download page leaves open many questions that you're trying to address in Install D locally. What we need for dlang is a good landing page after downloading something. We still have the old platform pages, e.g. DMD Compiler for Linux, but they're a mess.

wilzbach avatar Aug 21 '16 17:08 wilzbach