diff --git a/doc/Makefile b/doc/Makefile
index 792d427766cb808486c27bb67b9bfe75b4a412ec..2f64266f6abe65e77eeafa371371b55737d78090 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -16,7 +16,7 @@ help:
 
 # Catch-all target: route all unknown targets to Sphinx using the new
 # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
-html: Makefile doxygen-lab1/xml/index.xml doxygen-lab3/xml/index.xml
+html: Makefile doxygen-lab2/xml/index.xml doxygen-lab3/xml/index.xml
 	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
 	rm -rf "$(SOURCEDIR)/html/_source"
 
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0f5c711bab74b7b8d6c24a0275ab8848d97b2382..76da420159a6d79f912e91921fc68e5a6524c15d 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -135,7 +135,7 @@ imgmath_dvisvgm_args = ['--no-fonts', '--exact']
 highlight_language = 'c++'
 
 breathe_projects = {
-  "lab1": "../doxygen-lab1/xml",
+  "lab2": "../doxygen-lab2/xml",
   "lab3": "../doxygen-lab3/xml"
 }
 
diff --git a/doc/source/doxygen.rst b/doc/source/doxygen.rst
index b0783ba02390c8893b59a70efad3a3bb2241dc41..c14f9e1a3ae4dcea5e8f092f320311ed1cb8782c 100644
--- a/doc/source/doxygen.rst
+++ b/doc/source/doxygen.rst
@@ -1,11 +1,11 @@
 Source Documentation
 ====================
 
-Lab1
+Lab2
 ----
 
 .. doxygenindex::
-  :project: lab1
+  :project: lab2
 
 Lab3-4
 ------
diff --git a/doc/source/lab1.rst b/doc/source/lab1.rst
index 3c49785d4a085261c3e382eaab03c816b4a0df70..3c0435feecf31ba4311528abf5979f0b4c2ec153 100644
--- a/doc/source/lab1.rst
+++ b/doc/source/lab1.rst
@@ -1,4 +1,4 @@
-Lab 2: Scanner Specification
+Lab 1: Scanner Specification
 ============================
 
 The scanner is the part of the compiler responsible for grouping characters in the input stream into tokens which are used by the parser.