Please help me with improving dlang.org

DaveG via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 18 18:50:11 PST 2015


On Monday, 19 January 2015 at 02:21:41 UTC, Andrei Alexandrescu 
wrote:
> On 1/18/15 11:15 AM, Adam D. Ruppe wrote:
>> On Sunday, 18 January 2015 at 17:56:41 UTC, aldanor wrote:
>>> And yet another thing you gain with (most) frameworks is 
>>> having access
>>> to the original SASS/LESS.
>>
>> I think that's a con, actually. My biggest problem with 
>> contributing to
>> the dlang website is that I have to do it blind - it won't 
>> make on my
>> computer.
I agree about SASS and other tools. There are so many now you 
have to learn all of them (or none, in my case). Many years ago I 
wrote primitive script to do what SASS eventually did for CSS. 
The added features were nice, but barley justified the added 
complexity and build process. As soon as I joined a team I 
abandoned it completely. They can be useful particularly for 
larger/long-term projects, but it's a steep upfront cost and is 
particularly frustrating for people who just need to make minor 
changes.

>
> This has been a continuous source of annoyance for me. Seems 
> like whenever I turn my back the site build gets broken.
>
I was worried about that, but I actually had no problem. I'm on 
Windows. I cloned your better-menus, had dub build dpl-docs.exe, 
and ran the win32 makefile.

Here's where I'm at. The menus don't use javascript (except when 
the screen gets so small it needs a button to open the 
navigation, the button uses js). It scales with screen size and 
should work on mobile (untested) - I changed doctype to html5 and 
added metatags for mobile.

https://dl.dropboxusercontent.com/u/114394/D-site/redesign/index.html


More information about the Digitalmars-d mailing list