chore: Run postgrest-style on docs files

This prevents CI from failing after the merge.
This commit is contained in:
Wolfgang Walther
2024-02-17 13:43:50 +01:00
parent 4954859d68
commit 311a38193b
3 changed files with 93 additions and 93 deletions
+6 -6
View File
@@ -4,15 +4,15 @@ from livereload import Server, shell
from subprocess import call
if len(sys.argv) == 1:
locale = 'default'
build = './build.sh'
locale = "default"
build = "./build.sh"
else:
locale = sys.argv[1]
build = f'./build.sh {locale}'
build = f"./build.sh {locale}"
call(build, shell=True)
server = Server()
server.watch('**/*.rst', shell(build))
server.watch(f'locales/{locale}/LC_MESSAGES/*.po', shell(build))
server.serve(root=f'_build/html/{locale}')
server.watch("**/*.rst", shell(build))
server.watch(f"locales/{locale}/LC_MESSAGES/*.po", shell(build))
server.serve(root=f"_build/html/{locale}")