Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Is Jev the general-purpose classifier we've been waiting for?(twitter.com/kris_cvetko ↗)
    1comments
  2. Dragonfly 2.0: more performance for Redis and Memcached replacement(phoronix.com ↗)
    discuss
  3. AI and the Destruction of the Creative Commons(chesterwisniewski.com ↗)
    discuss
  4. Show HN: WTF > Auto-check what your coding agent changed(github.com/linusinnovator ↗)
    discuss
  5. Joe Shipman proves marked ruler and compass solves the general quintic
    discuss
  6. PDF Forgeries Are Surprisingly Rare (2022)(gwern.net ↗)
    discuss
  7. Hyperbolic Navigation(wikipedia.org ↗)
    discuss
  8. Away Goals Rule(wikipedia.org ↗)
    discuss
  9. Enterprise Cyber Risk Management(andersenlab.com ↗)
    discuss
  10. Be Careful with Your Select * Queries(notesonsystems.com ↗)
    1comments
  11. TeaonherChecker(teaonher.org ↗)
    discuss
  12. Leaping Sun Dogs (2016) [video](youtube.com ↗)
    discuss
  13. Jev is the fastest-adopted model in AI Gateway history(vercel.com ↗)
    1comments
  14. A font that reads what you wrote(rohanadwankar.github.io ↗)
    1comments
  15. A deep dive into Jev, TypeSafe's System One model(flaviocopes.com ↗)
    discuss
  16. CoyoPedal – Full-Size Neural Amp Modeler Captures on an ESP32-S3(github.com/dashersw ↗)
    discuss
  17. I'm so bad at billiards that I ended up in the hyperbolic plane [video](youtube.com ↗)
    discuss
  18. MIT Just Proved LLMs Will Stop Getting Smarter, and Money Won't Fix It [video](youtube.com ↗)
    discuss
  19. Show HN: Delightful Cells – reliable AI batch processing for spreadsheets(delightfulcells.com ↗)
    1comments
  20. Clawptcha: Reverse Captcha(clawptcha.com ↗)
    discuss
  21. Neutron Radiation, Emission and Scattering (Neutron Chemistry)(ossila.com ↗)
    discuss
  22. Drop-in Django app to serve a decent LLM-ready documentation site(chesselink.com ↗)
    1comments
  23. I built an extension that hides your personal information from AI(github.com/arikchakma ↗)
    discuss
  24. Show HN: I-server: Hide server using ICMP reflection/Destination Unreachable(github.com/hajoon22 ↗)
    discuss
  25. Benchmarking Wild vs. Mold(davidlattimore.github.io ↗)
    discuss
  26. Microsoft agentically ports Copilot runtime to Rust for $120K(theregister.com ↗)
    discuss
  27. Why China is pushing back on US warnings over rapid AI development(theguardian.com ↗)
    discuss
  28. Boston to Calcutta Ice Trade Began with One Shipment(curiowire.com ↗)
    discuss
  29. Show HN: Book recommendations with live library availability(nanosheep.net ↗)
    3comments
  30. Show HN: I built Hacker News alternative and scale to 11,000 users(founderstoday.org ↗)
    discuss

Drop-in Django app to serve a decent LLM-ready documentation site

3 pointsby 53m agomdjango.chesselink.com
1 comments
53m agoHN ↗

Hi all,

I'm working on a bigger Python project that I'll release soon, and as part of it I found myself needing a documentation site. Most doc sites are served statically, but every time I fall for the siren song of a static site I end up regretting it the moment I want some dynamic behaviour. So I figured I'd use my go-to, Django, and serve a proper docs site with that. As we say in Dutch: "Zo gezegd, zo gedaan"; roughly, "no sooner said than done".

So I took a small side quest from the larger project and built a decent docs engine for Django, called mdjango. Some notable features:

- Markdown based. Point it at a directory of .md files and mdjango handles the rest.

- Sensible default design. There are a few knobs for fonts, base colors and the like, but customization is deliberately limited. mdjango shouldn't have you tweaking endlessly. Set it up, adjust just enough to fit your style, and get on with your work.

- MiniSearch.js out of the box. Fast, client-side, typo-tolerant fuzzy search across your docs.

- LLM ready. llms.txt and llms-full.txt are generated automatically, so agents can consume your docs without any extra work.

The mdjango docs are themselves built with mdjango, so they double as a demo.

Hope you find my little side quest useful. Try it out and let me know what you think. It's v0.1.0 so expect some rough edges.

AI disclosure: mdjango was developed AI-assisted, supervised by me as a professional software engineer.