Skip to content

Commit

Permalink
[docs] Fix assets: Rename doc/_assets to doc/assets
Browse files Browse the repository at this point in the history
github's jekyll would do some dark magic with '_assets'.
We don't want that.
  • Loading branch information
marcelklehr committed Oct 31, 2012
1 parent 437937c commit f676e90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
doc_sources = $(wildcard doc/*/*.md) $(wildcard doc/*.md)
outdoc_files = $(addprefix out/,$(doc_sources:.md=.html))

docassets = $(addprefix out/,$(wildcard doc/_assets/*))
docassets = $(addprefix out/,$(wildcard doc/assets/*))

VERSION = $(shell node -e "console.log( require('./src/package.json').version )")

docs: $(outdoc_files) $(docassets)

out/doc/_assets/%: doc/_assets/%
out/doc/assets/%: doc/assets/%
mkdir -p $(@D)
cp $< $@

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion doc/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>__SECTION__ - Etherpad Lite v__VERSION__ Manual &amp; Documentation</title>
<link rel="stylesheet" href="_assets/style.css">
<link rel="stylesheet" href="assets/style.css">
</head>
<body class="apidoc" id="api-section-__FILENAME__">
<header id="header">
Expand Down

0 comments on commit f676e90

Please sign in to comment.