docs: only apply magic to scripts
docs: only apply magic to scripts

Change-Id: I651ccd9a621b59280923ab6c7f2fda4bd06708d7

h4ck3rm1k3/pywikibot-core,npdoty/pywikibot,Darkdadaah/pywikibot-core,hasteur/g13bot_tools_new,h4ck3rm1k3/pywikibot-core,darthbhyrava/pywikibot-local,jayvdb/pywikibot-core,wikimedia/pywikibot-core,Darkdadaah/pywikibot-core,npdoty/pywikibot,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,hasteur/g13bot_tools_new,magul/pywikibot-core,wikimedia/pywikibot-core,icyflame/batman,hasteur/g13bot_tools_new,happy5214/pywikibot-core,magul/pywikibot-core,happy5214/pywikibot-core,smalyshev/pywikibot-core