Skip to content

Commit

Permalink
Documentation work. New theme and some organization.
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Oct 27, 2015
1 parent 100caa4 commit b8e8011
Show file tree
Hide file tree
Showing 54 changed files with 457 additions and 22,340 deletions.
13 changes: 6 additions & 7 deletions doc/Makefile
Expand Up @@ -42,7 +42,7 @@ clean:
-rm -rf doxygen/xml*;
-rm -rf doxygen/html*;

html:
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Expand Down Expand Up @@ -114,11 +114,6 @@ text:
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."

pdf:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/pdf."

man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
Expand Down Expand Up @@ -146,8 +141,12 @@ doxygen:
clone: html
-rm -rf $(OUTPUTDIR)
git clone git@github.com:PDAL/pdal.github.io.git $(OUTPUTDIR)

publish: clone
cp -r build/html/* $(OUTPUTDIR)/
cd $(OUTPUTDIR) ; git checkout master; git add "*" ; git commit -m "update for $(DATE)" . ; git push

pdf:
$(SPHINXBUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
@echo
@echo "Build finished. The PDF files are in _build/pdf."
20 changes: 20 additions & 0 deletions doc/_templates/layout.html
@@ -0,0 +1,20 @@
{# Import the theme's layout. #}
{% extends "!layout.html" %}

{# Add some extra stuff before and use existing with 'super()' call. #}

{%- block footer %}
<div class="footer">
<div class="container">
&copy; {{ copyright }}
<a href="http://github.com/hobu">Howard Butler</a>,
<a href="http://github.com/mpgerlek">Michael Gerlek</a>,
and
<a href="https://github.com/PDAL/PDAL/graphs/contributors">others</a>,
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated
on {{ last_updated }}.{% endtrans %}
{%- endif %}
</div>
</div>
{%- endblock %}

0 comments on commit b8e8011

Please sign in to comment.