Latest / Talk Python To Me / #549: Great Docs
Transcript
- 0:00Michael Kennedy: Your documentation has two audiences now,
- 0:02Michael Kennedy: humans reading the rendered HTML and AI agents making
- 0:05Michael Kennedy: sense of your library.
- 0:06Michael Kennedy: Rich, I known,
- 0:07Michael Kennedy: and Michael Chow from Posit are back on Talk Python with a
- 0:10Michael Kennedy: brand new Python documentation tool called GreatDocs that takes both seriously.
- 0:15Michael Kennedy: Rich is the creator of
- 0:16Michael Kennedy: Great Tables and before that,
- 0:18Michael Kennedy: the R package GT.
- 0:19Michael Kennedy: The man has a serious eye for design and he's pointed
- 0:22Michael Kennedy: that energy at the Python Docs ecosystem.
- 0:24Michael Kennedy: We'll talk about how GreatDocs spins up a polished site
- 0:27Michael Kennedy: and three commands,
- 0:28Michael Kennedy: why every page ships as markdown for your favorite LLM,
- 0:32Michael Kennedy: how it leans
- 0:33Michael Kennedy: on Quarto for executable code blocks and tabbed install sections,
- 0:36Michael Kennedy: and where it lands against
- 0:37Michael Kennedy: Sphinx,
- 0:38Michael Kennedy: MkDocs,
- 0:39Michael Kennedy: and Zensical.
- 0:39Michael Kennedy: Plus,
- 0:40Michael Kennedy: you'll meet Tablin. Here we go. This is Talk Python To Me,
- 0:42Michael Kennedy: episode 549,
- 0:44Michael Kennedy: recorded May 19th,
- 0:45Michael Kennedy: 2026.
- 1:05Michael Kennedy: Welcome to Talk Python To Me, the number one Python podcast for developers and data scientists.
- 1:10Michael Kennedy: This is your host,
- 1:10Michael Kennedy: Michael Kennedy.
- 1:11Michael Kennedy: I'm a PSF fellow who's been coding for over 25 years.
- 1:15Michael Kennedy: Let's connect on social media.
- 1:17Michael Kennedy: You'll find me and Talk Python on Mastodon, Bluesky,
- 1:20Michael Kennedy: and X.
- 1:20Michael Kennedy: The social links are all in your show notes.
- 1:23Michael Kennedy: You can find over 10 years of past episodes at talkpython.fm.
- 1:27Michael Kennedy: And if you want to be part of the show, you can join our recording live streams.
- 1:30Michael Kennedy: That's right.
- 1:31Michael Kennedy: We live stream the raw uncut version of each episode on YouTube.
- 1:35Michael Kennedy: Just visit talkpython.fm/youtube to see the schedule of upcoming events.
- 1:39Michael Kennedy: Be sure to subscribe there and press the bell so you'll get notified anytime we're recording.
- 1:44Michael Kennedy: Hey friends, before we dive in, I want to share something I just launched over at Talk Python,
- 1:48Michael Kennedy: a new course.
- 1:49Michael Kennedy: If you ship Python to production,
- 1:51Michael Kennedy: you've probably had that quiet thought about
- 1:54Michael Kennedy: what might be lurking in your code.
- 1:55Michael Kennedy: My new course turns that worry into a concrete workflow
- 1:59Michael Kennedy: and a reusable AI security agent that's yours forever.
- 2:02Michael Kennedy: It's Python Web Security,
- 2:04Michael Kennedy: the OWASP top 10 with agentic AI.
- 2:07Michael Kennedy: Check it out at talkpython.fm/AI dash web dash security.
- 2:11Michael Kennedy: The link is in your podcast player and on the episode page,
- 2:14Michael Kennedy: or just go to talkpython.fm
- 2:16Michael Kennedy: and click on courses at the top.
- 2:17Michael Kennedy: It should be right there.
- 2:19Michael Kennedy: So if you're interested in making sure the apps and APIs that you ship are secure,
- 2:23Michael Kennedy: this
- 2:24Michael Kennedy: is the course for you.
- 2:25Michael Kennedy: This episode is brought to you by Sentry.
- 2:27Michael Kennedy: You know Sentry for the error monitoring,
- 2:29Michael Kennedy: but they now have logs too.
- 2:31Michael Kennedy: And with Sentry,
- 2:32Michael Kennedy: your logs become way more usable,
- 2:34Michael Kennedy: interleaving into your error reports
- 2:36Michael Kennedy: to enhance debugging and understanding.
- 2:38Michael Kennedy: Get started today at talkpython.fm/sentry.
- 2:42Michael Kennedy: And it's brought to you by Temporal,
- 2:44Michael Kennedy: durable workflows for Python.
- 2:46Michael Kennedy: Write your workflows as normal Python code and Temporal ensures they run reliably,
- 2:51Michael Kennedy: even across crashes and restarts.
- 2:53Michael Kennedy: Get started at talkpython.fm/Temporal.
- 2:57Michael Kennedy: Rich, Michael,
- 2:58Michael Kennedy: welcome back to Talk Python To Me.
- 3:00Michael Kennedy: Awesome to have you both back on the show.
- 3:02Michael Kennedy: Yeah, thanks for having us.
- 3:03Michael Kennedy: We're going to talk about great things.
- 3:05Michael Kennedy: I know it's going to be a great show.
- 3:06Michael Kennedy: It's undoubtable,
- 3:07Michael Kennedy: right?
- 3:08Michael Chow: I have no doubt.
- 3:09Michael Chow: It's a great day,
- 3:10Michael Chow: you know,
- 3:10Michael Chow: and we're ready for,
- 3:11Michael Chow: I think what's going to be a
- 3:12Michael Chow: great chat.
- 3:13Michael Kennedy: Yeah.
- 3:14Michael Kennedy: About great docs,
- 3:16Michael Kennedy: great tables,
- 3:17Michael Kennedy: all of those things.
- 3:18Michael Kennedy: All the great things.
- 3:19Michael Kennedy: Yeah.
- 3:20Michael Kennedy: So I had you on to talk about great tables,
- 3:22Michael Kennedy: which was really fun.
- 3:23Michael Kennedy: You all both from Posit.
- 3:25Michael Kennedy: And
- 3:26Michael Kennedy: other than that, maybe let's do a quick introduction for folks.
- 3:29Michael Kennedy: I mean, I don't know why anybody would
- 3:31Michael Kennedy: not have listened to the great tables episode,
- 3:33Michael Kennedy: but in case they haven't. No, we honestly,
- 3:35Michael Kennedy: we get a bunch of new listeners all the time.
- 3:37Michael Kennedy: So yeah, let's do a quick round of introductions.
- 3:40Michael Kennedy: Who are you?
- 3:40Michael Kennedy: What do you do? Why are you working on this project?
- 3:43Michael Kennedy: Rich,
- 3:43Michael Kennedy: start with you.
- 3:44Rich lannone: Yeah.
- 3:44Rich lannone: Yeah.
- 3:45Rich lannone: I'm Rich.
- 3:45Rich lannone: I work at Posit,
- 3:47Rich lannone: PBC.
- 3:48Rich lannone: I've been doing traditionally lots of R stuff,
- 3:50Rich lannone: like in the past,
- 3:51Rich lannone: but more lately,
- 3:51Rich lannone: this is like the last three or four years,
- 3:53Rich lannone: a lot more Python
- 3:55Rich lannone: stuff.
- 3:55Rich lannone: And actually Michael,
- 3:57Rich lannone: who's with me today,
- 3:58Rich lannone: he taught me a lot about Python.
- 3:59Rich lannone: Like I was
- 4:00Rich lannone: pretty bad starting.
- 4:01Rich lannone: I mean, I used in the past, but I was open source stuff. I was,
- 4:04Rich lannone: oh that was bad michael has so much patience though so uh he'll make up speed over a period
- 4:09Rich lannone: of a year or so um so i owe a lot to him and yeah that's he's a great guy that's really cool i i
- 4:16Michael Kennedy: agree with that i think it's it's hard to change a language it's hard to switch to another language
- 4:21Michael Kennedy: and maybe you could speak to that real quick before michael jumps in and just i've done that a couple
- 4:26Michael Kennedy: times you know you spend so much time and energy and effort and getting really good at a not just
- 4:32Michael Kennedy: the language,
- 4:32Michael Kennedy: the tools, the ecosystem,
- 4:33Michael Kennedy: everything.
- 4:34Michael Kennedy: And then you're like, I'm one O, I think I have to go over there for a while.
- 4:37Rich lannone: Yeah.
- 4:38Rich lannone: It feels like a bizarro situation.
- 4:39Rich lannone: Like I know what I could be doing,
- 4:41Rich lannone: what should be doing,
- 4:41Rich lannone: like theoretically,
- 4:43Rich lannone: but things just
- 4:43Rich lannone: don't jive sometimes.
- 4:44Rich lannone: It's like, oh,
- 4:45Rich lannone: yeah.
- 4:45Rich lannone: But then you, then you get used to it and then your previous language degrades.
- 4:49Rich lannone: It's kind of like that sort of thing.
- 4:51Michael Kennedy: It's a little bit, a little bit sad in that regard, but you know, for me,
- 4:54Michael Kennedy: the real challenge
- 4:55Michael Kennedy: was I'm,
- 4:56Michael Kennedy: I have such a deep knowledge and mastery of this technology.
- 5:00Michael Kennedy: And if I switch,
- 5:01Michael Kennedy: at least the first time or two I did, I felt like I'm going to go back to the newbiest of noobs and it's going to feel really bad.
- 5:08Michael Kennedy: And I was so hard for this knowledge and this experience.
- 5:13Michael Kennedy: Why am I going to do this?
- 5:15Michael Kennedy: Maybe I should never do that.
- 5:16Michael Kennedy: It was really, it was a big deal for me.
- 5:18Michael Kennedy: Maybe you could just,
- 5:19Michael Kennedy: I want to say that for other people out there who are not necessarily going R to Python, but just one tech to another.
- 5:24Rich lannone: Yeah, it's humbling,
- 5:25Rich lannone: like I said.
- 5:26Rich lannone: And well,
- 5:27Rich lannone: you know,
- 5:27Rich lannone: with a good venture and lots of patience,
- 5:30Rich lannone: it can happen.
- 5:31Michael Kennedy: Yeah, it's good to expand your skills,
- 5:32Michael Kennedy: but the initial decision is rough.
- 5:34Michael Kennedy: Michael,
- 5:35Michael Kennedy: you've been shepherding Rich along the way.
- 5:38Michael Kennedy: I love it.
- 5:38Michael Kennedy: Tell us about yourself.
- 5:39Michael Chow: I wouldn't even say shepherding, or maybe there's like some mutual shepherding going on.
- 5:44Michael Chow: So I'm Michael Chow.
- 5:45Michael Chow: I'm a software engineer at Posit and have been for about four years on the open source team.
- 5:51Michael Chow: Yeah.
- 5:51Michael Chow: And I,
- 5:52Michael Chow: so I've worked with Rich on things like great tables.
- 5:54Michael Chow: And I think that,
- 5:55Michael Chow: yeah, I'm really interested in Python.
- 5:57Michael Chow: I work on Python full time.
- 5:59Michael Chow: I think if I had to send back what Rich is really good at,
- 6:03Michael Chow: Rich just has this crazy,
- 6:05Michael Chow: freaky sense of style.
- 6:07Michael Chow: And I think that's one thing that's drawn me to work with him on things is you just never know.
- 6:12Michael Chow: Like, to be totally honest,
- 6:13Michael Chow: people at Posit just never know what Rich is going to pull out.
- 6:16Michael Chow: And I don't think any of us could have imagined it.
- 6:18Michael Chow: He's a loose,
- 6:19Michael Chow: he's our wild card.
- 6:21Michael Chow: And it's been interesting because you can imagine like a programming language.
- 6:24Michael Chow: Yeah, you could be like, oh, this person taught me this programming language.
- 6:27Michael Chow: I don't really know how you teach Rich's style,
- 6:29Michael Chow: but I feel like I'm kind of along for the ride. I'm like eating popcorn,
- 6:32Michael Chow: helping out. And I think tools like Great Docs really reflect that, this interesting sense of style.
- 6:37Michael Chow: Great tables.
- 6:38Michael Chow: He's just dipped into this rich history of table styling.
- 6:42Michael Chow: How would you style it to present and maybe publish it?
- 6:46Michael Chow: And so I've been excited to be along for the ride to just watch him cook and bring this unique sense of kind of like style and design into tools.
- 6:55Michael Chow: Yeah,
- 6:56Michael Kennedy: that's really cool.
- 6:57Michael Kennedy: You know,
- 6:57Michael Kennedy: certain people just have a knack for APIs and the way that develop,
- 7:02Michael Kennedy: you know, the developer UX sort of thing.
- 7:04Michael Kennedy: That's cool.
- 7:05Michael Kennedy: I personally am excited for the mascot.
- 7:08Michael Kennedy: Yeah,
- 7:08Michael Kennedy: Rich,
- 7:09Michael Chow: I blew your cover.
- 7:12Michael Chow: we were yeah so michael and i were talking a little bit at pycon uh about uh tablin how you're
- 7:18Michael Chow: tablin yes he hasn't been trying out a mascot wizard yeah who is tablin though i wonder he's
- 7:24Rich lannone: just a little table guy a little table dude that appears gives you help and then disappears just
- 7:29Michael Chow: as fast um right he hasn't fully realized he's he's he's always thinking of you he's never thinking
- 7:34Michael Chow: of himself you know he's he's showing up helping you out he's like the new uh the bee or bob but
- 7:40Rich lannone: much cooler because he's a table and can display things this absolutely yeah and i do think this
- 7:45Michael Chow: speaks to our dynamic where tablin just appeared one day like well while we were preparing a pi
- 7:50Michael Chow: con talk two years ago tablin just appeared in the slides and i didn't know who tablin was and i was
- 7:56Michael Chow: like who or what is this it was like a slide of a table and tablin was popped out on the side was
- 8:01Michael Chow: saying good job and i was like who's this spreadsheet with eyes and a mouth cheering
- 8:05Michael Chow: people on and rich was like it's tablin of course yeah it's helpful to have a little dude that just
- 8:10Rich lannone: wants to help you know it's like having a pet like a cat i love it it's really good so michael
- 8:18Michael Kennedy: we had the great opportunity to meet up at pycon just last week i know i don't know how you feel
- 8:23Michael Kennedy: about it personally i'm still just a little bit recovering from the whole energy that was extracted
- 8:29Michael Kennedy: from me you know but it was really fun and maybe just give us your thoughts on pycon and how'd that
- 8:33Michael Kennedy: go.
- 8:34Michael Chow: Yeah.
- 8:34Michael Chow: Yeah. It's a great question.
- 8:36Michael Chow: I,
- 8:36Michael Chow: um,
- 8:37Michael Chow: it's so interesting because we work on tools for
- 8:40Michael Chow: data analysis,
- 8:41Michael Chow: but PyCon is much more general. It's almost like all things Python.
- 8:45Michael Chow: I think it's
- 8:45Michael Chow: a really interesting conference versus like a PyData or a SciPy, which are way oriented towards
- 8:51Michael Chow: like data tools specifically.
- 8:53Michael Chow: Um,
- 8:54Michael Chow: but I love it. I find it really nice to be able to drop in and
- 8:57Michael Chow: talk to just the full range of Python people who maybe have never used or done a lot of data
- 9:04Michael Chow: So I find it really interesting to talk to folks who maybe almost universally, I think
- 9:08Michael Chow: everybody has touched pandas, the library for data frames.
- 9:12Michael Chow: And so that's the like funny kind of like point you can always talk to anyone about at
- 9:17Michael Chow: PyCon,
- 9:17Michael Chow: but I find it really nice.
- 9:19Michael Chow: And I find the like PyCon organizers and the sort of Python software foundation,
- 9:25Michael Chow: it's just
- 9:25Michael Chow: so down to earth that,
- 9:27Michael Chow: yeah, I really love dropping in.
- 9:29Michael Chow: It doesn't feel super corporate.
- 9:31Michael Chow: It feels like they're really like a group of passionate volunteers putting this like pretty big conference on.
- 9:37Michael Chow: So,
- 9:37Michael Chow: yeah,
- 9:37Michael Chow: I always love dropping in,
- 9:39Michael Chow: even if it's like a kind of broader audience than the like data crew.
- 9:44Michael Chow: I'm curious your experience.
- 9:45Michael Chow: Have you gone to a lot of PyCons?
- 9:47Michael Kennedy: I think my first one,
- 9:48Michael Kennedy: when was my first?
- 9:50Michael Kennedy: Mid-teens,
- 9:52Michael Kennedy: I would say 2015,
- 9:53Michael Kennedy: 2016,
- 9:54Michael Kennedy: something like that.
- 9:55Michael Kennedy: Yeah,
- 9:55Michael Kennedy: nice.
- 9:56Michael Kennedy: I'd probably have gone to maybe two thirds since then.
- 9:59Michael Kennedy: Most.
- 9:59Michael Kennedy: I mean, we did have COVID in the middle.
- 10:01Michael Kennedy: That was challenging.
- 10:02Michael Kennedy: But yeah,
- 10:03Michael Kennedy: I've been to a fair number and I really enjoy it.
- 10:05Michael Kennedy: And for me, it's just nice to get together,
- 10:09Michael Kennedy: meet folks like you and everyone else and
- 10:10Michael Kennedy: just kind of remember,
- 10:12Michael Kennedy: hey, this is a community of humans and not just docs.
- 10:15Michael Kennedy: Never mind.
- 10:15Michael Kennedy: I mean,
- 10:16Michael Kennedy: docs are great.
- 10:16Michael Kennedy: We're going to talk about how great docs can be.
- 10:18Michael Kennedy: But it's also nice to just have these human connections and just connect with people outside
- 10:23Michael Kennedy: of with,
- 10:24Michael Kennedy: but also outside of technology,
- 10:26Michael Kennedy: right?
- 10:26Michael Kennedy: Like,
- 10:27Michael Kennedy: let's just go sit in the sun for a while and talk.
- 10:29Michael Kennedy: Like, have you seen The Sun lately?
- 10:30Michael Kennedy: No, I haven't seen it either.
- 10:31Michael Kennedy: Let's go sit there.
- 10:32Michael Chow: All day.
- 10:33Michael Chow: Yeah.
- 10:33Michael Chow: Yeah, for real.
- 10:34Michael Chow: I feel like it is.
- 10:35Michael Chow: Just putting the face behind the name or actually like touching down to chat does seem like
- 10:40Michael Chow: a huge thing that you only do like say once or twice a year.
- 10:44Michael Chow: Yeah.
- 10:44Michael Kennedy: With those folks.
- 10:45Michael Kennedy: Yeah.
- 10:45Michael Kennedy: At least for me, I can come back and revitalize to do more.
- 10:48Michael Kennedy: So that's really, really sweet.
- 10:50Michael Kennedy: Let's start our journey here.
- 10:54Michael Kennedy: Talking about, just do a quick review of Great Tables.
- 10:58Michael Kennedy: Because I know Great Tables was one of the inspirations for Great Docs.
- 11:00Michael Kennedy: So we all both got together,
- 11:03Michael Kennedy: all three of us got together last year,
- 11:05Michael Kennedy: I guess,
- 11:05Michael Kennedy: to talk about Great Tables.
- 11:07Michael Kennedy: So who wants to just do a quick reminder of this one?
- 11:11Rich lannone: I'll go.
- 11:13Rich lannone: So basically,
- 11:13Rich lannone: yeah, Great Tables,
- 11:15Rich lannone: it's a,
- 11:15Rich lannone: maybe not many people know this,
- 11:17Rich lannone: it's a port of an R package called GT.
- 11:20Rich lannone: Not that important, but the idea is good as it was then.
- 11:24Rich lannone: You want display tables,
- 11:25Rich lannone: what I call them.
- 11:26Rich lannone: essentially summary tables like static tables and you want to present them say in a notebook or say
- 11:32Rich lannone: like in some other publishable document as html we also have a latex output format but the idea is
- 11:38Rich lannone: you compose tables step by step you know you add a header you want you want a title you get that too
- 11:44Rich lannone: you structure the table you can format different cells like usually entire columns of cells or and
- 11:50Rich lannone: you can also style a table which could be like you know like changing orders adding cell backgrounds
- 11:55Rich lannone: things like that.
- 11:56Rich lannone: And really the idea is to like to make a table that you might see like in a print
- 12:00Rich lannone: publication,
- 12:01Rich lannone: but using your data,
- 12:02Rich lannone: like directly,
- 12:03Rich lannone: like using a data frame.
- 12:04Rich lannone: So you have the data in
- 12:05Rich lannone: a form which is amenable to a summary table.
- 12:09Rich lannone: And then in just a few like method calls,
- 12:12Rich lannone: you've got
- 12:13Rich lannone: the table.
- 12:14Michael Kennedy: Yeah,
- 12:15Michael Kennedy: that's awesome.
- 12:15Michael Kennedy: What strikes me about this,
- 12:18Michael Kennedy: when we had our conversation last year,
- 12:20Michael Kennedy: It's just how much more there is to think about with tables than, you know, just an Excel-like thing.
- 12:27Michael Kennedy: I came away realizing that it goes way deeper and there's a lot more nuance.
- 12:31Michael Kennedy: It felt a little bit like, oh gosh, I can't remember the guy's name, but I'm sure you both have seen his books.
- 12:37Michael Kennedy: But it's...
- 12:38Michael Kennedy: Is it Stephen Few?
- 12:40Michael Kennedy: Tufte?
- 12:40Michael Kennedy: No,
- 12:40Michael Kennedy: no, no.
- 12:41Michael Kennedy: Tufte.
- 12:42Michael Kennedy: Tufte, yes.
- 12:43Michael Kennedy: Okay.
- 12:43Michael Kennedy: He's just like, oh,
- 12:44Michael Kennedy: I see.
- 12:45Michael Kennedy: Like there's some lines and stuff like, no, no, no, no.
- 12:47Michael Kennedy: Hold on.
- 12:47Michael Kennedy: There's a lot going on.
- 12:49Michael Kennedy: And like,
- 12:49Michael Kennedy: there's many things you can communicate subtly without just being like, well, let's just call this out.
- 12:55Michael Kennedy: Like, no, you don't even have to call it out.
- 12:56Michael Kennedy: It's communicated through something more interesting.
- 13:00Michael Kennedy: You know, a tough thing is that about just presenting sort of scientific information in general.
- 13:05Michael Kennedy: But I felt that way about tables as well.
- 13:07Rich lannone: Yeah, it's pretty well.
- 13:08Rich lannone: We talked about this in our talk a few years back in PyCon.
- 13:12Rich lannone: how like you can tell a story with a table where you can communicate data in a better way in a
- 13:18Rich lannone: not a more optimized way but a more legible way where like your main point is like describe like
- 13:23Rich lannone: a title and a subtitle and you have notes at the bottom and you can guide people through an analysis
- 13:29Rich lannone: summary that way and so just like with many different things there's a good way to do it
- 13:33Michael Kennedy: or a better way to do it yeah there's you could just look at certain types of presented information
- 13:38Michael Kennedy: and you go,
- 13:39Michael Kennedy: well, that looks really professional
- 13:41Michael Kennedy: or that looks really,
- 13:42Michael Kennedy: really good,
- 13:43Michael Kennedy: but I don't know why.
- 13:44Michael Kennedy: You know what I mean?
- 13:45Michael Kennedy: Yeah.
- 13:45Michael Kennedy: This looks bad.
- 13:46Michael Kennedy: That was good, but I don't, yes,
- 13:48Michael Kennedy: but I can't put my hand or my finger
- 13:50Michael Kennedy: on exactly what is really different,
- 13:52Michael Kennedy: but that's really good and that's not, you know?
- 13:54Michael Kennedy: And I feel like Great Tables kind of leans into that.
- 13:57Rich lannone: Yeah, I guess it takes the Tufte principle too,
- 14:00Rich lannone: like having just the right amount of ink,
- 14:02Rich lannone: I guess,
- 14:02Rich lannone: like not too much,
- 14:03Rich lannone: just enough to communicate
- 14:05Rich lannone: the structure of things,
- 14:06Rich lannone: like the sort of like the architecture of the data you're laying out and not doing much more than that.
- 14:10Rich lannone: So there's a lot of that that goes into this.
- 14:13Michael Chow: Indeed.
- 14:13Rich lannone: As a default thing.
- 14:14Michael Chow: To the Tufte point too,
- 14:16Michael Chow: Tufte's website,
- 14:17Michael Chow: Tufte has like all of these just dumps of examples,
- 14:20Michael Chow: just like example plot,
- 14:22Michael Chow: example plot, example plot.
- 14:23Michael Chow: It's almost like a very rough notebook.
- 14:25Michael Chow: And I feel like with great tables,
- 14:27Michael Chow: it was kind of similar.
- 14:28Michael Chow: Like when I first came on, I knew basically nothing about this topic.
- 14:33Michael Chow: And I saw the components of the table diagram.
- 14:36Michael Chow: So you have it pulled up,
- 14:37Michael Chow: but it has like a table broken apart into all its pieces,
- 14:40Michael Chow: like
- 14:40Michael Chow: a title,
- 14:41Michael Chow: subtitle.
- 14:42Michael Chow: There's this funny thing called the stub head and spanners.
- 14:46Michael Chow: And I thought like,
- 14:47Michael Chow: does a person really need to know all this?
- 14:49Michael Chow: But I think to the point of Tufte, like maybe what you're getting out to is Tufte really
- 14:53Michael Chow: dives into like very specific,
- 14:56Michael Chow: almost like dimensions of how you could represent data.
- 14:59Michael Chow: One thing he gets really into is like sparklines,
- 15:01Michael Chow: this idea that like how far could you get with a line that basically doesn't have any axis labels,
- 15:06Michael Chow: but it's just like a trend.
- 15:08Michael Chow: Like is it going up or is it going down?
- 15:10Michael Chow: And that happens a lot in tables.
- 15:11Michael Chow: You'll put like these sparklines in a cell.
- 15:15Michael Chow: Like if you're looking at stocks,
- 15:16Michael Chow: you'll have like the stock numbers and then you'll have a sparkline that like indicates the kind of trend so people can grab it really fast.
- 15:23Michael Chow: But I find what's interesting about Tufte is just that willingness to dive in so detailed about this one very specific action.
- 15:30Michael Chow: And I feel like this table diagram is sort of similar to me,
- 15:33Michael Chow: the willingness to break it apart so thoroughly.
- 15:36Michael Chow: At first, I wasn't really convinced.
- 15:38Michael Chow: It seemed like a lot of work.
- 15:40Michael Chow: But yeah, I think to your point about Tufte,
- 15:42Michael Chow: once you start looking at examples, you start to realize this kind of captures the flavor or design of good examples out there in the world.
- 15:50Rich lannone: Yeah,
- 15:51Rich lannone: I think it's really out there.
- 15:52Rich lannone: Like initially when I did too, it was like, oh, this is too much.
- 15:55Rich lannone: But naming things is so important.
- 15:56Rich lannone: Otherwise, you're just awkwardly describing something over and over again,
- 15:59Rich lannone: like that cell
- 16:00Rich lannone: to the top left or these cells off to the side.
- 16:03Rich lannone: And eventually you just have to give it a name,
- 16:05Rich lannone: even if it's not the best name.
- 16:06Rich lannone: And these are actually names I stole from like basically a census manual on tables,
- 16:12Rich lannone: I think written in 1949.
- 16:14Rich lannone: Great ideas,
- 16:15Rich lannone: like wonderful book.
- 16:16Rich lannone: And it's on the web as a PDF still.
- 16:19Rich lannone: It's a scam.
- 16:20Michael Kennedy: I remember I was talking about that.
- 16:21Michael Kennedy: Yeah.
- 16:21Michael Kennedy: How interesting is it?
- 16:23Michael Kennedy: Yeah.
- 16:23Michael Kennedy: How interesting is it that the inspiration comes from pre-digital times?
- 16:28Michael Kennedy: Yeah.
- 16:29Michael Kennedy: And I think that,
- 16:29Michael Kennedy: yeah,
- 16:30Michael Kennedy: because a lot of the software reduces some of these ideas.
- 16:34Michael Kennedy: It's like, well, I have grids.
- 16:36Michael Kennedy: I have a grid of cells and sometimes the rows can be taller.
- 16:39Michael Kennedy: Sometimes you can span a row.
- 16:41Michael Kennedy: Okay.
- 16:41Michael Kennedy: That's that.
- 16:42Michael Kennedy: But if you just write it by hand when you have to way back in the day,
- 16:46Michael Kennedy: it's like, oh,
- 16:46Michael Kennedy: well,
- 16:47Michael Kennedy: maybe we could draw it differently,
- 16:48Michael Kennedy: right?
- 16:48Rich lannone: Yeah.
- 16:49Rich lannone: Yeah.
- 16:49Rich lannone: And it's like, I was like searching,
- 16:51Rich lannone: like researching,
- 16:51Rich lannone: like anything on tables I could find
- 16:53Rich lannone: just to get ideas and like, you know,
- 16:54Rich lannone: like what people thought was good.
- 16:56Rich lannone: And it's really hard to find anything on tables.
- 16:58Rich lannone: It was like, oh, but I did find that one thing.
- 17:00Rich lannone: And like,
- 17:00Rich lannone: I'm forever in debt to the person who wrote it.
- 17:03Michael Kennedy: Yeah, that's awesome.
- 17:06Michael Kennedy: This portion of Talk Python To Me
- 17:07Michael Kennedy: is brought to you by Sentry.
- 17:09Michael Kennedy: You know Sentry for their great error monitoring,
- 17:11Michael Kennedy: but let's talk about logs.
- 17:13Michael Kennedy: Logs are messy.
- 17:14Michael Kennedy: Trying to grep through them and line them up
- 17:16Michael Kennedy: with traces and dashboards just to understand one issue
- 17:19Michael Kennedy: isn't easy.
- 17:20Michael Kennedy: Did you know that Sentry has logs too?
- 17:23Michael Kennedy: And your logs just became way more usable.
- 17:25Michael Kennedy: Sentry's logs are trace connected and structured,
- 17:28Michael Kennedy: so you can follow the request flow and filter by
- 17:31Michael Kennedy: what matters.
- 17:32Michael Kennedy: And because Sentry surfaces the context right where you're debugging,
- 17:35Michael Kennedy: the trace relevant logs,
- 17:36Michael Kennedy: the error,
- 17:37Michael Kennedy: and even the session replay all land in one timeline.
- 17:41Michael Kennedy: No timestamp matching,
- 17:42Michael Kennedy: no tool hopping.
- 17:43Michael Kennedy: From front end to mobile to back end,
- 17:45Michael Kennedy: whatever you're debugging,
- 17:46Michael Kennedy: Sentry gives you the context you need so you can fix
- 17:48Michael Kennedy: the problem and move on.
- 17:50Michael Kennedy: More than 4.5 million developers use Sentry,
- 17:52Michael Kennedy: including teams at
- 17:53Michael Kennedy: Anthropic and Disney+. Get started with Sentry logs and error monitoring today at talkpython.fm
- 17:59Michael Kennedy: slash Sentry.
- 18:00Michael Kennedy: Be sure to use our code, talkpython26.
- 18:03Michael Kennedy: The link is in your podcast player show notes.
- 18:05Michael Kennedy: Thank you to Sentry for supporting the show.
- 18:09Michael Kennedy: Let's move on, but if people are out there and
- 18:11Michael Kennedy: they're doing presentations that involve tables,
- 18:14Michael Kennedy: and especially if it's code generating those
- 18:16Michael Kennedy: tables.
- 18:16Michael Kennedy: Check this out.
- 18:17Michael Kennedy: It's quite interesting.
- 18:18Michael Kennedy: So the next thing I want to talk about is just
- 18:20Michael Kennedy: sort of surveying the landscape of what is out there,
- 18:24Michael Kennedy: because we're going to talk about great
- 18:26Michael Kennedy: docs and great docs can generate static sites.
- 18:29Michael Kennedy: So there's some existing tools that generate docs
- 18:32Michael Kennedy: as static site. There's some really good tools that just generate static sites that maybe people
- 18:36Michael Kennedy: could put into docs. Like there's a lot of things that are somewhat similar.
- 18:41Michael Kennedy: There's also stuff
- 18:41Michael Kennedy: that's in the same space, but different. So maybe we could kind of go through and,
- 18:45Michael Kennedy: you know, like
- 18:46Michael Kennedy: I know you all have mentioned Sphinx is a real popular one in the Python space.
- 18:50Michael Kennedy: There's MKDocs.
- 18:52Michael Kennedy: I had Martin from Zensical on not too long ago.
- 18:55Michael Kennedy: So maybe we could talk first about some of the existing tools that are,
- 18:58Michael Kennedy: I guess, as similar as possible to what you're doing.
- 19:01Rich lannone: Yeah.
- 19:02Rich lannone: Michael, would you like to speak on this?
- 19:04Rich lannone: Because I know you did a deep dive recently on these.
- 19:07Michael Chow: Yeah.
- 19:08Michael Chow: So Sphinx,
- 19:09Michael Chow: I think,
- 19:09Michael Chow: and maybe to kick off some helpful context to great docs is that, yeah,
- 19:14Michael Chow: I worked a lot on early support for documentation with a tool called quartodoc.
- 19:18Michael Chow: But Rich actually took it to the next level.
- 19:21Michael Chow: And this goes to, I think, Rich's style with great docs.
- 19:25Michael Chow: So I have a lot of bizarre experience looking at the history of Python docs.
- 19:30Michael Chow: I think Sphinx is one of the OG site builders.
- 19:36Michael Chow: I think this is the case.
- 19:38Michael Chow: So I think one interesting fact is, as I understand it, I think Python.org,
- 19:42Michael Chow: don't quote me on this.
- 19:43Michael Chow: I think it was originally done in like LaTeX or something like that,
- 19:46Michael Chow: the Python docs.
- 19:48Michael Chow: And I think that they moved to Sphinx at some point.
- 19:52Michael Chow: So like Sphinx has a really interesting history in Python.
- 19:55Michael Chow: Like if you go back 25,
- 19:57Michael Chow: 30 years,
- 19:58Michael Chow: Python docs had to exist using some tool,
- 20:01Michael Chow: right?
- 20:01Michael Chow: And at some point Sphinx emerged as kind of like this dominant site builder for Python and Python docs.
- 20:09Michael Chow: Yeah, does it say?
- 20:10Michael Chow: Yeah.
- 20:10Michael Chow: So Python docs are in Sphinx.
- 20:13Michael Chow: you know this python doc site has a how-to python how-tos this is another weird fact
- 20:19Michael Chow: the how-tos emerged I don't remember exactly when they emerged it was like in the last 30 years I
- 20:25Michael Chow: think as part of the Linux project so the term how-to as I understand it emerged in the Linux
- 20:34Michael Chow: docs but all these things like it's so funny we see them today and and maybe it seems we just
- 20:39Michael Chow: think about like,
- 20:40Michael Chow: oh,
- 20:40Michael Chow: there's the Python docs,
- 20:42Michael Chow: but actually at a certain point,
- 20:44Michael Chow: you know,
- 20:44Michael Chow: Sphinx
- 20:45Michael Chow: emerged,
- 20:45Michael Chow: this concept of a how-to emerge.
- 20:47Michael Chow: These are all things that over the last, I think like
- 20:50Michael Chow: 30 years sort of like came into existence.
- 20:53Michael Chow: So Sphinx is like the OG doc site.
- 20:56Michael Chow: A lot of tools
- 20:57Michael Chow: use it.
- 20:57Michael Chow: Pandas uses it to generate its APIs.
- 21:01Michael Chow: Polars uses it as well.
- 21:03Michael Chow: So some really big
- 21:04Michael Chow: python tools use it to generate their um api docs um it uses this thing called restructured text
- 21:11Michael Chow: i will say like i don't know that a lot of open tool developers i love love it um i'm going to be
- 21:18Michael Chow: a bit careful here because i think it's been so useful but i do think that restructured text is
- 21:24Michael Chow: kind of not the thing most open source developers are reaching for these days um but sphinx is like
- 21:30Michael Chow: the og uh doc site and it powers a ton of docs like python.org and pandas i'm sure if you know
- 21:37Michael Kennedy: i'm sure it was really made a huge improvement when it came out though right yeah i think if
- 21:41Michael Chow: you're doing a look at before that's got to be yeah yeah it's like zero to one essentially i think
- 21:47Michael Chow: switching from lit tech to sphinx for like your python docs yeah and if i see an rst file it's
- 21:53Michael Kennedy: a little tear wells up in my eye i'm like oh gosh here we go it's a it's almost like a rite of
- 21:58Michael Chow: passage i feel like as a python developer producing docs in the like sphinx world you just
- 22:04Michael Chow: kind of like you learn i learned sphinx and rst to generate docs essentially uh it's like yeah i
- 22:10Michael Chow: feel like that was my rite of passage into like software development 100 so we've also got mk docs
- 22:16Michael Chow: or make docs probably i don't know i always feel like i say make docs but no i i have no so i mean
- 22:22Michael Chow: you had the zensical people so i feel like they do you have a read on it if i try to remember i
- 22:28Michael Kennedy: like martin said mk docs but whoa i i not he could have easily said make docs and i was not paying
- 22:35Michael Kennedy: attention yeah um i'm a doctor so yeah no i think that i think that makes sense a lot of these that
- 22:42Michael Kennedy: could be said one way or another i really wish and maybe this does but i really wish on their
- 22:47Michael Kennedy: github repo they just have a little mp3 like here's how you say it you know what i mean
- 22:51Michael Kennedy: little audio button yeah exactly it's like a green unicorn like g unicorn versus goonicorn is
- 22:58Michael Kennedy: like a one that i think goes around and around still yeah okay so zensical is um one of the more
- 23:04Michael Kennedy: modern ones so i think that that's pretty interesting i don't honestly i'm not sure how
- 23:10Michael Kennedy: much it lands in the sphinx mcdocs world or in the other maybe the just pure static site generator
- 23:17Michael Chow: side of things i mean the sensical folks came on and probably have the best sense but um my sense
- 23:24Michael Chow: is it's also meant to be kind of a i might be wrong drop-in replacement for make docs i know
- 23:28Michael Kennedy: their community yeah yeah it is a it is a um compatibility at least compatible uh for a material
- 23:35Michael Kennedy: for make docs yeah right right right yeah for sure so yeah i would say it's in that in that realm
- 23:40Rich lannone: it also seems like they're heading towards general purpose or knowledge bases which goes
- 23:44Michael Kennedy: maybe a bit beyond just like yes exactly that was my like uncertainty is how do i classify it right
- 23:50Michael Kennedy: because it's it doesn't even necessarily if you look at their h2 it doesn't say the best way to
- 23:56Michael Kennedy: make your docs right it's it's a scalable way for technical writing right which makes it i think
- 24:03Michael Kennedy: land a little more in the hugo or ghost side of um thing so that's another part to part to talk
- 24:09Michael Kennedy: about it's just like static sites in general you know why would i choose say sphinx over hugo or
- 24:15Michael Kennedy: hugo over sphinx or something like that you guys got yeah it seems a bit like mitlefy they have the
- 24:19Rich lannone: same sort of thing going to they do documentation sites but they go a bit beyond it's like general
- 24:25Rich lannone: purpose lots of different languages supported uh but it is documentation but not really so much
- 24:30Michael Kennedy: like a site like just general purpose site generator so it's so hugo and ghost i don't know
- 24:36Michael Kennedy: goes very well,
- 24:37Michael Kennedy: but Hugo,
- 24:37Michael Kennedy: for example, I use that a lot for blogs. I've seen one of my friends does
- 24:41Michael Kennedy: really cool stuff just in general with Hugo making general purpose sites.
- 24:46Michael Kennedy: I feel like this is much
- 24:48Michael Kennedy: more focused on,
- 24:49Michael Kennedy: I just need a static site and much less, I need it to read my doc strings and
- 24:54Michael Kennedy: categorize my modules and, and API calls and put in that kind of stuff. Right. So that's another,
- 25:00Michael Kennedy: another realm that is similar to what you all are doing, but certainly not the same.
- 25:04Rich lannone: Yeah,
- 25:04Rich lannone: if you want to throw another one in, there's Quarto by the company we work at, Posit,
- 25:09Rich lannone: and that does sites and much more beyond.
- 25:13Michael Kennedy: I do think I had JJ on and I'm so sorry, I'm forgetting the name of the other guy.
- 25:19Michael Kennedy: Oh,
- 25:20Michael Kennedy: Charles.
- 25:20Michael Kennedy: Yeah, I think it was Charles.
- 25:21Michael Kennedy: Oh,
- 25:21Michael Kennedy: cool.
- 25:21Michael Kennedy: To talk about Quarto a little while ago.
- 25:23Michael Kennedy: That was fun.
- 25:24Michael Chow: Yeah.
- 25:24Michael Chow: I do think a lot of the questions with like Hugo versus something more targeted at like docs for a
- 25:30Michael Chow: tool is hitting on kind of like,
- 25:33Michael Chow: what are the parts of a doc site?
- 25:35Michael Chow: You know, like what's technical
- 25:36Michael Chow: writing versus like package documentation?
- 25:39Michael Chow: Am I just doing a Hugo thing? Like is what I'm doing
- 25:42Michael Chow: similar enough to like a blog or a website with content,
- 25:46Michael Chow: which is really common, like my website's
- 25:48Michael Chow: in Hugo?
- 25:50Michael Chow: Or do I need something special to like dump out my like API docs to dump out the things
- 25:55Michael Chow: from my like functions and classes?
- 25:57Michael Chow: Or could I jam that into Hugo?
- 26:00Michael Chow: That's a common kind of hybrid
- 26:01Michael Chow: path.
- 26:02Michael Chow: Could my thing just dump my info into Hugo?
- 26:05Michael Chow: It's all kind of this dance between really,
- 26:08Michael Chow: is this a general content problem?
- 26:10Michael Chow: Is this a like very specific tool problem?
- 26:13Michael Chow: Or can I kind of like
- 26:14Michael Chow: jam them both together into something.
- 26:17Michael Kennedy: Yeah, that's an interesting problem.
- 26:18Michael Kennedy: So maybe a good time to start talking about, you know, great docs.
- 26:23Michael Kennedy: What is it?
- 26:24Michael Kennedy: Like, what's its value prop and positioning with regard to these other areas?
- 26:30Rich lannone: Well, on your screen, you have package down.
- 26:32Rich lannone: Yes.
- 26:33Rich lannone: It has an origin.
- 26:34Rich lannone: Actually,
- 26:34Rich lannone: coming from R,
- 26:35Rich lannone: I can't help but to be a little bit influenced by package down.
- 26:39Rich lannone: I use it a lot in my R projects.
- 26:42Rich lannone: And I kind of felt like there was like a package downsized hole in the Python docs ecosystem,
- 26:47Rich lannone: just a little bit, where, you know, you can just point something at your docs and it makes
- 26:51Rich lannone: something pretty fast with pretty much no configuration.
- 26:53Rich lannone: That's like the challenge.
- 26:54Rich lannone: Does it present something that's serviceable,
- 26:56Rich lannone: like usable right away?
- 26:58Rich lannone: And that's what I was shooting for.
- 26:59Rich lannone: And I think that's kind of like where I landed.
- 27:02Rich lannone: And of course, we have tons of options to do way more things.
- 27:04Rich lannone: But I wanted to give something that was,
- 27:06Rich lannone: you know,
- 27:07Rich lannone: you just start it right away and it gives
- 27:09Rich lannone: you something.
- 27:10Rich lannone: Like, for instance,
- 27:11Rich lannone: you have doc strings and such,
- 27:13Rich lannone: and they all just get captured and put into the API reference section.
- 27:18Rich lannone: And then later on, you would, you know, attend to it and organize it and then, you know, arrange it and exclude things.
- 27:24Rich lannone: At the very beginning, it would just give you something at least.
- 27:26Rich lannone: So that was kind of like my goal.
- 27:28Michael Kennedy: The up and running super quick is one of the themes,
- 27:32Michael Kennedy: right?
- 27:32Rich lannone: Yeah,
- 27:33Rich lannone: yeah,
- 27:33Rich lannone: absolutely.
- 27:34Rich lannone: Because I think,
- 27:35Rich lannone: I suspect,
- 27:35Rich lannone: maybe a lot of people are getting more into Python now because of agents, AI, LLMs,
- 27:41Rich lannone: and such,
- 27:41Rich lannone: and are spinning up small projects.
- 27:43Rich lannone: And maybe they're even building their documentation sites with using the same things, like LLMs.
- 27:50Rich lannone: So getting something up quickly.
- 27:52Rich lannone: And maybe the project doesn't last very long.
- 27:54Rich lannone: It's just like something just to get going.
- 27:56Rich lannone: And you don't want to spend a ton of time on learning the docs,
- 27:59Rich lannone: a new doc system.
- 28:00Rich lannone: So this sort of thing is pretty valuable.
- 28:02Rich lannone: But we still give you the opportunity,
- 28:03Rich lannone: of course, to,
- 28:04Rich lannone: you know, like add things and do really
- 28:06Rich lannone: cool,
- 28:06Rich lannone: sophisticated sites.
- 28:07Rich lannone: But just the up and running part, it was super important to me.
- 28:10Michael Kennedy: So by default,
- 28:11Michael Kennedy: you can point it at a package or set of Python files or something and say,
- 28:15Michael Kennedy: generate docs around that.
- 28:16Michael Kennedy: And it will look for doc strings and so on, and then generate some kind of hierarchical.
- 28:21Rich lannone: Yeah, exactly.
- 28:22Rich lannone: And we tested it quite a bit on different package layouts,
- 28:26Rich lannone: like,
- 28:26Rich lannone: you know, different
- 28:27Rich lannone: packaging systems.
- 28:28Rich lannone: And it seems introspect pretty well based on all sorts of variation.
- 28:32Rich lannone: and we do test this a lot.
- 28:34Rich lannone: So the promise is that it does give you something.
- 28:37Michael Kennedy: And you can also create
- 28:38Michael Kennedy: just more static site type stuff as well, yeah?
- 28:41Rich lannone: Yeah, oh, absolutely,
- 28:42Rich lannone: yeah,
- 28:42Rich lannone: you can.
- 28:43Michael Chow: I think the user guide's a good example.
- 28:45Michael Chow: Like if you click the expandable thing in the top left.
- 28:49Michael Kennedy: Yeah, everything's so zoomed.
- 28:51Michael Kennedy: Yeah, everything's so zoomed
- 28:52Michael Kennedy: on my little small streaming screen.
- 28:55Michael Kennedy: So yeah,
- 28:55Michael Kennedy: the user guide got it.
- 28:57Michael Chow: It's nice, the user guide's just a folder
- 28:59Michael Chow: in the repo with files in it.
- 29:01Michael Chow: But it's nice like that that puts up this like,
- 29:05Michael Chow: yeah,
- 29:06Michael Chow: more kind of general bit of content where it's not your API reference,
- 29:12Michael Chow: which is like each individual function explained,
- 29:15Michael Chow: but a more general kind of guide,
- 29:18Michael Chow: kind of like a bigger,
- 29:19Michael Chow: higher level,
- 29:21Michael Chow: like introduction to the package.
- 29:23Michael Chow: But it's nice that to your point,
- 29:25Michael Chow: like,
- 29:25Michael Chow: can you have more general kind of content?
- 29:27Michael Chow: It's nice.
- 29:27Michael Chow: This is just a folder in the repo.
- 29:29Michael Chow: So getting started with the user guides,
- 29:31Michael Chow: like super fast.
- 29:32Rich lannone: Yeah.
- 29:33Rich lannone: And this site is like a demonstration.
- 29:34Rich lannone: We're showing like the great docs site and we're just looking at it and you can just
- 29:39Rich lannone: add another directory and like recipes at the top nav.
- 29:43Rich lannone: That's just another directory.
- 29:44Rich lannone: And we sort of declared it in our configuration file.
- 29:46Rich lannone: So you can just create something similar to a user guide.
- 29:49Rich lannone: But we sort of treat a user guide as a sort of like a first class thing because we,
- 29:53Rich lannone: well, I'm a little bit opinionated about how sites,
- 29:57Rich lannone: these doc sites should be.
- 29:58Rich lannone: So it kind of serves as a model.
- 29:59Rich lannone: So like the idea is that if someone sees this and says,
- 30:02Rich lannone: yeah, I would like something like this,
- 30:03Rich lannone: then like three docs would be a good fit.
- 30:05Rich lannone: You just have sort of emulate what we have here,
- 30:07Rich lannone: do a few things and you've pretty much got it beyond the simple sort of like init and then like build.
- 30:12Rich lannone: We can just go a little bit beyond.
- 30:14Michael Kennedy: Yeah,
- 30:14Michael Kennedy: sitting here talking to you makes me think, you know, I've got some open source projects.
- 30:18Michael Kennedy: I really should have better docs with him.
- 30:19Rich lannone: Maybe.
- 30:20Michael Kennedy: Maybe I'll try working on them with great docs.
- 30:22Michael Kennedy: That would be really fun.
- 30:23Michael Kennedy: Oh, yeah.
- 30:24Rich lannone: And I love your feedback.
- 30:25Rich lannone: I'm always looking for ideas and feedback.
- 30:27Rich lannone: Right now,
- 30:28Rich lannone: I'm not going to make a big deal of it.
- 30:30Rich lannone: But I'm looking for users because this is a brand new project.
- 30:32Rich lannone: So feedback is a bit scant at this point.
- 30:35Rich lannone: So yeah,
- 30:35Rich lannone: let me know how it goes.
- 30:37Michael Kennedy: Yeah, I will definitely.
- 30:38Michael Kennedy: One of the things that's nice here that I'm noticing is it's got a lot of elements of the
- 30:43Michael Kennedy: display that go beyond just standard markdown that i think are really nice like for example
- 30:49Michael Kennedy: you've got these oh because these are probably like little tags or badges yeah yeah and then
- 30:55Michael Kennedy: also you've got a tabbed UI for like here's how you install it on mac Linux windows but in the
- 31:02Michael Kennedy: same little area right you just like click the tab for your os yeah because tab sets in Quarto
- 31:06Rich lannone: they're like a Quarto special really they just come part and parcel with Quarto yeah yeah i feel like
- 31:12Michael Kennedy: you can do some nice authorship beyond that.
- 31:14Michael Kennedy: Like when I was working on my book,
- 31:16Michael Kennedy: I'm like,
- 31:16Michael Kennedy: I'm going to write it in Markdown,
- 31:17Michael Kennedy: but I also want to have these little call outs
- 31:19Michael Kennedy: or like an action or,
- 31:21Michael Kennedy: you know, the little sidebar,
- 31:22Michael Kennedy: like how in the heck am I going to get that
- 31:24Michael Kennedy: to come out of Pandoc?
- 31:26Michael Kennedy: You know what I mean?
- 31:26Michael Kennedy: Yeah.
- 31:27Michael Kennedy: I eventually got it to work by basically
- 31:30Michael Kennedy: getting a little pre-parser
- 31:32Michael Kennedy: that would just turn those into HTML
- 31:34Michael Kennedy: and allow the Markdown to have HTML.
- 31:35Rich lannone: I think that's what makes a good user guide
- 31:38Rich lannone: a good user guide.
- 31:39Rich lannone: We actually show,
- 31:40Rich lannone: like, not just like show the code,
- 31:41Rich lannone: but actually show the results.
- 31:43Rich lannone: And you can totally do that with a good user guide.
- 31:46Rich lannone: And that's what I try to demonstrate here
- 31:48Rich lannone: in the Great Docs user guide
- 31:50Rich lannone: that we have these things.
- 31:52Rich lannone: Here's how they look.
- 31:53Rich lannone: You can have these too.
- 31:54Michael Chow: Yeah, that definitely looks good.
- 31:56Michael Chow: That's the one thing too with Quarto
- 31:58Michael Chow: that if I had to make the case for Quarto
- 32:01Michael Chow: for a lot of people doing documentation,
- 32:03Michael Chow: it's that it's really easy to run code.
- 32:06Michael Chow: Running code is kind of like most of Quarto's game.
- 32:09Michael Chow: It's a you author using a QMD.
- 32:12Michael Chow: It's essentially a markdown file,
- 32:14Michael Chow: but your code blocks can be executed.
- 32:17Michael Chow: So it's really inconvenient for docs,
- 32:19Michael Chow: like being able to include code snippets with their out and then they get run and their outputs are there.
- 32:25Michael Chow: So that's kind of the impetus,
- 32:27Michael Chow: I think, in this case for Quarto is doing like really easy execution of code.
- 32:33Michael Chow: It's possible in other tools.
- 32:35Michael Chow: And I know mkdocstrings,
- 32:37Michael Chow: who I think its author is working with Zensical now too.
- 32:41Michael Chow: But they've created a lot of good ways for you to be able to do this as well, like execute code.
- 32:47Michael Chow: But I do think that's one area where people stub their toe a lot is like,
- 32:51Michael Chow: oh,
- 32:51Michael Chow: like if I'm Polars or Pandas, I'm a data frame library.
- 32:54Michael Chow: I probably want a lot of examples.
- 32:56Michael Chow: And then you get stuck in this like funny dance, like how do I execute the code for my examples?
- 33:01Michael Chow: And so I think tools like Quarto are really kind of aimed at that.
- 33:05Michael Chow: use case like you're a person running code and generating reports you know that that have code
- 33:11Rich lannone: and that produce graphs and tables and yeah and i think the examples like being executable made the
- 33:17Rich lannone: great tables examples really powerful you can see the code for a table and then see the table
- 33:23Rich lannone: right below like in the actual like site which is we didn't have to paste that in it was basically
- 33:27Rich lannone: just generated right there yeah that's amazing which is actually incredibly you can put pros
- 33:31Rich lannone: around it as well so it's like it reads just like a little mini guide in each doc string does it
- 33:38Michael Kennedy: run at build time or does it somehow run in the website oh build time yeah yeah yeah you guys
- 33:44Michael Kennedy: embedding WebAssembly or something fun like that no you could do that you could do that yeah i
- 33:49Michael Chow: another nice thing you can freeze it so like if you have a bit of code that um or like let's say
- 33:55Michael Chow: you have a blog post and you don't want to rerun it every time because like over the years maybe
- 34:01Michael Chow: you like know the code's going to get out of date or it takes a long time to run.
- 34:06Michael Chow: You can do
- 34:06Michael Chow: something called freeze.
- 34:07Michael Chow: You can Quarto freeze it.
- 34:09Michael Chow: And that essentially like caches the outputs
- 34:12Michael Chow: so that you can re-render it without executing the code every time.
- 34:18Michael Chow: So that's useful.
- 34:19Michael Chow: Like
- 34:19Michael Chow: great tables, we have kind of a growing log of blog posts and we don't want to re-execute them
- 34:25Michael Chow: every time because that starts to get pretty time consuming.
- 34:28Michael Chow: So we can just freeze their outputs
- 34:30Michael Chow: and then they generate super fast.
- 34:33Michael Kennedy: Another reason you might want to freeze it
- 34:34Michael Kennedy: is you're doing accessing live data
- 34:37Michael Kennedy: off an API or website
- 34:38Michael Kennedy: and you want to talk about the results.
- 34:40Michael Kennedy: And if it changes,
- 34:41Michael Kennedy: like all of a sudden your pros is like,
- 34:43Michael Kennedy: why are you talking about this?
- 34:44Michael Kennedy: It doesn't say that.
- 34:44Michael Kennedy: Well, it used to when I did it.
- 34:46Michael Kennedy: You might imagine like a benchmark section example
- 34:48Rich lannone: if it runs a long time
- 34:49Rich lannone: or you just,
- 34:50Rich lannone: you know,
- 34:50Rich lannone: accessing some keys on your personal machine.
- 34:53Rich lannone: Absolutely.
- 34:53Rich lannone: Freezing is great for that.
- 34:54Rich lannone: You basically froze stuff on your personal computer
- 34:57Rich lannone: and you're just like,
- 34:58Rich lannone: you know,
- 34:58Rich lannone: sending it off to like CI.
- 34:59Rich lannone: high.
- 35:00Michael Chow: And I think there's like a million,
- 35:02Michael Chow: there's also like a million of these things that you
- 35:04Michael Chow: encounter when you start generating doc sites or like personal content,
- 35:09Michael Chow: which is like,
- 35:10Michael Chow: yeah,
- 35:10Michael Chow: maybe I don't want to run some stuff.
- 35:12Michael Chow: Maybe I want to like include a snippet from one thing
- 35:15Michael Chow: somewhere else,
- 35:16Michael Chow: or maybe I want to do like all kinds of like output customization.
- 35:22Michael Chow: I just feel
- 35:23Michael Chow: like there's a million little boxes to check.
- 35:25Michael Chow: So that's, that's one.
- 35:28Michael Chow: I mean,
- 35:28Michael Chow: one other reason we
- 35:29Michael Chow: use Quarto is we belong to the company that created Quarto.
- 35:32Michael Chow: But I think those like little
- 35:34Michael Chow: pieces of detail for people generating like scientific documents and stuff goes a long way.
- 35:39Rich lannone: It's pretty wild too, because Quarto has a pretty big extension system as well,
- 35:44Rich lannone: like pretty active.
- 35:45Rich lannone: So there's like ways,
- 35:46Rich lannone: I mean, besides like different output types,
- 35:48Rich lannone: there's like extensions,
- 35:49Rich lannone: and different types of extensions too,
- 35:51Rich lannone: like different classes of extensions.
- 35:53Michael Kennedy: So it goes really deep.
- 35:54Michael Kennedy: Yeah,
- 35:54Michael Kennedy: Quarto is really neat.
- 35:56Michael Kennedy: This portion of Talk Python To Me is sponsored by Temporal.
- 35:59Michael Kennedy: Ever since I had Mason Egger on the podcast for episode 515,
- 36:03Michael Kennedy: I've been fascinated with durable workflows in Python.
- 36:06Michael Kennedy: That's why I'm thrilled that Temporal has decided
- 36:08Michael Kennedy: to become a podcast sponsor since that episode.
- 36:11Michael Kennedy: If you've built background jobs or multi-step workflows,
- 36:14Michael Kennedy: you know how messy things get with retries, timeouts,
- 36:17Michael Kennedy: partial failures, and keeping state consistent.
- 36:20Michael Kennedy: I'm sure many of you have written brutal code to
- 36:22Michael Kennedy: keep the workflow moving and to track when you run into problems,
- 36:26Michael Kennedy: but it's trickier than that.
- 36:27Michael Kennedy: What if you have a long-running workflow and you need to redeploy the app or restart the server
- 36:31Michael Kennedy: while it's running?
- 36:32Michael Kennedy: This is where Temporal's open source framework is a game changer.
- 36:36Michael Kennedy: You write workflows as normal Python code and Temporal ensures that they execute reliably,
- 36:41Michael Kennedy: even across crashes,
- 36:43Michael Kennedy: restarts,
- 36:43Michael Kennedy: or long-running processes while handling retries,
- 36:46Michael Kennedy: states,
- 36:47Michael Kennedy: and orchestrations for you
- 36:48Michael Kennedy: so you don't have to build
- 36:49Michael Kennedy: and maintain that logic yourself.
- 36:51Michael Kennedy: You may be familiar with writing asynchronous code
- 36:54Michael Kennedy: using the async and await keywords in Python.
- 36:57Michael Kennedy: Temporal's brilliant programming model
- 36:59Michael Kennedy: leverages the exact same programming model
- 37:01Michael Kennedy: that you are familiar with,
- 37:03Michael Kennedy: but uses it for durability,
- 37:04Michael Kennedy: not just concurrency.
- 37:06Michael Kennedy: Imagine writing await workflow.sleep,
- 37:09Michael Kennedy: time delta,
- 37:10Michael Kennedy: 30 days.
- 37:10Michael Kennedy: Yes, seriously,
- 37:11Michael Kennedy: sleep for 30 days.
- 37:13Michael Kennedy: Restart the server,
- 37:13Michael Kennedy: deploy new versions of the app.
- 37:15Michael Kennedy: That's it,
- 37:15Michael Kennedy: Temporal takes care of the rest.
- 37:17Michael Kennedy: temporal is used by teams at netflix snap and nvidia for critical production systems
- 37:22Michael Kennedy: get started with the open source python sdk today learn more at talkpython.fm/temporal
- 37:28Michael Kennedy: the link is in your podcast player's show notes thank you to temporal for supporting the show
- 37:33Michael Kennedy: and you all keep talking about Quarto because it's the foundation of what's happening with
- 37:38Michael Kennedy: great tables right it's been a while since it was um been a while since i had jj and carlos on
- 37:43Michael Kennedy: the podcast to talk about Quarto but so maybe just give folks a bit of a refresher of what is cordo
- 37:49Rich lannone: and then how that relates back to great tables um yeah so Quarto is a like a like open source
- 37:55Rich lannone: publishing system so you can make things like sites um like documents like books for
- 38:00Rich lannone: instance uh you can make presentations uh it's probably a few more i'm missing and it's cross
- 38:05Rich lannone: language as well and it and like you know code cells so it has computational notebooks is what
- 38:10Rich lannone: they call them because they have cells which are basically computational cells which can accept
- 38:14Rich lannone: which have different engines so you can like say like run some r code run some python some julia
- 38:19Rich lannone: uh what have you many other things as well and then you can stitch them you know basically render
- 38:22Rich lannone: them into into documents using Pandoc for the most part and probably other things too for
- 38:27Rich lannone: different output types and it just really batteries included has things like you just see in them on
- 38:31Rich lannone: the site citations cross refs you know it's it's got it all essentially and so how it relates to
- 38:37Rich lannone: to quartodoc and to GreatDocs.
- 38:41Rich lannone: We're using quartodoc.
- 38:43Rich lannone: But not really.
- 38:44Rich lannone: I think with quartodoc,
- 38:47Rich lannone: the way I see it is like,
- 38:49Rich lannone: and correct me if I'm wrong, Michael,
- 38:50Rich lannone: at quartodoc,
- 38:51Rich lannone: you're creating a reference API,
- 38:53Rich lannone: but you're still basically using quartodoc.
- 38:55Rich lannone: You're within the quartodoc itself.
- 38:56Rich lannone: You're still creating the Quarto config.
- 38:59Rich lannone: But with GreatDocs,
- 39:00Rich lannone: it's kind of like quartodoc is a bit sort of like
- 39:02Rich lannone: we're using it,
- 39:03Rich lannone: obviously,
- 39:03Rich lannone: but you don't have to know a lot about quartodoc.
- 39:05Rich lannone: you can basically get by with just a few things you see,
- 39:08Rich lannone: you know,
- 39:09Rich lannone: in like the user guide and not have to like go deeply into Quarto.
- 39:12Rich lannone: It sort of like hides it a little bit or doesn't really advertise it as much,
- 39:16Michael Chow: even though we're using a lot.
- 39:17Michael Chow: Just for some context.
- 39:19Michael Chow: Yeah.
- 39:19Michael Chow: I mentioned before I developed a tool called quartodoc,
- 39:22Michael Chow: which is another documentation generator for Quarto.
- 39:26Michael Chow: So just,
- 39:27Michael Chow: just to clarify like the context.
- 39:29Michael Chow: Yeah.
- 39:30Michael Chow: Like quartodoc is a much more kind of like low level,
- 39:33Michael Chow: no frills.
- 39:33Michael Chow: So like the IBIS project uses it.
- 39:37Michael Chow: So that's another pretty,
- 39:38Michael Chow: pretty big Python tool,
- 39:40Michael Chow: but it's like very like simple.
- 39:42Michael Chow: It's more about like dump your API reference and then you're responsible
- 39:46Michael Chow: for like customizing your website.
- 39:48Michael Chow: And so it's for people who really want to like be in control and set it all up.
- 39:51Michael Chow: I think Rich is kind of underselling.
- 39:54Michael Chow: I think great docs is just dripping in style.
- 39:56Michael Chow: I think that's the,
- 39:57Michael Chow: one of the keys is it's made to be kind of like an all in one,
- 40:01Michael Chow: something really nice out of the box that's opinionated.
- 40:04Michael Chow: But I just want to clarify for context,
- 40:06Michael Chow: QuartoDoc is another tool outside of Quarto.
- 40:09Michael Chow: So I know we've checked a lot of tools out.
- 40:12Michael Chow: But one thing that's interesting is I know,
- 40:15Michael Chow: like when we look at great docs,
- 40:17Michael Chow: it's easy to see like some of the stuff that jumps out.
- 40:20Michael Chow: But there's actually,
- 40:21Michael Chow: I think to Rich's credit,
- 40:23Michael Chow: there's a ton of like little things inside great docs
- 40:25Michael Chow: that you almost don't notice until you need them.
- 40:29Michael Chow: Like there's a million little pieces to doc sites.
- 40:32Michael Chow: And some of them are actually pretty intriguing.
- 40:34Michael Chow: Like if you go to the great docs API reference,
- 40:38Michael Chow: I think it kind of like speaks to Rich's style that he's included a ton of stuff out of the box for this,
- 40:46Michael Chow: including this little like filter bar.
- 40:49Michael Chow: So if you click on the top left,
- 40:51Michael Chow: there's a,
- 40:52Michael Chow: you can sort of like filter on the page for different pieces.
- 40:55Michael Chow: That's like,
- 40:57Michael Chow: yeah.
- 40:58Michael Chow: I think for just to illustrate the difference.
- 41:00Michael Chow: So quartodoc is a really bare bones tool.
- 41:02Michael Chow: It's like we generate an API for you.
- 41:05Michael Chow: Great docs like this thing, this filter bar where you can like type in it and it shows you live on the page.
- 41:10Michael Chow: Like it filters your reference items.
- 41:13Michael Chow: That's just pure rich,
- 41:14Michael Chow: just like wilding out on what docs could be.
- 41:18Michael Chow: And I think there are like a million little examples of this kind of in great docs.
- 41:23Rich lannone: Kind of. Yeah.
- 41:24Rich lannone: Cause like I find little things that annoy me and I want to fix them.
- 41:27Rich lannone: But,
- 41:27Rich lannone: um,
- 41:28Rich lannone: uh,
- 41:28Rich lannone: and so this is my,
- 41:30Rich lannone: this is almost like a,
- 41:31Rich lannone: like a, like a Python site generator
- 41:34Rich lannone: for,
- 41:34Rich lannone: for me in lots of ways, but I'm hoping that other people feel these little pain points
- 41:38Rich lannone: as well.
- 41:38Michael Kennedy: I've certainly felt I've gone to,
- 41:40Michael Kennedy: um,
- 41:41Michael Kennedy: documentation sites and search for stuff on there.
- 41:43Michael Kennedy: And then you see a little spinner searching,
- 41:45Michael Kennedy: searching static site.
- 41:47Michael Kennedy: What are we doing?
- 41:48Michael Kennedy: Why am I waiting?
- 41:49Michael Kennedy: This doesn't make any sense to me, but okay.
- 41:51Michael Chow: Yeah.
- 41:51Michael Kennedy: Yeah.
- 41:51Michael Chow: Even the CLI button,
- 41:53Michael Chow: like,
- 41:54Michael Chow: oh, sorry, if you click that,
- 41:56Michael Chow: that's like if you have a command line interface for your tool,
- 41:59Michael Chow: which is so hot today,
- 42:01Michael Chow: like AI loves command line interfaces.
- 42:04Michael Chow: Claude Codes just bash executing everything.
- 42:08Michael Chow: You know, a lot of people have CLIs.
- 42:11Michael Chow: I think it also speaks a lot to Richestile that he created this spot for your CLI docs to live.
- 42:18Michael Chow: Very important.
- 42:20Michael Chow: And then at the top right,
- 42:21Michael Chow: if you look,
- 42:23Michael Chow: there's like a copy.
- 42:24Michael Chow: You can copy the whole page to Markdown or view it as Markdown.
- 42:28Michael Chow: I never would have thought of that.
- 42:30Michael Chow: To me,
- 42:31Michael Chow: I would never go that far to give people something nice.
- 42:34Michael Chow: I don't know if I'm just like a curmudgeony engineer.
- 42:37Michael Chow: I think Rich is just dreaming up,
- 42:39Michael Chow: I don't know, different ways you could interact with docs,
- 42:43Michael Chow: copy the page to Markdown.
- 42:44Michael Chow: And I don't doubt that it's incredibly useful.
- 42:47Michael Chow: To me, this strikes me as like...
- 42:48Michael Chow: I think it's very useful, yeah.
- 42:49Michael Chow: Yeah.
- 42:50Michael Chow: When I saw that table graph for great tables,
- 42:53Michael Chow: like breaking apart the table into every little piece,
- 42:56Michael Chow: this strikes me as rich again,
- 42:57Michael Chow: like imagining every little thing a doc site could do.
- 43:01Michael Chow: So I think that's why I'm so kind of gassed up about great docs.
- 43:05Michael Kennedy: This is delightful.
- 43:06Michael Kennedy: And we're going to come back to AI stuff later, but we don't have that much time left,
- 43:11Michael Kennedy: honestly,
- 43:11Michael Kennedy: guys.
- 43:11Michael Kennedy: We've been talking and not making a lot of progress because it's really, we're just diving into it.
- 43:15Michael Kennedy: Docs talk.
- 43:15Michael Kennedy: It's so fun.
- 43:16Michael Kennedy: I know.
- 43:16Michael Kennedy: It's so fun.
- 43:17Michael Kennedy: But I can easily see I'm working on a project and I've got Claude or some codex or whatever,
- 43:24Michael Kennedy: and it's just not getting it for a certain function.
- 43:27Michael Kennedy: Just go over to the docs, hit copy pages,
- 43:29Michael Kennedy: markdown, and just go, no AI,
- 43:31Michael Kennedy: this is the docs, read it.
- 43:33Michael Kennedy: Because giving it a markdown result of what this is versus all the nav and all the stuff,
- 43:39Michael Kennedy: and it's trying to understand what's the essence of the page, if you tell it to just go to the page,
- 43:44Michael Kennedy: really, really different.
- 43:45Rich lannone: Yeah, it's been more immediate,
- 43:46Rich lannone: I think.
- 43:47Rich lannone: Also, you can change the URL if you really want to, to.md and just give it the URL.
- 43:51Rich lannone: So many ways to do it.
- 43:53Michael Kennedy: Yeah,
- 43:53Michael Kennedy: yeah, yeah.
- 43:54Michael Kennedy: I love that.
- 43:55Michael Kennedy: So it said html.md.
- 43:56Michael Kennedy: Yeah.
- 43:57Michael Kennedy: Yeah.
- 43:58Michael Chow: That's really cool.
- 43:59Michael Chow: So if you were plot code or reading the docs,
- 44:02Michael Chow: you know, a lot of good stuff.
- 44:03Michael Kennedy: Yeah,
- 44:03Michael Kennedy: season tokens.
- 44:04Michael Kennedy: Yeah,
- 44:05Michael Kennedy: yeah, yeah.
- 44:05Michael Kennedy: That's cool.
- 44:06Michael Kennedy: Did I do that for Talk Python?
- 44:07Michael Kennedy: I think I did.
- 44:08Michael Kennedy: Yeah.
- 44:08Michael Kennedy: You do that on Talk Python, by the way.
- 44:10Michael Kennedy: You can just put.md on the end of any episode name,
- 44:15Michael Kennedy: and it gives you the markdown equivalent
- 44:17Michael Kennedy: that as well so which is all the rage yeah so i mean we're on the same vibes here i'm loving it
- 44:21Michael Chow: you know what i mean and it might even help for context i'd be curious to hear your like when you
- 44:27Michael Chow: added that markdown and some of your motivation for markdownifying your site i didn't do it for
- 44:32Michael Kennedy: people i did it for ai and seo the machine stuff yeah for the machine so um i i added a i did an
- 44:40Michael Kennedy: llms.txt to try to get the ais to understand the podcast better and some of the things that i gave
- 44:47Michael Kennedy: was this ability to just put Markdown at the end,
- 44:50Michael Kennedy: but also I added like a CLI and an MCP
- 44:53Michael Kennedy: and different things for an API,
- 44:56Michael Kennedy: search API.
- 44:56Michael Kennedy: I'm like, okay, AI,
- 44:58Michael Kennedy: there's 7.5 million words of content over 11 years.
- 45:01Michael Kennedy: I want you to know about it and be able to use it.
- 45:03Michael Kennedy: How many ways can I imagine giving something to it?
- 45:07Michael Kennedy: And this render as Markdown was certainly one of them.
- 45:09Michael Kennedy: I also added some silly stuff that's like for,
- 45:13Michael Kennedy: just for me,
- 45:14Michael Kennedy: because I've got, for example,
- 45:15Michael Kennedy: I've got to update,
- 45:17Michael Kennedy: say,
- 45:17Michael Kennedy: the YouTube recommendations.
- 45:20Michael Kennedy: So, or listings after the live stream,
- 45:22Michael Kennedy: I want them to have like links and stuff.
- 45:23Michael Kennedy: So I can say dot YouTube on the end
- 45:26Michael Kennedy: and it gives me the contents for like the YouTube render.
- 45:29Michael Kennedy: So it kind of was building on this,
- 45:31Michael Kennedy: like how can I help myself be more efficient,
- 45:34Michael Kennedy: but also machines?
- 45:35Michael Kennedy: So anyway, that's the story.
- 45:36Michael Kennedy: This is great.
- 45:36Rich lannone: It's like Doc's workflow really,
- 45:38Rich lannone: right?
- 45:38Rich lannone: It fits in nicely.
- 45:40Michael Kennedy: You know, circling back around,
- 45:41Michael Kennedy: I'm really impressed with some of these little nuances
- 45:43Michael Kennedy: that are super nice.
- 45:45Michael Kennedy: I think that's great.
- 45:46Michael Kennedy: Great talks.
- 45:46Michael Kennedy: If you want to go further on this,
- 45:48Rich lannone: it's basically just nicing up the docs
- 45:50Rich lannone: and make them good for humans,
- 45:51Rich lannone: but also consumable by LLMs or agents and such.
- 45:55Michael Kennedy: Rich, it's a fad.
- 45:56Michael Kennedy: We don't really need to worry about it.
- 45:58Michael Kennedy: It's going to go away.
- 45:59Michael Kennedy: It'll pass,
- 45:59Michael Kennedy: yeah.
- 45:59Michael Kennedy: The bubble's going to burst.
- 46:00Michael Kennedy: We can just ignore it.
- 46:02Michael Kennedy: It's going to be fine.
- 46:03Michael Kennedy: No.
- 46:04Michael Kennedy: So let's talk.
- 46:06Michael Kennedy: I want to talk about a couple of things here.
- 46:07Michael Kennedy: So let's just do like a real quick little walkthrough
- 46:10Michael Kennedy: of maybe getting started with this.
- 46:13Michael Kennedy: It's honestly not a whole lot to get started, but give us this.
- 46:17Michael Kennedy: One of you all walk us through the quick start just so people know what's involved.
- 46:21Rich lannone: Yeah.
- 46:21Rich lannone: So really that command,
- 46:23Rich lannone: like great docs init,
- 46:24Rich lannone: that'll make the file that is basically what
- 46:25Rich lannone: you need for the build.
- 46:27Rich lannone: And with a lot of testing,
- 46:29Rich lannone: it should work on many different Python package layouts and
- 46:32Rich lannone: types.
- 46:33Rich lannone: So you just need that.
- 46:34Rich lannone: Of course, yeah, install great docs,
- 46:36Rich lannone: install Quarto as well.
- 46:37Rich lannone: So we got that as well before that.
- 46:40Rich lannone: But once you have those things, it should do what it says on the screen, basically show
- 46:43Rich lannone: you stuff in the terminal,
- 46:44Rich lannone: which is all positive.
- 46:45Rich lannone: It's creating that great docs.yaml file.
- 46:48Rich lannone: And it should be pretty minimal what's in there.
- 46:50Rich lannone: It should actually also be a little bit dynamic.
- 46:52Rich lannone: Based on your project,
- 46:53Rich lannone: it'll craft the correct great docs.yaml file or the config file.
- 46:59Rich lannone: And then you could go ahead and customize,
- 47:00Rich lannone: but you might just jump to building your documentation
- 47:03Rich lannone: because that's the next easiest thing.
- 47:05Rich lannone: It's just another command, great docs build.
- 47:07Rich lannone: and what you get is a great hyphen docs directory
- 47:12Rich lannone: in your working directory.
- 47:14Rich lannone: And that contains like the site folder.
- 47:15Rich lannone: But you don't really have to worry about that
- 47:17Rich lannone: because you have another command called great docs preview,
- 47:19Rich lannone: which will basically launch like a web server
- 47:23Rich lannone: and then put the site in your default browser,
- 47:27Rich lannone: basically just like let you see the site locally.
- 47:29Rich lannone: And then because I'm a big fan of like people know what's going on,
- 47:32Rich lannone: so it should be totally a black box.
- 47:34Rich lannone: I give on this page, like a structure,
- 47:36Rich lannone: the basic structure of like how it should look
- 47:39Rich lannone: in your working directory.
- 47:40Rich lannone: But that's kind of it.
- 47:41Rich lannone: And I believe the next step for most people
- 47:43Rich lannone: will just be getting this on CI if they're satisfied
- 47:45Rich lannone: and then just working from there,
- 47:46Rich lannone: like modifying their initialization,
- 47:49Rich lannone: not initialization,
- 47:50Rich lannone: their config file
- 47:52Rich lannone: to give the site more customization personality
- 47:55Rich lannone: and there'll be authoring guides and things like that.
- 47:57Michael Kennedy: You've got the really nice watch feature.
- 48:00Michael Kennedy: So great docs build --watch.
- 48:02Michael Kennedy: Yes.
- 48:02Michael Kennedy: Which feels very Hugo to me.
- 48:04Michael Kennedy: Like you're going to build it so you can look at it, but then you want to edit it.
- 48:07Michael Kennedy: So just,
- 48:08Michael Kennedy: if you see any changes,
- 48:09Michael Kennedy: just rebuild,
- 48:10Michael Kennedy: right?
- 48:10Rich lannone: Yeah, exactly.
- 48:11Rich lannone: Small sites will build fast, but this is way faster,
- 48:14Rich lannone: obviously.
- 48:14Rich lannone: So yeah,
- 48:15Rich lannone: this is pretty essential for iterating,
- 48:17Rich lannone: especially initially.
- 48:18Michael Kennedy: Yeah.
- 48:18Michael Kennedy: Yeah.
- 48:18Michael Kennedy: And what about this version?
- 48:20Michael Kennedy: So this is an interesting aspect of the project.
- 48:22Rich lannone: Versions.
- 48:23Rich lannone: Well,
- 48:25Rich lannone: essentially you may have,
- 48:27Rich lannone: you know,
- 48:27Rich lannone: multiple tagged versions of your site.
- 48:29Rich lannone: And this, this is kind of like a wild thing.
- 48:31Rich lannone: You can have different documentation sites based on your version because you have,
- 48:36Rich lannone: for instance,
- 48:36Rich lannone: new things in your API.
- 48:38Michael Kennedy: Right. People maybe know that from Python where you can go up here and drop down.
- 48:41Michael Kennedy: Exactly. Like version selectors.
- 48:42Rich lannone: So this is kind of like just seeing like certain versions of your site and it gives you a selector.
- 48:46Rich lannone: On the GreatDocs site itself,
- 48:47Rich lannone: we have a selector which is maximal.
- 48:49Rich lannone: It has like every single version from the very first.
- 48:52Rich lannone: And you can cruise in there and you'll see that there'll be way less in the earliest versions.
- 48:56Rich lannone: Like the,
- 48:57Rich lannone: if you look at the user guide for 0.1,
- 49:00Rich lannone: which gives a little icon,
- 49:01Rich lannone: a little scary saying it's unsupported.
- 49:02Rich lannone: If you look at the user guide, it's pretty sparse.
- 49:04Rich lannone: Like it's, you know, it's not as long as the other one.
- 49:07Rich lannone: And if you look at the reference as well,
- 49:09Rich lannone: it'll have less items.
- 49:11Rich lannone: So it's aware of like what's available in which versions.
- 49:15Rich lannone: And so you sort of set that up yourself or you can just do it through that command.
- 49:19Michael Kennedy: Is that based on get tags or what is that?
- 49:21Michael Kennedy: Based on get tags.
- 49:22Michael Kennedy: Yeah, that's right.
- 49:22Michael Kennedy: Okay.
- 49:23Michael Kennedy: I was wondering how does it even know?
- 49:24Rich lannone: Yeah, you have to give it some information.
- 49:26Rich lannone: Like you have to,
- 49:27Rich lannone: of course, get the tags, but if you actually configure it to do what's doing here,
- 49:30Rich lannone: like make the site,
- 49:31Rich lannone: you just change your configuration to have,
- 49:33Rich lannone: it's basically just like a small config that you have to do.
- 49:37Rich lannone: And you can set labels and things like that.
- 49:39Michael Kennedy: Can I wildcard it or have it somehow pick up all the versions?
- 49:43Michael Kennedy: I mean, you don't want to pick up all tags, but it'd be like star dot star.
- 49:47Rich lannone: I don't think we have version expressions like that yet.
- 49:49Rich lannone: Yeah.
- 49:49Michael Kennedy: Not yet.
- 49:50Michael Kennedy: Okay.
- 49:51Rich lannone: You know, throw it in there.
- 49:52Michael Kennedy: I'm just thinking if I have a project with 27 versions over time.
- 49:56Rich lannone: Yeah, you probably wouldn't do it through like this interface,
- 49:58Rich lannone: like Great Docs build.
- 49:59Rich lannone: This is just for like a pretty quick comparison.
- 50:02Rich lannone: But if you would do it, like you probably put that in the config file and you'd have to
- 50:07Rich lannone: manually edit those.
- 50:07Rich lannone: But I think with a slot or something like that would be better.
- 50:10Michael Kennedy: And there's an API,
- 50:11Michael Kennedy: of course, if you want to just have a little control.
- 50:13Michael Kennedy: Yeah,
- 50:13Rich lannone: it's kind of, you wouldn't do this,
- 50:14Rich lannone: but it's just,
- 50:15Rich lannone: I threw it in there.
- 50:16Michael Kennedy: Well,
- 50:17Michael Kennedy: probably because your commands use that,
- 50:19Michael Kennedy: right?
- 50:19Michael Kennedy: Yeah, exactly.
- 50:20Michael Kennedy: Might as well just let people know that.
- 50:22Rich lannone: Just being transparent.
- 50:22Michael Kennedy: I suppose. Yeah. Where do we want to go next? Let's,
- 50:24Michael Kennedy: let's cover just a couple,
- 50:26Michael Kennedy: couple of remaining things here while we're,
- 50:28Michael Kennedy: we got time to have, what about open source
- 50:31Michael Kennedy: sustainability?
- 50:32Michael Kennedy: Like I know you all at Posit are doing a lot of things to open source
- 50:36Michael Kennedy: your work and so on.
- 50:37Rich lannone: Yeah.
- 50:38Rich lannone: Well, we're pretty much like full-time doing open source work.
- 50:41Rich lannone: So essentially,
- 50:43Rich lannone: and so I think these projects have like long life cycles with the same maintainer
- 50:47Rich lannone: for long periods of time,
- 50:48Rich lannone: which is great for project stability and things like that. And like,
- 50:52Rich lannone: you know,
- 50:52Rich lannone: we're accountable for like, you know, issues that come in and for, you know, releases
- 50:56Rich lannone: and making sure,
- 50:57Rich lannone: you know, it's not,
- 50:59Rich lannone: you know, like dead projects,
- 51:00Rich lannone: you know, like all the way
- 51:01Rich lannone: down or whatever.
- 51:02Rich lannone: So I think,
- 51:03Rich lannone: I think that's a great thing.
- 51:04Rich lannone: And for instance,
- 51:05Rich lannone: like great tables,
- 51:06Rich lannone: I've been at this since the beginning,
- 51:07Rich lannone: GT,
- 51:08Rich lannone: which is where it came from since 2017.
- 51:10Rich lannone: So I think that
- 51:11Rich lannone: helps a lot. Adds a lot of credibility to these projects that are not just being abandoned.
- 51:15Rich lannone: There's
- 51:15Rich lannone: no fear of it being abandoned or things like that.
- 51:18Rich lannone: There's,
- 51:18Rich lannone: there's a person there at least.
- 51:20Michael Kennedy: Yeah, and I think Posit's found an interesting business model
- 51:23Michael Kennedy: that's been long-term sustaining,
- 51:26Michael Kennedy: but still allows you, as you said,
- 51:28Michael Kennedy: to sort of work in open source.
- 51:30Michael Kennedy: Michael, we're joking.
- 51:31Michael Chow: Yeah,
- 51:31Michael Chow: it's really interesting.
- 51:33Michael Chow: And it's almost like not diving crazy deep
- 51:37Michael Chow: and doing a podcast.
- 51:38Michael Chow: My favorite thing to say to people is that
- 51:40Michael Chow: we have a really large open source engineering team,
- 51:42Michael Chow: dozens of open source engineers.
- 51:44Michael Chow: People often ask, how does Posit pay the bills
- 51:47Michael Chow: for people to work on open source?
- 51:49Michael Chow: And my favorite thing to say is like,
- 51:51Michael Chow: we have a bunch of boring enterprise tools and I'm
- 51:56Michael Chow: no shade on pause.
- 51:57Michael Chow: I actually think that this is the best case scenario.
- 52:00Michael Chow: Like we have a lot of tools that solve really painful problems.
- 52:04Michael Chow: If you're an enterprise,
- 52:06Michael Chow: they could be useful in other settings,
- 52:07Michael Chow: but it's like,
- 52:08Michael Chow: how do I
- 52:08Michael Chow: run a report every day?
- 52:11Michael Chow: Or how do I host like Jupyter notebooks or VS Code for my say like data team or our studio?
- 52:18Michael Chow: Those essentially pay the bills.
- 52:20Michael Chow: That's Posit Connect and Posit Teams.
- 52:22Michael Kennedy: You've got a team of data scientists,
- 52:24Michael Kennedy: but you don't necessarily have a DevOps team,
- 52:26Michael Kennedy: but you still want to have their stuff running reliably,
- 52:29Michael Kennedy: right?
- 52:29Michael Chow: Yeah,
- 52:30Michael Chow: and it's a hard problem.
- 52:31Michael Chow: If you're a company,
- 52:32Michael Chow: right, these are kind of tricky problems.
- 52:33Michael Chow: Or you have like a really mean IT team.
- 52:37Michael Chow: A cruel IT team could hamstring you for years.
- 52:41Michael Chow: But that's just to say we get to work on open source
- 52:44Michael Chow: because these tools exist.
- 52:46Michael Chow: And I think Posit exists,
- 52:48Michael Chow: I think, because the maintainers care so much about open source.
- 52:53Michael Chow: I will say in terms of sustainability,
- 52:55Michael Chow: one interaction I've really liked over the years is like in the docs realm,
- 53:02Michael Chow: there's this person.
- 53:02Michael Chow: I only know him as pawamoy,
- 53:05Michael Chow: his GitHub handle.
- 53:06Michael Chow: I think it's Maté or Timothy in France,
- 53:10Michael Chow: I think.
- 53:11Michael Chow: But he maintains the tools upstream of tools like quartodoc and GreatDocs.
- 53:17Michael Chow: And we've interacted a bit in the past where I've done PRs on his tools.
- 53:22Michael Chow: One's called Griffee.
- 53:24Michael Chow: And I think that's such an important part of sustainability too,
- 53:27Michael Chow: is that he works on a documentation tool,
- 53:30Michael Chow: mkdocstrings.
- 53:31Michael Chow: But we're all able to collaborate on his tool, Griff,
- 53:34Michael Chow: that actually powers all of our documentation sites.
- 53:37Michael Chow: So I think that's a really important piece.
- 53:40Michael Chow: I think to your point about being at PyCon and seeing people,
- 53:43Michael Chow: I think us as open source
- 53:44Michael Chow: maintainers chatting and even contributing and working on say like upstream tools is
- 53:50Michael Chow: a really important part of keeping the ecosystem healthy and sustainable.
- 53:54Michael Chow: We're not like multiple doc tools competing to a degree.
- 53:58Michael Chow: I do think they compete,
- 54:00Michael Chow: but ultimately like we're working on open source because we're
- 54:03Michael Chow: passionate.
- 54:03Michael Chow: And I think it helps to collaborate on our kind of like shared tools.
- 54:07Michael Kennedy: A hundred percent agree.
- 54:08Michael Kennedy: Very cool.
- 54:09Michael Kennedy: Now,
- 54:09Michael Kennedy: Rich, you mentioned that pretty new project.
- 54:12Michael Kennedy: Yeah.
- 54:13Michael Kennedy: Where are we going?
- 54:14Michael Kennedy: What's on the roadmap?
- 54:15Rich lannone: Yeah, lots of things.
- 54:16Rich lannone: I even have a roadmap on the site if anyone's interested.
- 54:20Rich lannone: But I think it'll be like a lot more like documentation for different things, like new things.
- 54:25Rich lannone: Like the other day,
- 54:26Rich lannone: I was suggested to create documentation for MCP servers.
- 54:29Rich lannone: I was like,
- 54:30Rich lannone: good idea.
- 54:31Rich lannone: We don't really have that.
- 54:32Rich lannone: And it's pretty easy to document JSON,
- 54:35Rich lannone: essentially.
- 54:36Rich lannone: So we can take that apart,
- 54:37Rich lannone: parse that, and present something.
- 54:38Michael Kennedy: that's a good point because if you look at the mcp servers they don't have structure in the way that
- 54:44Michael Kennedy: traditional projects do right they don't just have like a separate function for each thing they've got
- 54:49Michael Kennedy: this kind of weird invocation entry point where you pass like the tool you want to use and yeah it's
- 54:56Rich lannone: documentation suggestions things like that uh so i think we could do a pretty good job there that's
- 55:00Rich lannone: the idea is pretty new but like i guess we're yeah just trying to be where or go where things are
- 55:06Michael Kennedy: going and be a little bit ahead so would that somehow show itself as like where you've got the
- 55:12Michael Kennedy: um the api and the cli would there also be an mcp or what do you think it's gonna be a bit crowded
- 55:16Michael Kennedy: so i'm rethinking i know yeah yeah i was like i don't really know this would be it like but no
- 55:20Rich lannone: that's not quite it there's you know maybe one or two more things uh so it might be just a drop down
- 55:26Rich lannone: nav on the top like a drop down on the top nav so that's part of the part of like uh what i
- 55:32Rich lannone: have to think about.
- 55:33Rich lannone: But there's things like that. And also like a recent thing we just did,
- 55:36Rich lannone: and this is very new, so it's almost like it's new enough,
- 55:40Rich lannone: is like skills,
- 55:41Rich lannone: like publishing skills
- 55:42Rich lannone: and making them available and making them browsable,
- 55:45Rich lannone: right?
- 55:45Rich lannone: So on the very,
- 55:46Rich lannone: it's not top
- 55:47Rich lannone: level.
- 55:47Rich lannone: If you go to the first page,
- 55:48Rich lannone: there's like a sidebar on the right,
- 55:49Rich lannone: which gives you a lot of
- 55:50Rich lannone: metadata.
- 55:51Rich lannone: And one of the first few things is skills.
- 55:53Rich lannone: And that gives you like a page on how to install
- 55:55Rich lannone: these skills. So it's kind of like a,
- 55:57Rich lannone: almost like a way not to just distribute,
- 55:59Rich lannone: but a way to sort of
- 55:59Rich lannone: like get ahold of skills.
- 56:02Rich lannone: And there's a nice little sort of like disclosure there,
- 56:04Rich lannone: install these skills,
- 56:05Rich lannone: it gives you instructions on how to do such things.
- 56:08Rich lannone: And you can just browse the skills below
- 56:10Rich lannone: and see what's there.
- 56:11Rich lannone: You might just take bits of them,
- 56:12Rich lannone: make your own skill,
- 56:13Rich lannone: or you might just say,
- 56:14Rich lannone: no, these all look good.
- 56:15Rich lannone: I'll just follow these instructions
- 56:17Rich lannone: and install them for my project or globally.
- 56:19Michael Kennedy: So we're trying to make that a bit easier.
- 56:21Michael Kennedy: Yeah, it's super cool.
- 56:21Michael Kennedy: Yeah, it's super cool.
- 56:22Michael Kennedy: Yeah,
- 56:22Michael Kennedy: that kind of brings me to the last thing
- 56:24Michael Kennedy: that I wanna talk about is the AI-ification.
- 56:27Michael Kennedy: And by that, I don't mean,
- 56:29Michael Kennedy: How do I, are you using AI to write it or not?
- 56:32Michael Kennedy: Like I imagine there's some degree of that or whatever,
- 56:35Michael Kennedy: but if I am a person with a project package
- 56:38Michael Kennedy: or something I want to document,
- 56:40Michael Kennedy: AI is really good at going like,
- 56:42Michael Kennedy: well,
- 56:42Michael Kennedy: let me pull out all these pieces
- 56:44Michael Kennedy: and then like,
- 56:45Michael Kennedy: you know, sketch some stuff out for you.
- 56:47Michael Kennedy: Is there,
- 56:48Michael Kennedy: you know, and I can see now
- 56:49Michael Kennedy: that you pointed me in the right direction
- 56:51Michael Kennedy: that there's a whole AI section,
- 56:52Michael Kennedy: like how do AIs work with great docs,
- 56:55Michael Kennedy: right?
- 56:55Michael Kennedy: And so you've got the llms.txt,
- 56:57Michael Kennedy: which is really nice.
- 56:59Michael Kennedy: you know, I referenced that before.
- 57:00Michael Kennedy: People don't know there's an,
- 57:02Michael Kennedy: this comes from, I believe from Jeremy Howard.
- 57:04Michael Kennedy: Yeah,
- 57:05Michael Kennedy: that's right.
- 57:05Rich lannone: Yeah, we looked at this closely, yeah.
- 57:07Michael Kennedy: Putting,
- 57:07Michael Kennedy: yeah, so did I,
- 57:08Michael Kennedy: and I find it super interesting.
- 57:09Michael Kennedy: Like this,
- 57:10Michael Kennedy: the idea is that if you,
- 57:11Michael Kennedy: you know, there's a robots.txt
- 57:13Michael Kennedy: and a sitemap.xml.
- 57:15Michael Kennedy: These are standard web things on sites
- 57:17Michael Kennedy: that humans rarely use to get any value from,
- 57:20Michael Kennedy: but machines and traditionally search engines
- 57:23Michael Kennedy: really,
- 57:24Michael Kennedy: really do.
- 57:24Michael Kennedy: And so, well, what do we put for AI
- 57:27Michael Kennedy: to make it better, LLMs and so on?
- 57:28Michael Kennedy: is this llms.txt file that describes in Markdown
- 57:32Michael Kennedy: to the LLMs, like how you can better work with this.
- 57:34Michael Kennedy: With that,
- 57:35Michael Kennedy: you all have that, right?
- 57:36Michael Kennedy: So you've got your llms.txt and the full one.
- 57:41Michael Kennedy: You know, this is not something I'm doing.
- 57:42Michael Kennedy: Maybe I need to do a full one.
- 57:43Rich lannone: This one's interesting.
- 57:44Rich lannone: It's a lot.
- 57:45Rich lannone: So basically it's the entire bit of documentation
- 57:48Rich lannone: distilled down, not distilled,
- 57:49Rich lannone: but like written as one file,
- 57:50Rich lannone: essentially.
- 57:51Rich lannone: All doc strings mashed together,
- 57:52Rich lannone: you might say,
- 57:53Rich lannone: including guide material as well.
- 57:55Rich lannone: So that's all in there.
- 57:55Michael Kennedy: Yeah, and you've got these skills as well,
- 57:57Michael Kennedy: which is looking super interesting and also a pretty neat,
- 58:00Michael Kennedy: the CLI that you've created a couple of things on that.
- 58:03Michael Kennedy: First of all, that it will actually install the skills.
- 58:06Rich lannone: Yeah.
- 58:07Rich lannone: So if you're an author,
- 58:09Rich lannone: you would just use great docs,
- 58:11Rich lannone: install,
- 58:12Rich lannone: skill install,
- 58:12Rich lannone: and then they may be the name of your library for other people.
- 58:15Rich lannone: That's what other people would see on their sites.
- 58:16Michael Chow: That's an interesting piece.
- 58:18Michael Chow: Cause if I'm an,
- 58:18Michael Chow: I have to admit, I haven't seen the skills piece a lot,
- 58:21Michael Chow: but if I'm understanding rich too,
- 58:23Michael Chow: this means great docs is also for like kind of all users,
- 58:26Michael Chow: right?
- 58:26Michael Chow: Like people who are interested in reading or consuming docs or using it with AI.
- 58:31Michael Chow: Is that right?
- 58:32Michael Chow: I see.
- 58:32Michael Chow: So that's kind of where we're going more and more.
- 58:34Michael Kennedy: Yeah.
- 58:34Michael Kennedy: So it looks like you're really leaning into making great docs,
- 58:37Michael Kennedy: something that works well
- 58:38Michael Kennedy: if you're trying to generate docs and maintain with AI,
- 58:42Michael Kennedy: right?
- 58:42Rich lannone: We also want, if you point your agent at this site,
- 58:46Rich lannone: it should be able to find these things
- 58:47Rich lannone: pretty quickly.
- 58:48Rich lannone: And you can actually like use tools.
- 58:49Rich lannone: Like there's one called whatdoagentsc.runtime.app.
- 58:53Rich lannone: Just search it up.
- 58:54Rich lannone: You can put it in your URL and it'll show you what pieces are picked up by different agents.
- 58:58Rich lannone: It actually simulates it really nicely.
- 59:01Rich lannone: And I found that this sort of validated things that different agents do pick up LLMs.txt, LLMs.full.
- 59:07Rich lannone: And there's other little pieces of metadata,
- 59:11Rich lannone: things that go in the meta tag that can be picked up to like robots.txt and very accept,
- 59:16Rich lannone: things like that.
- 59:17Rich lannone: So we're working towards making this even easier.
- 59:20Rich lannone: Like you just point at the site or point at any site that you author using great docs and your agent should be able to find things pretty quick.
- 59:27Michael Kennedy: Very exciting.
- 59:28Michael Kennedy: I love it.
- 59:29Michael Kennedy: Okay.
- 59:29Michael Kennedy: And also just you mentioned that there's the CLI,
- 59:32Michael Kennedy: right?
- 59:33Michael Kennedy: Or I don't know what I was mentioning.
- 59:34Michael Kennedy: But the fact that there is a CLI is another really great enablement.
- 59:38Michael Kennedy: You can say, hey, Cloud or Codex or any of these tool using agentic AI is just like, here's the CLI to do the things.
- 59:44Michael Kennedy: Here's the docs and the skill.
- 59:47Michael Kennedy: Make this happen.
- 59:47Michael Kennedy: You know, right?
- 59:48Michael Kennedy: Yeah.
- 59:48Rich lannone: Yeah.
- 59:49Rich lannone: And you can even,
- 59:51Rich lannone: the skills I include,
- 59:52Rich lannone: like in great docs could be used to author your
- 59:54Rich lannone: own great doc site.
- 59:55Rich lannone: Like there's all sorts of things in there for like just how it works and like, you know,
- 59:59Rich lannone: like,
- 1:00:00Rich lannone: like writing pages,
- 1:00:01Rich lannone: they're kind of split up into like multiple name skills.
- 1:00:04Michael Kennedy: So you can, you can just use that or make your own skills.
- 1:00:07Michael Kennedy: Yeah.
- 1:00:07Michael Kennedy: Very neat.
- 1:00:08Michael Kennedy: All right.
- 1:00:08Michael Kennedy: Two really quick things.
- 1:00:09Michael Kennedy: I know we're pretty much out of time for you guys.
- 1:00:11Michael Kennedy: One,
- 1:00:12Michael Kennedy: what I get out of this is just a static site and I can just host it on any static
- 1:00:16Michael Kennedy: site place.
- 1:00:17Michael Kennedy: Okay.
- 1:00:17Michael Kennedy: That's really good.
- 1:00:18Michael Kennedy: For sure.
- 1:00:19Michael Kennedy: it could be netlify it could be you know pages for me on provide some fine grained instructions
- 1:00:26Rich lannone: for different uh hosts and things like that GitHub pages like seems like a nice default
- 1:00:30Rich lannone: it's not you know but of course yeah netlify Vercel things like that we provide some hints
- 1:00:35Michael Kennedy: that it works for me i i was running on netlify for a while but i actually had my monitoring
- 1:00:40Michael Kennedy: software monitoring it and it actually went down surprisingly often i'm like why is my static site
- 1:00:45Michael Kennedy: going down this makes no sense so i've ended up recently i've already got like a big server with
- 1:00:50Michael Kennedy: tons of sites so i just i'll just have a config on nginx that just runs it you know and so there's
- 1:00:55Michael Chow: a lot of options there yeah it's so interesting not not to dwell on it but i do remember you saying
- 1:00:59Michael Chow: i think on a podcast with um hugo talking about your Hugo Van Kemenade your approach that you're
- 1:01:06Michael Chow: you have way less downtime than even some of the cloud providers so not not to go too deep
- 1:01:11Michael Kennedy: that's interesting to hear about let's it is i i could go for hours on this so be careful there
- 1:01:18Michael Kennedy: michael i find it really interesting that you just the extreme simplicity of like i've got a server
- 1:01:25Michael Kennedy: and either it's got a self-contained python and database runtime or it's just even a static site
- 1:01:31Michael Kennedy: that goes a long ways you know really long ways instead of like all the 100 connected services
- 1:01:36Michael Kennedy: powered by some dynamic thing underneath.
- 1:01:39Michael Kennedy: And if one of them goes down, it takes a chunk with it.
- 1:01:41Michael Chow: Yeah,
- 1:01:42Michael Chow: yeah,
- 1:01:42Michael Chow: for sure.
- 1:01:43Michael Kennedy: Maybe that was my last question.
- 1:01:44Michael Kennedy: I think just the deployment side of things is really interesting.
- 1:01:48Michael Kennedy: So it sounds like just wherever,
- 1:01:49Michael Kennedy: right?
- 1:01:50Michael Kennedy: Anything that serves static files, you get to go.
- 1:01:52Rich lannone: Pretty much, yeah.
- 1:01:52Rich lannone: Because you get the site directory and you just go with that.
- 1:01:56Rich lannone: Like it's complete site in a directory.
- 1:01:57Michael Kennedy: Yeah, okay.
- 1:01:58Michael Kennedy: So the second, now I remember, the second thing I wanted to talk about was
- 1:02:01Michael Kennedy: if I go over to the user guide and I do a quick start,
- 1:02:04Michael Kennedy: You show me the structure and I get this here,
- 1:02:08Michael Kennedy: this yourprojectgreatdocs.aml, greatdocs, et cetera, et cetera.
- 1:02:12Michael Kennedy: So it looks like the recommendation is to have great docs
- 1:02:16Michael Kennedy: as a sub directory of your actual things that it is documenting.
- 1:02:23Michael Kennedy: Is that right?
- 1:02:23Michael Kennedy: Sort of, but you don't have to keep it.
- 1:02:25Rich lannone: I mean, like it's just going to appear there when you render locally
- 1:02:29Rich lannone: and you can look at the site, you can preview it,
- 1:02:31Rich lannone: but you can just delete it.
- 1:02:32Rich lannone: I can have it on CI or whatever,
- 1:02:34Rich lannone: like on your CI system or however you're deploying.
- 1:02:36Michael Kennedy: Like your step could be build and then copy and then delete.
- 1:02:39Michael Kennedy: Yeah,
- 1:02:40Michael Kennedy: exactly.
- 1:02:40Michael Kennedy: The folder,
- 1:02:41Michael Kennedy: not necessarily the YAML.
- 1:02:43Michael Kennedy: Well, yeah, you want to keep that.
- 1:02:44Rich lannone: Yeah,
- 1:02:44Rich lannone: yeah,
- 1:02:44Rich lannone: that's config.
- 1:02:45Rich lannone: So that, commit that.
- 1:02:47Rich lannone: And hopefully I sort of like outlined it here on this page,
- 1:02:49Rich lannone: what should be like,
- 1:02:50Rich lannone: you know,
- 1:02:50Rich lannone: committed.
- 1:02:51Rich lannone: And we automatically .gitignore some things too.
- 1:02:52Rich lannone: So you don't accidentally commit things.
- 1:02:54Rich lannone: You don't have to.
- 1:02:54Michael Kennedy: If I want to do the freeze though, I probably have to keep it.
- 1:02:57Michael Kennedy: Yeah.
- 1:02:57Rich lannone: No,
- 1:02:58Rich lannone: we actually work around that.
- 1:02:59Rich lannone: So we do like a, like a pre.
- 1:03:02Rich lannone: We got a little system there.
- 1:03:03Rich lannone: So I know it wipes everything out,
- 1:03:04Rich lannone: but we have a freeze mechanism
- 1:03:05Rich lannone: that sort of works around
- 1:03:06Rich lannone: this sort of like ephemeral nature of things.
- 1:03:09Rich lannone: Yeah,
- 1:03:09Rich lannone: still uses Quarto freeze.
- 1:03:10Rich lannone: So it just does it a little bit different.
- 1:03:12Michael Kennedy: Yeah, very interesting.
- 1:03:13Michael Kennedy: Okay, final thoughts.
- 1:03:15Michael Kennedy: People are interested in this.
- 1:03:16Michael Kennedy: They want to get started.
- 1:03:17Michael Kennedy: What do you tell them?
- 1:03:18Rich lannone: Yeah, just check out the site.
- 1:03:19Rich lannone: I'm hoping you'll be not wowed,
- 1:03:22Rich lannone: but that it will resonate a little bit
- 1:03:24Rich lannone: and the site should demonstrate what's possible.
- 1:03:28Rich lannone: And again,
- 1:03:29Rich lannone: like, you know,
- 1:03:30Rich lannone: Even just like have your agent,
- 1:03:32Rich lannone: like, you know, like have some AI,
- 1:03:34Rich lannone: take a small Python package
- 1:03:36Rich lannone: of yours and see what it could do.
- 1:03:38Rich lannone: Take it for a little spin.
- 1:03:39Rich lannone: And if there's anything that you think is missing or lacking,
- 1:03:42Rich lannone: just drop me a line,
- 1:03:43Rich lannone: like
- 1:03:43Rich lannone: through the issues.
- 1:03:44Rich lannone: That's like,
- 1:03:45Rich lannone: that's basically it.
- 1:03:46Michael Kennedy: Can I publish on read, read the docs?
- 1:03:48Rich lannone: I don't think we have that yet.
- 1:03:49Rich lannone: Yeah.
- 1:03:50Rich lannone: I actually never even considered that as a, as a publishing point.
- 1:03:54Michael Kennedy: One of the standard places to put docs,
- 1:03:57Michael Kennedy: not necessarily required,
- 1:03:58Michael Kennedy: but it's, it'd be interesting,
- 1:03:59Michael Kennedy: you know?
- 1:03:59Rich lannone: Okay.
- 1:04:00Rich lannone: I'm going to log that down.
- 1:04:01Rich lannone: That's already like,
- 1:04:02Rich lannone: that's a good one.
- 1:04:02Michael Kennedy: All right. We're rewriting the roadmap live here.
- 1:04:05Michael Chow: Yeah.
- 1:04:06Michael Chow: That's a toughie.
- 1:04:07Michael Chow: You threw down the gauntlet,
- 1:04:09Michael Chow: you know, this is it.
- 1:04:12Michael Kennedy: Sounds good.
- 1:04:13Michael Kennedy: Well,
- 1:04:13Michael Kennedy: I really appreciate you both being here.
- 1:04:16Michael Kennedy: Michael,
- 1:04:16Michael Kennedy: you want to have a final word as well of inspiration for folks?
- 1:04:19Michael Kennedy: What a great question.
- 1:04:20Michael Chow: I,
- 1:04:21Michael Chow: my, my final nudge might be like,
- 1:04:23Michael Chow: we talked a lot about generating docs, the kind of technical activity.
- 1:04:27Michael Chow: I do think there's this world of how do you write docs?
- 1:04:30Michael Chow: Like what should your content be?
- 1:04:32Michael Chow: And what should your sections of your doc site be?
- 1:04:34Michael Chow: Obviously we're saying goodbye.
- 1:04:36Michael Chow: So that's,
- 1:04:37Michael Chow: we don't want to open that can of worms.
- 1:04:38Michael Chow: But I just wanted to cast a light on that.
- 1:04:41Michael Chow: That is a freaky big area on its own.
- 1:04:45Michael Chow: I don't have great answers.
- 1:04:47Michael Chow: So I'm just throwing some problems on people's laps.
- 1:04:49Michael Chow: But I think that's a neat freaky area that is worth checking out.
- 1:04:54Michael Kennedy: I think what you're doing is you're setting the stage for another episode in the future.
- 1:04:58Michael Kennedy: Yeah, that's right.
- 1:05:00Michael Chow: We're just trying to make it a three,
- 1:05:02Michael Chow: you know,
- 1:05:03Michael Chow: like a trilogy.
- 1:05:04Michael Chow: So we're trying to get our third visit in.
- 1:05:07Michael Kennedy: Perfect.
- 1:05:08Michael Kennedy: All right.
- 1:05:08Michael Kennedy: Well,
- 1:05:09Michael Kennedy: Rich,
- 1:05:09Michael Kennedy: Michael,
- 1:05:09Michael Kennedy: thanks for being here.
- 1:05:10Michael Kennedy: It's great as always.
- 1:05:11Michael Kennedy: Thanks so much for having us.
- 1:05:12Michael Kennedy: Yeah.
- 1:05:12Michael Kennedy: Bye.
- 1:05:13Michael Kennedy: Thanks.
- 1:05:14Michael Kennedy: This has been another episode of Talk Python To Me.
- 1:05:17Michael Kennedy: Thank you to our sponsors.
- 1:05:18Michael Kennedy: Be sure to check out what they're offering.
- 1:05:19Michael Kennedy: It really helps support the show.
- 1:05:21Michael Kennedy: This episode is brought to you by Sentry.
- 1:05:24Michael Kennedy: You know Sentry for the error monitoring,
- 1:05:25Michael Kennedy: but they now have logs too.
- 1:05:27Michael Kennedy: And with Sentry,
- 1:05:28Michael Kennedy: your logs become way more usable,
- 1:05:30Michael Kennedy: interleaving into your error reports to enhance debugging and understanding.
- 1:05:35Michael Kennedy: Get started today at talkpython.fm/sentry.
- 1:05:39Michael Kennedy: And it's brought to you by Temporal,
- 1:05:41Michael Kennedy: durable workflows for Python.
- 1:05:42Michael Kennedy: Write your workflows as normal Python code,
- 1:05:45Michael Kennedy: and Temporal ensures they run reliably,
- 1:05:47Michael Kennedy: even across crashes and restarts.
- 1:05:50Michael Kennedy: Get started at talkpython.fm/Temporal.
- 1:05:53Michael Kennedy: If you or your team needs to learn Python,
- 1:05:55Michael Kennedy: we have over 270 hours of beginner and advanced courses on topics ranging from complete beginners to async code, Flask, Django,
- 1:06:03Michael Kennedy: HTML,
- 1:06:04Michael Kennedy: and even LLMs.
- 1:06:05Michael Kennedy: Best of all,
- 1:06:06Michael Kennedy: there's no subscription in sight.
- 1:06:08Michael Kennedy: Browse the catalog at talkpython.fm.
- 1:06:11Michael Kennedy: And if you're not already subscribed to the show on your favorite podcast player,
- 1:06:14Michael Kennedy: what are you waiting for?
- 1:06:16Michael Kennedy: Just search for Python in your podcast player.
- 1:06:18Michael Kennedy: We should be right at the top.
- 1:06:19Michael Kennedy: If you enjoy that geeky rap song,
- 1:06:21Michael Kennedy: you can download the full track.
- 1:06:22Michael Kennedy: The link is actually in your podcast below or share notes.
- 1:06:25Michael Kennedy: This is your host,
- 1:06:26Michael Kennedy: Michael Kennedy.
- 1:06:26Michael Kennedy: Thank you so much for listening.
- 1:06:28Michael Kennedy: I really appreciate it.
- 1:06:29Michael Kennedy: I'll see you next time.
- 1:06:48Michael Kennedy: of getting old.
- 1:06:50Rich lannone: We tapped into that modern vibe
- 1:06:53Rich lannone: overcame each storm.
- 1:06:55Michael Chow: Talk Python To Me.
- 1:06:56Michael Chow: I sync is the norm.
- 1:07:27Michael Chow: Продолжение следует...