Giter Club home page Giter Club logo

Comments (9)

foolip avatar foolip commented on July 29, 2024

@sideshowbarker

from whatwg.org.

annevk avatar annevk commented on July 29, 2024

Is the ../ some kind of nginx-style? Also, what's up with not being able to generate valid HTML in 2017 for these kind of indexes?

from whatwg.org.

sideshowbarker avatar sideshowbarker commented on July 29, 2024

Is the ../ some kind of nginx-style?

It’s the style we get from the default autoindex. But there’s an optional fancyindex we can enable that suppresses the ../ (and that makes the listings interactively sortable).

Also, what's up with not being able to generate valid HTML in 2017 for these kind of indexes?

Indeed. I guess I’ll do a PR against the nginx sources (and the fancyindex sources to, since it has the same problem) to make it generate valid HTML for indexes.

Anyway, I have fancyindex (whatwg/misc-server#14) enabled now, so you can go to, e.g., https://n.whatwg.org/ and https://images.whatwg.org/ and https://resources.whatwg.org/ to see what it looks like.

from whatwg.org.

annevk avatar annevk commented on July 29, 2024

Looks a little ugly, but not objectionably so.

from whatwg.org.

annevk avatar annevk commented on July 29, 2024

(Oh, and thanks for looking into this!)

from whatwg.org.

domenic avatar domenic commented on July 29, 2024

That's way nicer than Apache :). With some extra configuration we could even add our own CSS to make it WHATWG green instead of brown!

from whatwg.org.

sideshowbarker avatar sideshowbarker commented on July 29, 2024

With some extra configuration we could even add our own CSS to make it WHATWG green instead of brown!

Indeed. Raised whatwg/resources.whatwg.org#64 so we don’t forget

from whatwg.org.

sideshowbarker avatar sideshowbarker commented on July 29, 2024

Also, what's up with not being able to generate valid HTML in 2017 for these kind of indexes?

Indeed. I guess I’ll do a PR against the nginx sources (and the fancyindex sources to, since it has the same problem) to make it generate valid HTML for indexes.

Happy to discover that this has already been fixed for fancyindex upstream:

…released only 25 days ago, so we’ll just need to wait for the Debian package to get updated.

from whatwg.org.

annevk avatar annevk commented on July 29, 2024

This was fixed by whatwg/misc-server@3d3e364.

from whatwg.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.