diff --git a/build.vsh b/build.vsh index 4fa035657..88b425f92 100644 --- a/build.vsh +++ b/build.vsh @@ -1,8 +1,13 @@ import os import log +os.chdir(os.dir(@FILE))! + log.info('start generating html pages from docs.md') +log.info(' ensure we are working on top of the latest changes ...') +os.system('git pull --rebase origin main') + log.info(' cloning latest version of the generator sources ...') os.system('rm -rf docs_generator/') os.system('git clone --branch generator https://github.com/vlang/docs docs_generator/')