mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
updated template, makefile, css, title conventions
This commit is contained in:
parent
b49d59de24
commit
0949744cd1
|
|
@ -15,7 +15,7 @@ PANDOC_AUTHORS="SANO Masatoshi"
|
|||
pandoc -f markdown_phpextra -t man -V title="$*" -V section=$(subst .,,$(suffix $@)) -V author=$(PANDOC_AUTHORS) --template=default.man $< > $@
|
||||
|
||||
%.html: %.md
|
||||
pandoc -f markdown_phpextra -t html5 -V title="$*" -V author=$(PANDOC_AUTHORS) --template=default.html $< > $@
|
||||
pandoc -f markdown_phpextra -t html5 -V title="$*(1)" -V pagetitle="$*(1)" -V css=ros.css -V author=$(PANDOC_AUTHORS) --template=default.html $< > $@
|
||||
|
||||
if MANUAL_GENERATE
|
||||
man1_MANS = $(shell ls *.md | sed s/md/1/g ; ls *.md | sed s/md/html/g)
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
|
||||
<!DOCTYPE html>
|
||||
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="generator" content="pandoc">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$" />
|
||||
<meta name="author" content="$author-meta$">
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="date" content="$date-meta$" />
|
||||
<meta name="dcterms.date" content="$date-meta$">
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<style type="text/css">code{white-space: pre;}</style>
|
||||
|
|
@ -24,11 +24,14 @@ $highlighting-css$
|
|||
</style>
|
||||
$endif$
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" type="text/css" />
|
||||
<link rel="stylesheet" href="$css$">
|
||||
$endfor$
|
||||
$if(math)$
|
||||
$math$
|
||||
$endif$
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
||||
<![endif]-->
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
|
|
@ -38,23 +41,25 @@ $for(include-before)$
|
|||
$include-before$
|
||||
$endfor$
|
||||
$if(title)$
|
||||
<div id="$idprefix$header">
|
||||
<header>
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<h1 class="subtitle">$subtitle$</h1>
|
||||
$endif$
|
||||
<ul>
|
||||
$for(author)$
|
||||
<h2 class="author">$author$</h2>
|
||||
<li class="author">$author$</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
$if(date)$
|
||||
<h3 class="date">$date$</h3>
|
||||
$endif$
|
||||
</div>
|
||||
</header>
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<div id="$idprefix$TOC">
|
||||
<nav id="$idprefix$TOC">
|
||||
$toc$
|
||||
</div>
|
||||
</nav>
|
||||
$endif$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# name
|
||||
|
||||
ros-dump - make a dumped image of a roswell script
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros [options] dump** *type* args...
|
||||
|
||||
|
|
@ -16,7 +14,7 @@ executable
|
|||
|
||||
: Create an executable.
|
||||
|
||||
# description
|
||||
# Description
|
||||
|
||||
`ros-dump` creates a dumped lisp image of the state after processing all
|
||||
arguments passed.
|
||||
|
|
@ -45,7 +43,3 @@ and even between the same implementations with different versions.
|
|||
|
||||
# SEE ALSO
|
||||
_sbcl_(1) _ros_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# name
|
||||
|
||||
ros-init - Create a roswell script (optionally based on a template)
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros init [template]** name
|
||||
|
||||
|
|
@ -12,7 +10,7 @@ template
|
|||
|
||||
: Specify the name of a template.
|
||||
|
||||
# description
|
||||
# Description
|
||||
|
||||
Initialises [name].ros.
|
||||
|
||||
|
|
@ -37,6 +35,3 @@ This is basically a shell script which immediately invokes Roswell by exec (see
|
|||
# SEE ALSO
|
||||
_sbcl_(1) _ros_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# name
|
||||
|
||||
ros-install - Install lisp implementations or quicklisp system
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros install** [name]
|
||||
|
||||
|
|
@ -73,6 +71,3 @@ When the system comes with a **roswell script** created by _ros-init_(1) in the
|
|||
# SEE ALSO
|
||||
_sbcl_(1), _ros_(1), _ros-list_(1), _ros-init_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# name
|
||||
|
||||
ros-list - list the materials installed by roswell
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros list [type] [options]**
|
||||
|
||||
|
|
@ -11,7 +9,7 @@ ros-list - list the materials installed by roswell
|
|||
<!-- somecommand -->
|
||||
<!-- :description. end with a period. -->
|
||||
|
||||
# description
|
||||
# Description
|
||||
|
||||
**ros list** shows the list of the materials installed by roswell.
|
||||
|
||||
|
|
@ -34,6 +32,3 @@ versions
|
|||
# SEE ALSO
|
||||
_sbcl_(1) _ros_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# name
|
||||
|
||||
ros-setup - install sbcl-bin and quicklisp
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros setup**
|
||||
|
||||
|
|
@ -11,7 +9,7 @@ ros-setup - install sbcl-bin and quicklisp
|
|||
<!-- somecommand -->
|
||||
<!-- :description. end with a period. -->
|
||||
|
||||
# description
|
||||
# Description
|
||||
|
||||
Runs some initial setup of roswell.
|
||||
|
||||
|
|
@ -22,6 +20,3 @@ Runs some initial setup of roswell.
|
|||
# SEE ALSO
|
||||
_sbcl_(1) _ros_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
6
documents/ros.css
Normal file
6
documents/ros.css
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
.author {
|
||||
font-size : smaller;
|
||||
font-style : italic;
|
||||
}
|
||||
|
|
@ -1,12 +1,10 @@
|
|||
# name
|
||||
|
||||
Roswell - Common Lisp environment setup Utility
|
||||
|
||||
# synopsis
|
||||
# Synopsis
|
||||
|
||||
**ros** [**options**] [[_command_ [args...]] | [[--]script [args...]]]
|
||||
**ros** [**options**] `[[_command_ [args...]] | [[--]script [args...]]]`
|
||||
|
||||
# description
|
||||
# Description
|
||||
|
||||
Roswell is a command line tool for installing and managing Common Lisp implementations, as well as a scripting infrastructure for templating, writing, executing, compiling, distributing, downloading and installing ROSWELL-SCRIPTS written in Common Lisp.
|
||||
|
||||
|
|
@ -14,7 +12,7 @@ Currently roswell supports sbcl, ccl, clisp and ecl as its supported lisp implem
|
|||
|
||||
Scripts installed by roswell will be system wide if appropriate directory is included in PATH.
|
||||
|
||||
# subcommands
|
||||
# Subcommands
|
||||
|
||||
In an order of utility/frequency.
|
||||
|
||||
|
|
@ -74,7 +72,7 @@ help
|
|||
|
||||
: Show the subcommand help.
|
||||
|
||||
# options
|
||||
# Options
|
||||
|
||||
Options are processed in left-to-right order.
|
||||
|
||||
|
|
@ -191,41 +189,39 @@ ROSWELL_INSTALL_DIR
|
|||
|
||||
: Specifies the install directory of roswell, defaulted to $HOME/.roswell . Roswell scripts are installed in $ROSWELL_INSTALL_DIR/bin .
|
||||
|
||||
ROSWELL_HTML_TEST
|
||||
|
||||
:
|
||||
|
||||
ROSWELL_BRANCH
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
ROSWELL_REPO
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
LISP_IMPLS_DIR
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
LISP_IMPLS_BIN
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
ROSWELL_TARBALL_PATH
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
ROSWELL_URI
|
||||
|
||||
:
|
||||
: used for testing roswell itself.
|
||||
|
||||
<!-- ROSWELL_HTML_TEST -->
|
||||
<!-- -->
|
||||
<!-- : -->
|
||||
|
||||
|
||||
# Bugs
|
||||
|
||||
Check out issues list (https://github.com/snmsts/roswell/issues)
|
||||
|
||||
# SEE ALSO
|
||||
_sbcl_(1)
|
||||
|
||||
# Author
|
||||
|
||||
SANO Masatoshi
|
||||
|
|
|
|||
Loading…
Reference in a new issue