Skip to content
GitLab
Menu
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
f4899c89
Commit
f4899c89
authored
Mar 15, 2018
by
Didier Verna
Browse files
Put the Docker section first in README.md and rework it.
parent
3fb8f9a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f4899c89
#
q
uickref
#
Q
uickref
Quickref is a global documentation project for Common Lisp libraries. It
generates a website containing reference manuals for every
...
...
@@ -10,7 +10,48 @@ up-to-date with Quicklisp. This repository contains the whole infrastructure
needed to generate your own version of the website.
## Using `quickref`:
## Using Quickref
In order to generate your local version of the website, you can use Quickref
either through the provided Docker images, or directly from the source.
### From Docker
This is the simplest way to use Quickref. The Docker image ships with a
complete build environment that aims to reproduce the one used to create the
Quicklisp releases. This means it contains (almost) all the dependencies
needed to build every library available in Quicklisp.
Type this to run Quickref in Docker:
```
docker run --name quickref quickref/quickref
```
This will automatically pull down the image and run Quickref inside it. If you
have done this before, you may want to make sure you have the latest image by
typing this first:
```
docker pull quickref/quickref
```
Also, note that you need a running Docker daemon for this to work. The Mac app
takes care of this automatically. Otherwise, if the pull or run commands above
fail, you may need to run the deamon yourself, for example with something like
this:
```
sudo dockerd
```
When Quickref is done (this
*will*
take a while), you can extract the website
from the container by typing this:
```
docker cp quickref:/home/quickbuilder/quickref .
```
The website will be located under
`quickref/website`
.
### From the source
From your lisp REPL, just do:
...
...
@@ -26,27 +67,6 @@ to HTML.
The generated files can by default be found in
`$HOME/quickref/`
.
## Docker image:
A Docker image is available, it ships with a complete build environment that
aims to reproduce the one used to create the Quicklisp releases. This means it
contains (almost) all the dependencies needed to build every library available
on Quicklisp.
To run quickref from the image just do:
```
docker pull quickref/quickref
docker run quickref/quickref
```
This will run
`(quickref:refresh)`
in the image.
You can then get the produced files with
```
docker cp my-container:/home/quickbuilder/quickref .
```
## Advanced usage
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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