forked from mrtazz/restclient-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.docs.mk
More file actions
27 lines (21 loc) · 766 Bytes
/
Makefile.docs.mk
File metadata and controls
27 lines (21 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Make tasks to create and deploy documentation
.PHONY: docs clean-docs deploy-docs doxygen update-docs-from-readme jekyll-layouts
GAUGES_CODE="539c6c8de32bb442640005f3"
jekyll-layouts:
git submodule update --init
doxygen:
doxygen doxygen.config
update-docs-from-readme: jekyll-layouts
install -d docs
echo "gaugesid: $(GAUGES_CODE)" > docs/_config.yml
echo "projecturl: $(PROJECT_URL)" >> docs/_config.yml
echo "basesite: http://www.unwiredcouch.com" >> docs/_config.yml
echo "markdown: kramdown" >> docs/_config.yml
echo "---" > docs/index.md
echo "layout: project" >> docs/index.md
echo "title: $(NAME)" >> docs/index.md
echo "---" >> docs/index.md
cat README.md >> docs/index.md
docs: doxygen update-docs-from-readme
clean-docs:
rm -rf ./docs