diff options
author | Amar Takhar <amar@rtems.org> | 2016-01-19 20:37:04 -0500 |
---|---|---|
committer | Amar Takhar <verm@darkbeer.org> | 2016-05-02 20:51:25 -0400 |
commit | a316b1ff6d765fe0d3631282e750c94470612e97 (patch) | |
tree | 577d0a4cd9659c9834d39eb944a9d662d4f6f2dd /common/sphinx_rtd_theme_rtems/footer.html | |
parent | Fix typo and add another dependency. (diff) | |
download | rtems-docs-a316b1ff6d765fe0d3631282e750c94470612e97.tar.bz2 |
Add support for singlehtml (inlined) HTML file, plus some other fixes.
* This is still broken.
* Rename sphinx_rtd_theme so it doesn't pickup locally installed ones
* Add a hack to theme.css to get around inliner bug.
* Some unrelated fixups in common/waf.py
Unfortunatly several dozen fixes got merged into this.
Diffstat (limited to 'common/sphinx_rtd_theme_rtems/footer.html')
-rw-r--r-- | common/sphinx_rtd_theme_rtems/footer.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/common/sphinx_rtd_theme_rtems/footer.html b/common/sphinx_rtd_theme_rtems/footer.html new file mode 100644 index 0000000..f4396ee --- /dev/null +++ b/common/sphinx_rtd_theme_rtems/footer.html @@ -0,0 +1,52 @@ +<footer> + {% if next or prev %} + <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> + {% if next %} + <a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a> + {% endif %} + {% if prev %} + <a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a> + {% endif %} + </div> + {% endif %} + + <hr/> + + <div role="contentinfo"> + <p> + {%- if show_copyright %} + {%- if hasdoc('copyright') %} + {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} + {%- else %} + {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} + {%- endif %} + {%- endif %} + + {%- if build_id and build_url %} + {% trans build_url=build_url, build_id=build_id %} + <span class="build"> + Build + <a href="{{ build_url }}">{{ build_id }}</a>. + </span> + {% endtrans %} + {%- elif commit %} + {% trans commit=commit %} + <span class="commit"> + Revision <code>{{ commit }}</code>. + </span> + {% endtrans %} + {%- elif last_updated %} + {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} + {%- endif %} + + </p> + </div> + + {%- if show_sphinx %} + {% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}. + {%- endif %} + + {%- block extrafooter %} {% endblock %} + +</footer> + |