llvm.org GIT mirror llvm / f2c696f
[docs] Include the Kaleidescope tutorial in the Sphinx docs build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156032 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 7 years ago
20 changed file(s) with 26 addition(s) and 52 deletion(s). Raw diff Collapse all Expand all
77 ##===----------------------------------------------------------------------===##
88
99 LEVEL := ..
10 DIRS := CommandGuide tutorial
10 DIRS := CommandGuide
1111
1212 ifdef BUILD_FOR_WEBSITE
1313 PROJ_OBJ_DIR = .
137137 # We load all the old-school HTML documentation pages into Sphinx here.
138138 basedir = os.path.dirname(__file__)
139139 html_additional_pages = {}
140 for file in os.listdir(basedir):
141 if file.endswith('.html'):
142 name,_ = os.path.splitext(file)
143 html_additional_pages[name] = file
140 for directory in ('', 'tutorial'):
141 for file in os.listdir(os.path.join(basedir, directory)):
142 if not file.endswith('.html'):
143 continue
144
145 subpath = os.path.join(directory, file)
146 name,_ = os.path.splitext(subpath)
147 html_additional_pages[name] = subpath
144148
145149 # If false, no module index is generated.
146150 #html_domain_indices = True
55 Kaleidoscope: Tutorial Introduction and the Lexer
66
77
8
8
99
1010
1111
55 Kaleidoscope: Implementing a Parser and AST
66
77
8
8
99
1010
1111
55 Kaleidoscope: Implementing code generation to LLVM IR
66
77
8
8
99
1010
1111
55 Kaleidoscope: Adding JIT and Optimizer Support
66
77
8
8
99
1010
1111
55 Kaleidoscope: Extending the Language: Control Flow
66
77
8
8
99
1010
1111
55 Kaleidoscope: Extending the Language: User-defined Operators
66
77
8
8
99
1010
1111
55 Kaleidoscope: Conclusion and other useful LLVM tidbits
66
77
8
8
99
1010
1111
+0
-30
docs/tutorial/Makefile less more
None ##===- docs/tutorial/Makefile ------------------------------*- Makefile -*-===##
1 #
2 # The LLVM Compiler Infrastructure
3 #
4 # This file is distributed under the University of Illinois Open Source
5 # License. See LICENSE.TXT for details.
6 #
7 ##===----------------------------------------------------------------------===##
8
9 LEVEL := ../..
10 include $(LEVEL)/Makefile.common
11
12 HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
13 PNG := $(wildcard $(PROJ_SRC_DIR)/*.png)
14 EXTRA_DIST := $(HTML) index.html
15 HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
16
17 install-local:: $(HTML)
18 $(Echo) Installing HTML Tutorial Documentation
19 $(Verb) $(MKDIR) $(HTML_DIR)
20 $(Verb) $(DataInstall) $(HTML) $(HTML_DIR)
21 $(Verb) $(DataInstall) $(PNG) $(HTML_DIR)
22 $(Verb) $(DataInstall) $(PROJ_SRC_DIR)/index.html $(HTML_DIR)
23
24 uninstall-local::
25 $(Echo) Uninstalling Tutorial Documentation
26 $(Verb) $(RM) -rf $(HTML_DIR)
27
28 printvars::
29 $(Echo) "HTML : " '$(HTML)'
55 Kaleidoscope: Conclusion and other useful LLVM tidbits
66
77
8
8
99
1010
1111
66
77
88 content="LLVM Tutorial: Table of Contents.">
9
9
1010
1111
1212