\usepackage{biblatex}
~\cite{Shirley2025RTW1}
@online{Shirley2025RTW1,
title = {Ray Tracing in One Weekend},
author = {Peter Shirley, Trevor David Black, Steve Hollasch},
year = {2025},
month = {April},
url = {https://raytracing.github.io/books/RayTracingInOneWeekend.html}
}