print("Hi from Python!")
Hi from Python!
Iraitz Montalban
June 26, 2025
July 1, 2025
Documentation sites are probably one of the most valuable resources a developer or researcher can have. A good documentation site is priceless. I have been developing documentation sites with the usual suspects for a while:
Sometimes hosted on ReadTheDocs which makes it really easy to deploy, in other cases hosted in Github Pages. During the last month I have been exploring Quarto which was one my tech to review list for a while. Really cool project indeed. In fact, this blog is all done using it.
It is challenging to build sites when you come from the data domain. No idea about CSS or Javascript but you want your site to look cool and engaging. Well, Quarto does this using pure Markdown like many others. It has its own extension .qmd
but it also allows for Jupyter Notebooks or pure MD files to be rendered. This is often a challenge in other frameworks as you need to install extensions to do that (ex Markdown on Sphinx).
Quarto supports those formats by default.
Well, it supports the infamous trifecta of languages that gave name to Jupyter (Julia, Python and R) but also Observable plots.
Just by simply adding {python}
to your code blocks, if you are using .qmd
extension, it will execute and render the page for you.
So you can simply install it and get you project running… Quarto will ask you about the type of project you would like to run…
So essentially with that you can create a plethora of content formats… checkout the gallery.
Sometimes you need to render your site to a PDF (I know, I know) and things get tricky when PDF is involved. I used to use Sphinx when I knew there was a chance for that happening but know, Quarto has my back having the ease of use of MKDocs.
You can have a look at Quarto’s guide, really easy to understand and start working and full of examples for articles, books or blogs such as this one to be created. Give it a chance.