I recently experimented with lecture notes online using mkdocs material. Those are work in progress, available publicly on github for forking, correcting, pulling requests, as well as the template I am using.
The following lecture notes are available:
Advanced Scientific Programming
It is rather an introduction to scientific programming for mathematicians.
Still in the process of writing chapters 5 to 12 during this semester.