mirror of
https://github.com/ubf/ubf.git
synced 2026-04-15 17:25:29 +00:00
Update asciidoc recipe
This commit is contained in:
1
priv/doc/src/.gitignore
vendored
1
priv/doc/src/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
*.html
|
||||
gh-pages/
|
||||
|
||||
@@ -9,12 +9,14 @@ pdf: $(PDF)
|
||||
|
||||
gh-pages: clean html
|
||||
git submodule update --init --recursive
|
||||
git co gh-pages
|
||||
rsync -avz ./*.html ../../../
|
||||
rsync -avz --exclude=.git --delete ./bootstrap-docs/bootstrap/ ../../../bootstrap/
|
||||
git clone -b gh-pages ../../../ gh-pages
|
||||
rsync -qavz ./*.html gh-pages/
|
||||
rsync -qavz --exclude=.git --delete ./bootstrap-docs/bootstrap/ gh-pages/bootstrap/
|
||||
rsync -qavz --exclude=.git --delete ./images/ gh-pages/images/
|
||||
perl -i -pe 's~//\@ sourceMappingURL=jquery.min.map~~;' gh-pages/bootstrap/docs/assets/js/jquery.js
|
||||
|
||||
clean:
|
||||
rm -f $(HTML) $(PDF)
|
||||
rm -rf $(HTML) $(PDF) gh-pages
|
||||
|
||||
%.html: %.asciidoc Makefile
|
||||
cd $(<D) && asciidoc $(<F)
|
||||
|
||||
@@ -11,7 +11,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
|
||||
:brandref: https://github.com/ubf
|
||||
:doctype: article
|
||||
:toc2:
|
||||
:data-uri:
|
||||
:backend: bootstrap-docs
|
||||
:link-assets:
|
||||
:glyphicons: http://glyphicons.com[Glyphicons]
|
||||
|
||||
@@ -58,7 +58,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
|
||||
:brandref: https://github.com/ubf
|
||||
:doctype: article
|
||||
:toc2:
|
||||
:data-uri:
|
||||
:backend: bootstrap-docs
|
||||
:link-assets:
|
||||
:glyphicons: http://glyphicons.com[Glyphicons]
|
||||
|
||||
@@ -11,7 +11,6 @@ Joseph Wayne Norton <norton@alum.mit.edu>
|
||||
:brandref: https://github.com/ubf
|
||||
:doctype: article
|
||||
:toc2:
|
||||
:data-uri:
|
||||
:backend: bootstrap-docs
|
||||
:link-assets:
|
||||
:glyphicons: http://glyphicons.com[Glyphicons]
|
||||
|
||||
Reference in New Issue
Block a user