Redesign of dlang.org
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 21 09:37:11 PST 2015
On 12/21/2015 10:28 AM, Jacob Carlborg wrote:
> On 2015-12-21 15:13, Andrei Alexandrescu wrote:
>
>> Nice! A few questions.
>>
>> What are the changes to the tooling used and the build process?
>
> The original code is written in HTML, JavaScript and Less (CSS). See
> repository for build instructions [1]. If I move forward with this I
> would go with vibe.d. I would prefer Sass for the CSS and CoffeeScript
> for the JavaScript.
That's a large leap. I suggest using Ddoc instead of Sass compact CSS
files, see the existing instance at
https://github.com/D-Programming-Language/dlang.org/blob/master/css/cssmenu.css.dd.
CoffeeScript sounds like a nice thing to add and is from what I've heard
reasonably stable.
We can't make the site depend on dub at this time. There have been
situations in the past when dub wouldn't build and nobody was available
to work on it. At that time only the alternate documentation got broken,
but if the site depends on it we're looking at catastrophic failure.
>> Is there a reasonable decay if javascript is disabled?
>
> No. The top menu uses JavaScript and all the collapsible sections
> depends on JavaScript. I hope it's possible to change so the collapsible
> sections are expanded by default.
My understanding is this is a sticky point with some, so probably needs
fixing before the release.
>> Can we defer any changes to the logo so we don't get sidetracked in
>> this? Just scale the existing logo to fit and defer any changes to it to
>> later.
>
> Using the existing logo in place of the new one looks quite out of
> place. You can easily test that using the developer tools in your
> browser. Right click on the image, choose "Inspect Element", modify the
> "src" attribute of the "img" tag to point to
> "http://dlang.org/images/dlogo.svg".
>
> [1] https://github.com/aldanor/dlang.org-sketch
Just defer it and we're good.
Andrei
More information about the Digitalmars-d
mailing list