Let $M,N$ be smooth manifolds. It seems to be well known that if the sets $C^0(M,N)$ and $C^\infty(M,N)$ are equipped with the appropriate topologies (I suppose the weak/strong Whitney topology), then the inclusion $$C^\infty(M,N) \hookrightarrow C^0(M,N)$$ is a weak homotopy equivalence, see e.g. here. However, I don't know of any reference where this is proved explicitly.
Can anyone provide a reference that the above inclusion is a weak homotopy equivalence?
At most this requires the relative smoothing theorem: if $f: X \to N$ is $C^0$, and smooth on some closed subset $M$, then it is homotopic to a smooth map, with $f|_M$ fixed by this homotopy. Apply this to $X = S^n \times M$ to see that the map is a surjection on homotopy groups. (That is, we're smoothing a "sphere's worth" of continuous maps.) Now apply a version of this theorem with boundary on $S^n \times M \times I$ to see that it's an injection on homotopy groups. All of these theorems are proved in Hirsch, differential topology.