mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-09-03 18:14:53 +03:00
Use 4 CPUs on readthedocs by injection.
This commit is contained in:
12
_extensions/override_jobs.py
Normal file
12
_extensions/override_jobs.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Hackily injects -j4 into the RTD build process.
|
||||
# Can be removed if we find an easier way to inject it.
|
||||
|
||||
def setup(app):
|
||||
app.parallel = 4
|
||||
|
||||
return {
|
||||
"parallel_read_safe": True,
|
||||
"parallel_write_safe": True,
|
||||
}
|
||||
Reference in New Issue
Block a user