-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish markdown documentation on leiningen.org.
We should link to this instead of the stuff in the git repo because it will have better uptime.
- Loading branch information
1 parent
c453c67
commit 264b7f1
Showing
6 changed files
with
110 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
upload: ; rsync -r ./ [email protected]:leiningen.org/ | ||
DOCS=tutorial.html faq.html plugins.html profiles.html deploy.html | ||
|
||
upload: html | ||
rsync -r ./ leiningen.org:leiningen.org/ | ||
|
||
html: $(DOCS) | ||
|
||
# we can't set the prerequisite properly because we used uppercase | ||
# filenames for some reason in the markdown | ||
%.html: | ||
pandoc --template template.html --to html -o $@ \ | ||
--metadata title="Leiningen $*" \ | ||
../doc/$(shell echo $* | tr '[:lower:]' '[:upper:]').md | ||
|
||
# TODO: css for code styles | ||
|
||
.PHONY: upload html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="sixteen columns"><hr /></div> | ||
|
||
<div class="sixteen columns" id="footer"> | ||
<p>© 2012-2022 Phil Hagelberg | ||
and contributors. Licensed under | ||
the <a href="https://codeberg.org/leiningen/leiningen/src/stable/COPYING">EPL | ||
1.0</a>. See the code | ||
for <a href="https://codeberg.org/leiningen/leiningen/src/main/web">this | ||
site</a>.</p> | ||
</div> | ||
</div><!-- container --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>$title$</title> | ||
<meta name="description" content="Leiningen: automating Clojure projects"> | ||
<meta name="author" content="Phil Hagelberg and contributors"> | ||
|
||
<!-- Mobile Specific Metas | ||
================================================== --> | ||
<meta name="viewport" | ||
content="width=device-width, initial-scale=1, maximum-scale=1"> | ||
|
||
<!-- Favicons + Manifest | ||
================================================== --> | ||
<link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png"> | ||
<link rel="manifest" href="/img/favicon/manifest.json"> | ||
<link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#000000"> | ||
<link rel="shortcut icon" href="/img/favicon/favicon.ico"> | ||
<meta name="msapplication-config" content="/img/favicon/browserconfig.xml"> | ||
<meta name="theme-color" content="#ffffff"> | ||
|
||
<!-- CSS | ||
================================================== --> | ||
<link rel="stylesheet" href="stylesheets/base.css"> | ||
<link rel="stylesheet" href="stylesheets/skeleton.css"> | ||
<link rel="stylesheet" href="stylesheets/layout.css"> | ||
<link rel="stylesheet" href="stylesheets/htmlize.css"> | ||
<link rel="stylesheet" href="stylesheets/lein.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<div class="three columns offset-by-one"> | ||
<img src="img/leiningen.jpg" title="logo" id="logo"> | ||
</div> | ||
<div class="eight columns offset-by-two" id="title"> | ||
<h1 class="remove-bottom" style="margin-top: 40px">Leiningen</h1> | ||
<h6>for automating Clojure projects without setting your hair on fire</h6> | ||
<nav id="links" class="offset-by-three"> | ||
<a href="/#install">install</a> | | ||
<a href="/#docs">docs</a> | | ||
<a href="/#community">community</a> | | ||
<a href="https://codeberg.org/leiningen/leiningen">source</a> | ||
</nav> | ||
</div> | ||
|
||
<div class="sixteen columns"><hr /></div> | ||
|
||
<div class="sixteen columns"> | ||
${body} | ||
</div> | ||
|
||
<div class="sixteen columns"><hr /></div> | ||
|
||
<div class="sixteen columns" id="footer"> | ||
<p>© 2012-2023 Phil Hagelberg | ||
and contributors. Licensed under | ||
the <a href="https://codeberg.org/leiningen/leiningen/src/stable/COPYING">EPL | ||
1.0</a>. See the code | ||
for <a href="https://codeberg.org/leiningen/leiningen/src/main/web">this | ||
site</a>.</p> | ||
</div> | ||
</div><!-- container --> | ||
|
||
</body> | ||
</html> |