Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reestructuracion del makefile para docs
- Loading branch information
1 parent
f71b080
commit cf74f58
Showing
4 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
SHELL = bash | ||
|
||
.PHONY: docs servedocs doctoc | ||
|
||
servedocs: | ||
mkdocs serve | ||
|
||
mkdocsdocs: | ||
mkdocs build | ||
rsync -vau --remove-source-files site/ docs/ | ||
rm -rf site | ||
|
||
docs: doctoc mkdocsdocs | ||
|
||
doctoc: ## generate table of contents, doctoc command line tool required | ||
## https://github.com/thlorenz/doctoc | ||
doctoc --maxlevel 4 --github --title "## Indice" docs/ | ||
find docs/ -name "*.md" -exec bash fix_github_links.sh {} \; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
table { | ||
text-align: center; | ||
margin: 0 auto; | ||
} | ||
|
||
tbody { | ||
display: inline; | ||
} | ||
|
||
.wy-nav-top { | ||
background: rgb(0, 0, 185); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mkdocs<1.1 | ||
mkdocs-datosgobar |