Open plaindocs opened 4 weeks ago
If we want to keep the current method, we could also write the entire page instead of using
A Year in the Life of The Better Docs Project
=============================================
.. datatemplate-video::
:source: /_data/2018.prague.speakers.yaml
:template: videos/video-detail.html
:key: 3
which would presumably be faster?
We used to generate all the video pages on the fly. And the build took ages, so we only build videos specifically if you turn it on, or on deployment.
Now we generate page stubs outside of the usual build, and commit the result. Although the stubs still load data from the YAML files. :man_shrugging:
Running a clean build on my laptop without building videos:
Running a clean build on my laptop building videos:
It's slower, but is it slower enough for the extra logic? @mxsasha