mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
[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
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
|
|
||||||
LEVEL := ..
|
LEVEL := ..
|
||||||
DIRS := CommandGuide tutorial
|
DIRS := CommandGuide
|
||||||
|
|
||||||
ifdef BUILD_FOR_WEBSITE
|
ifdef BUILD_FOR_WEBSITE
|
||||||
PROJ_OBJ_DIR = .
|
PROJ_OBJ_DIR = .
|
||||||
|
12
docs/conf.py
12
docs/conf.py
@ -138,10 +138,14 @@ html_sidebars = {'index': 'indexsidebar.html'}
|
|||||||
# We load all the old-school HTML documentation pages into Sphinx here.
|
# We load all the old-school HTML documentation pages into Sphinx here.
|
||||||
basedir = os.path.dirname(__file__)
|
basedir = os.path.dirname(__file__)
|
||||||
html_additional_pages = {}
|
html_additional_pages = {}
|
||||||
for file in os.listdir(basedir):
|
for directory in ('', 'tutorial'):
|
||||||
if file.endswith('.html'):
|
for file in os.listdir(os.path.join(basedir, directory)):
|
||||||
name,_ = os.path.splitext(file)
|
if not file.endswith('.html'):
|
||||||
html_additional_pages[name] = file
|
continue
|
||||||
|
|
||||||
|
subpath = os.path.join(directory, file)
|
||||||
|
name,_ = os.path.splitext(subpath)
|
||||||
|
html_additional_pages[name] = subpath
|
||||||
|
|
||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
#html_domain_indices = True
|
#html_domain_indices = True
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Tutorial Introduction and the Lexer</title>
|
<title>Kaleidoscope: Tutorial Introduction and the Lexer</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Implementing a Parser and AST</title>
|
<title>Kaleidoscope: Implementing a Parser and AST</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Implementing code generation to LLVM IR</title>
|
<title>Kaleidoscope: Implementing code generation to LLVM IR</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Adding JIT and Optimizer Support</title>
|
<title>Kaleidoscope: Adding JIT and Optimizer Support</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Extending the Language: Control Flow</title>
|
<title>Kaleidoscope: Extending the Language: Control Flow</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Extending the Language: User-defined Operators</title>
|
<title>Kaleidoscope: Extending the Language: User-defined Operators</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
construction</title>
|
construction</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
##===- docs/tutorial/Makefile ------------------------------*- Makefile -*-===##
|
|
||||||
#
|
|
||||||
# The LLVM Compiler Infrastructure
|
|
||||||
#
|
|
||||||
# This file is distributed under the University of Illinois Open Source
|
|
||||||
# License. See LICENSE.TXT for details.
|
|
||||||
#
|
|
||||||
##===----------------------------------------------------------------------===##
|
|
||||||
|
|
||||||
LEVEL := ../..
|
|
||||||
include $(LEVEL)/Makefile.common
|
|
||||||
|
|
||||||
HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
|
|
||||||
PNG := $(wildcard $(PROJ_SRC_DIR)/*.png)
|
|
||||||
EXTRA_DIST := $(HTML) index.html
|
|
||||||
HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
|
|
||||||
|
|
||||||
install-local:: $(HTML)
|
|
||||||
$(Echo) Installing HTML Tutorial Documentation
|
|
||||||
$(Verb) $(MKDIR) $(HTML_DIR)
|
|
||||||
$(Verb) $(DataInstall) $(HTML) $(HTML_DIR)
|
|
||||||
$(Verb) $(DataInstall) $(PNG) $(HTML_DIR)
|
|
||||||
$(Verb) $(DataInstall) $(PROJ_SRC_DIR)/index.html $(HTML_DIR)
|
|
||||||
|
|
||||||
uninstall-local::
|
|
||||||
$(Echo) Uninstalling Tutorial Documentation
|
|
||||||
$(Verb) $(RM) -rf $(HTML_DIR)
|
|
||||||
|
|
||||||
printvars::
|
|
||||||
$(Echo) "HTML : " '$(HTML)'
|
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<meta name="author" content="Erick Tryzelaar">
|
<meta name="author" content="Erick Tryzelaar">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="author" content="Chris Lattner">
|
<meta name="author" content="Chris Lattner">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<meta name="author" content="Owen Anderson">
|
<meta name="author" content="Owen Anderson">
|
||||||
<meta name="description"
|
<meta name="description"
|
||||||
content="LLVM Tutorial: Table of Contents.">
|
content="LLVM Tutorial: Table of Contents.">
|
||||||
<link rel="stylesheet" href="../llvm.css" type="text/css">
|
<link rel="stylesheet" href="../_static/llvm.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user