stb(1)

πŸ“¦
version 0.3.2 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ stb(1) β€” okay bestie, let's build a Sphinx theme πŸ’…

So like. This is the manual for stb, from the General Use Manual section of the docs. Welcome, you're gonna love it here 🫢


πŸ’– NAME πŸ’–

stb β€” a tool for authoring Sphinx themes with a simple (opinionated) workflow. And yes, "opinionated" is doing heavy lifting there, but trust, it's a good opinion.


🌸 SYNOPSIS 🌸

stb [OPTIONS] COMMAND [ARGS]...

That's it. That's the whole incantation. options, then a command, then whatever args that command wants. Periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

stb is the command-line bestie for sphinx-theme-builder β€” a tool for authoring Sphinx themes with a simple (opinionated) workflow. Basically it exists so that making Sphinx themes is actually... fun?? Instead of a whole thing. It's litchrally designed to make writing Sphinx themes easier, and it ate, no cap.

Here's what you get, in bullet form because we're organized in this house:

  • simplified packaging experience πŸ’…
  • simplified JavaScript tooling setup ✨
  • development server, with rebuild-on-save and automagical browser reloading πŸ”₯ (yeah. automagical. not a typo. that's the vibe.)
  • consistent repository structure across themes πŸŽ€

It's giving "I have a system and the system is cute". Lowkey iconic, highkey useful.


πŸ‘‘ OPTIONS πŸ‘‘

  • --help β€” shows this message and then dips. The classic. 🫢

🌈 COMMANDS 🌈

  • compile β€” compile the current project's assets. So, like, do the thing with what you've already got. Let's gooo.
  • new β€” create a new project. Fresh start, blank canvas, main character energy. πŸ¦‹
  • npm β€” interact with the npm that's available in the environment. It's the npm, from the environment, not some random npm off the street. iykyk.
  • package β€” generate Python distribution files. Time to ship it. πŸ“¦βœ¨
  • serve β€” serve the provided documentation, with livereload on changes. Change a file, watch the browser go brrr. This one is the bestie command, fr fr. πŸ’–

πŸ’œ AUTHORS πŸ’œ

Written by Pradyun Gedam</> <mail@pradyunsg.me> β€” a real one, we stan. πŸŽ€

This manual page was written by Bo YU</> <tsu.yubo@gmail.com> for the Debian project (but may be used by others). Sharing is caring, bestie, no gatekeeping here. 🫢


okay so that's the whole page!! no skipping, no secrets, we went through every single bit of it. go forth and make themes, you absolute legend. 🌟

And for the cute sign-off: this is all about version stb-0.2.0b2, dated 01 April 2024. Yes, April Fools' Day, and no, the manpage is not a joke. πŸ“ Slay, bye!! πŸ’œ

πŸ“¦ where this page comes from