[docs] Fix assets: Rename doc/_assets to doc/assets

github's jekyll would do some dark magic with '_assets'.
We don't want that.
pull/1109/head
Marcel Klehr 2012-10-31 18:12:12 +01:00
parent 437937c350
commit f676e90199
3 changed files with 3 additions and 3 deletions

View File

@ -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 $< $@

View File

@ -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">