Re: [PATCH yocto-autobuilder-helper v16] Add a banner on the old documentation docs.
On Thu, 2022-05-12 at 13:33 +0100, Abongwa Amahnui Bonalais wrote:
Script to add banners to the old docs and outdated dunfell docs
This is really close but still not quite right. You're adding in two
copies of current_content here. It needs to be:
f.write(current_content.replace('<body>', '<body>' + html_replacement).replace('</body>', last_div + '</body>'))
so that only one copy of current_content is written.