Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antoine Martin
quickref
Commits
1e98f9c2
Commit
1e98f9c2
authored
Nov 13, 2017
by
Antoine Martin
Browse files
Move html header to template file
Fixes
#51
parent
a07ccb14
Changes
2
Hide whitespace changes
Inline
Side-by-side
header.template
0 → 100644
View file @
1e98f9c2
<!DOCTYPE html>
<html>
<head>
<title>
Quickref
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/document.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/main.css"
>
</head>
<body>
<h1>
Quickref
</h1>
<div
class=
"header"
>
<h4>
Reference manuals for Quicklisp libraries.
</h4>
<p>
Quicklisp version ~A
</p>
<p>
Documentation generated with
<a
href=
"https://www.lrde.epita.fr/~~didier/software/lisp/misc.php#declt"
>
Declt ~A
</a>
.
</p>
</div>
<div
class=
"floating"
>
<table><tr><th
valign=
"top"
>
Jump to:
</th>
<td>
<a
class=
"summary-letter"
href=
"#number"
><b>
#
</b></a>
<a
class=
"summary-letter"
href=
"#A"
><b>
A
</b></a>
<a
class=
"summary-letter"
href=
"#B"
><b>
B
</b></a>
<a
class=
"summary-letter"
href=
"#C"
><b>
C
</b></a>
<a
class=
"summary-letter"
href=
"#D"
><b>
D
</b></a>
<a
class=
"summary-letter"
href=
"#E"
><b>
E
</b></a>
<a
class=
"summary-letter"
href=
"#F"
><b>
F
</b></a>
<a
class=
"summary-letter"
href=
"#G"
><b>
G
</b></a>
<a
class=
"summary-letter"
href=
"#H"
><b>
H
</b></a>
<a
class=
"summary-letter"
href=
"#I"
><b>
I
</b></a>
<a
class=
"summary-letter"
href=
"#J"
><b>
J
</b></a>
<a
class=
"summary-letter"
href=
"#K"
><b>
K
</b></a>
<a
class=
"summary-letter"
href=
"#L"
><b>
L
</b></a>
<a
class=
"summary-letter"
href=
"#M"
><b>
M
</b></a>
<a
class=
"summary-letter"
href=
"#N"
><b>
N
</b></a>
<a
class=
"summary-letter"
href=
"#O"
><b>
O
</b></a>
<a
class=
"summary-letter"
href=
"#P"
><b>
P
</b></a>
<a
class=
"summary-letter"
href=
"#Q"
><b>
Q
</b></a>
<a
class=
"summary-letter"
href=
"#R"
><b>
R
</b></a>
<a
class=
"summary-letter"
href=
"#S"
><b>
S
</b></a>
<a
class=
"summary-letter"
href=
"#T"
><b>
T
</b></a>
<a
class=
"summary-letter"
href=
"#U"
><b>
U
</b></a>
<a
class=
"summary-letter"
href=
"#V"
><b>
V
</b></a>
<a
class=
"summary-letter"
href=
"#W"
><b>
W
</b></a>
<a
class=
"summary-letter"
href=
"#X"
><b>
X
</b></a>
<a
class=
"summary-letter"
href=
"#Y"
><b>
Y
</b></a>
<a
class=
"summary-letter"
href=
"#Z"
><b>
Z
</b></a>
</td>
</tr></table>
</div>
<table
class=
"index-cp"
border=
"0"
>
<tr><td></td><th
align=
"left"
>
Index Entry
</th></tr>
website.lisp
View file @
1e98f9c2
...
...
@@ -46,7 +46,7 @@
(
if
(
and
(
is-number
previous
)
(
is-number
new
))
t
(
char
=
previous
new
)))
(
string
=
previous
new
)))
(
defun
print-index-letter
(
letter
file
)
(
if
(
is-number
letter
)
...
...
@@ -56,40 +56,14 @@
upletter
upletter
))))
(
defun
print-index-header
(
file
)
(
format
file
"<!DOCTYPE html>
<html>
<head>
<title>Quickref</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"/document.css\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/main.css\">
</head>
<body>
<h1>Quickref</h1>
<div class=\"header\">
<h4>Reference manuals for Quicklisp libraries.</h4>
<p>Quicklisp version ~A</p>
<p>Documentation generated with <a href=\"https://www.lrde.epita.fr/~~didier/software/lisp/misc.php#declt\">Declt ~A</a>.</p>
</div>
<div class=\"floating\">
<table><tr><th valign=\"top\">Jump to: </th>
<td>
<a class=\"summary-letter\" href=\"#number\"><b>#</b></a>
~%"
(
ql-dist:version
(
ql-dist:find-dist
"quicklisp"
))
(
net.didierverna.declt.setup:version
:long
))
(
loop
for
c
across
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
do
(
format
file
"<a class=\"summary-letter\" href=\"#~C\"><b>~C</b></a>
~%"
c
c
))
(
format
file
"</td>
</tr></table>
</div>
<table class=\"index-cp\" border=\"0\">
<tr><td></td><th align=\"left\">Index Entry</th></tr>~%"
))
(
with-open-file
(
header
(
merge-pathnames
"header.template"
(
asdf:system-source-directory
"quickref"
))
:direction
:input
)
(
let
((
contents
(
make-string
(
file-length
header
))))
(
read-sequence
contents
header
)
(
format
file
contents
(
ql-dist:version
(
ql-dist:find-dist
"quicklisp"
))
(
net.didierverna.declt.setup:version
:long
)))))
(
defun
build-index
()
(
let
((
quickref-dir
(
from-homedir
"quickref/"
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment