Skip to content

Commit

Permalink
1.0.33.12: Less ugly html manuals
Browse files Browse the repository at this point in the history
... add some light css styling
... also create single-file manual for easier grepping
... unilaterally deciding on light blue as our new corporate colour
  • Loading branch information
rudi committed Dec 15, 2009
1 parent 6147892 commit f134cff
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 3 deletions.
9 changes: 7 additions & 2 deletions doc/manual/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ PSFILES=sbcl.ps asdf.ps
PDFFILES=sbcl.pdf asdf.pdf
INFOFILES=sbcl.info asdf.info
HTMLDIRS=$(basename $(SBCLTEXI)) $(basename $(ASDFTEXI))
HTMLFILES=sbcl.html asdf.html
# Place where generated documentation ends up. The value of
# DOCSTRINGDIR has to end with a slash or you lose (it's passed to
# Lisp's `pathname' function).
Expand Down Expand Up @@ -53,8 +54,11 @@ html: html-stamp

html-stamp: $(DOCFILES) docstrings
@rm -rf $(HTMLDIRS)
$(MAKEINFO) $(I_FLAGS) --html $(SBCLTEXI)
$(MAKEINFO) --html $(ASDFTEXI)
@rm -f $(HTMLFILES)
$(MAKEINFO) $(I_FLAGS) --html --css-include=style-multi.css $(SBCLTEXI)
$(MAKEINFO) --html --css-include=style-multi.css $(ASDFTEXI)
$(MAKEINFO) $(I_FLAGS) --html --no-split --css-include=style-single.css $(SBCLTEXI)
$(MAKEINFO) --html --no-split --css-include=style-single.css $(ASDFTEXI)
touch html-stamp

# Postscript documentation
Expand Down Expand Up @@ -98,6 +102,7 @@ tempfiles-stamp:
clean:
rm -f *~ *.bak *.orig \#*\# .\#* texput.log *.fasl
rm -rf $(HTMLDIRS) $(DOCSTRINGDIR)
rm -f $(HTMLFILES)
rm -f contrib-docs.texi-temp
rm -f package-locks.texi-temp
rm -f variables.texinfo
Expand Down
8 changes: 8 additions & 0 deletions doc/manual/style-multi.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.chapter { background-color:#d0e4fe; }
.section { background-color:#d0e4fe; }
.subsection { background-color:#d0e4fe; }
.settitle { background-color:#d0e4fe; }
.contents { border: 2px solid black;
margin: 1cm 1cm 1cm 1cm;
padding-left: 3mm; }
body { padding-left: 3mm; }
10 changes: 10 additions & 0 deletions doc/manual/style-single.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.node { visibility:hidden; height: 0px; }
.menu { visibility:hidden; height: 0px; }
.chapter { background-color:#d0e4fe; }
.section { background-color:#d0e4fe; }
.subsection { background-color:#d0e4fe; }
.settitle { background-color:#d0e4fe; }
.contents { border: 2px solid black;
margin: 1cm 1cm 1cm 1cm;
padding-left: 3mm; }
body { padding-left: 3mm; }
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ do
&& echo " html $BUILD_ROOT$DOC_DIR/html/`basename $html`/index.html"
done

for html in doc/manual/sbcl.html doc/manual/asdf.html
do
cp $html "$BUILD_ROOT$DOC_DIR"/ \
&& echo " html $BUILD_ROOT$DOC_DIR/`basename $html`"
done

for f in BUGS CREDITS COPYING NEWS
do
cp $f "$BUILD_ROOT$DOC_DIR"/
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"1.0.33.11"
"1.0.33.12"

0 comments on commit f134cff

Please sign in to comment.