[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
parent
437937c350
commit
f676e90199
4
Makefile
4
Makefile
|
@ -1,13 +1,13 @@
|
||||||
doc_sources = $(wildcard doc/*/*.md) $(wildcard doc/*.md)
|
doc_sources = $(wildcard doc/*/*.md) $(wildcard doc/*.md)
|
||||||
outdoc_files = $(addprefix out/,$(doc_sources:.md=.html))
|
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 )")
|
VERSION = $(shell node -e "console.log( require('./src/package.json').version )")
|
||||||
|
|
||||||
docs: $(outdoc_files) $(docassets)
|
docs: $(outdoc_files) $(docassets)
|
||||||
|
|
||||||
out/doc/_assets/%: doc/_assets/%
|
out/doc/assets/%: doc/assets/%
|
||||||
mkdir -p $(@D)
|
mkdir -p $(@D)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>__SECTION__ - Etherpad Lite v__VERSION__ Manual & Documentation</title>
|
<title>__SECTION__ - Etherpad Lite v__VERSION__ Manual & Documentation</title>
|
||||||
<link rel="stylesheet" href="_assets/style.css">
|
<link rel="stylesheet" href="assets/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="apidoc" id="api-section-__FILENAME__">
|
<body class="apidoc" id="api-section-__FILENAME__">
|
||||||
<header id="header">
|
<header id="header">
|
||||||
|
|
Loading…
Reference in New Issue