summaryrefslogtreecommitdiffstats
path: root/sphinx/util/build_phase.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/build_phase.py')
-rw-r--r--sphinx/util/build_phase.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/sphinx/util/build_phase.py b/sphinx/util/build_phase.py
new file mode 100644
index 0000000..7f80aa5
--- /dev/null
+++ b/sphinx/util/build_phase.py
@@ -0,0 +1,12 @@
+"""Build phase of Sphinx application."""
+
+from enum import IntEnum
+
+
+class BuildPhase(IntEnum):
+ """Build phase of Sphinx application."""
+ INITIALIZATION = 1
+ READING = 2
+ CONSISTENCY_CHECK = 3
+ RESOLVING = 3
+ WRITING = 4