mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +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:
parent
062c0a5b58
commit
f2c696f016
@ -8,7 +8,7 @@
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
LEVEL := ..
|
||||
DIRS := CommandGuide tutorial
|
||||
DIRS := CommandGuide
|
||||
|
||||
ifdef BUILD_FOR_WEBSITE
|
||||
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.
|
||||
basedir = os.path.dirname(__file__)
|
||||
html_additional_pages = {}
|
||||
for file in os.listdir(basedir):
|
||||
if file.endswith('.html'):
|
||||
name,_ = os.path.splitext(file)
|
||||
html_additional_pages[name] = file
|
||||
for directory in ('', 'tutorial'):
|
||||
for file in os.listdir(os.path.join(basedir, directory)):
|
||||
if not file.endswith('.html'):
|
||||
continue
|
||||
|
||||
subpath = os.path.join(directory, file)
|
||||
name,_ = os.path.splitext(subpath)
|
||||
html_additional_pages[name] = subpath
|
||||
|
||||
# If false, no module index is generated.
|
||||
#html_domain_indices = True
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Tutorial Introduction and the Lexer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Implementing a Parser and AST</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Implementing code generation to LLVM IR</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Adding JIT and Optimizer Support</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Extending the Language: Control Flow</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Extending the Language: User-defined Operators</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
construction</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<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 name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="author" content="Chris Lattner">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<title>Kaleidoscope: Conclusion and other useful LLVM tidbits</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<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>
|
||||
|
||||
<body>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<meta name="author" content="Owen Anderson">
|
||||
<meta name="description"
|
||||
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>
|
||||
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user