-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
38 lines (33 loc) · 949 Bytes
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
# sped-docs
#
# O propósito deste script é gerar o arquivo mkdocs.yml a aprtir do arquivo fonte doc/book/bookdown.json.
#
# Variaveis configuraveis:
# - BOOKDOWN2MKDOCS - especifica o caminho para o executável "bookdown2mkdocs";
# a opção defaults aponta para ./vendor/bin/bookdown2mkdocs
#
# Opções disponíveis:
# - mkdocs - regenera o arquivo mkdocs.yml
# - all - sinomimo para mkdocs
#
# bootstrap
# readthedocs
# amelia
# ceruleam
# cosmo
# cyborg
# flatly
# journal
# readable
# simplex
# slate
# spacelab
# united
# yeti
BOOKDOWN2MKDOCS?=$(CURDIR)/vendor/bin/bookdown2mkdocs.php
.PHONY : all mkdocs bookdown2mkdocs
all : mkdocs
mkdocs :
@echo "Gerando mkdocs.yml a partir do bookdown.json..."
-$(BOOKDOWN2MKDOCS) convert --site-name=NFePHP --repo-url=https://github.com/nfephp-org/sped-docs --copyright-url=http://www.nfephp.org/ --copyright-author="NFePHP" --mkdocs='{"theme": "readthedocs"}'
@echo "[FEITO]"