diff options
author | David Robillard <d@drobilla.net> | 2020-12-21 18:14:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-21 18:14:10 +0100 |
commit | d361ce65d3841c9f97d27ac477c2e55c3802b381 (patch) | |
tree | c710d7deab629c6179ccf663f0421750b801a667 /doc/_templates | |
parent | b3067e5a5dd1d92551d166a5095821e9033c0b7c (diff) | |
download | sratom-d361ce65d3841c9f97d27ac477c2e55c3802b381.tar.gz sratom-d361ce65d3841c9f97d27ac477c2e55c3802b381.tar.bz2 sratom-d361ce65d3841c9f97d27ac477c2e55c3802b381.zip |
Generate documentation with Sphinx
Diffstat (limited to 'doc/_templates')
-rw-r--r-- | doc/_templates/about.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/doc/_templates/about.html b/doc/_templates/about.html new file mode 100644 index 0000000..5bbadbe --- /dev/null +++ b/doc/_templates/about.html @@ -0,0 +1,57 @@ +{% if theme_logo %} +<p class="logo"> + <a href="{{ pathto(master_doc) }}"> + <img class="logo" src="{{ pathto('_static/' ~ theme_logo, 1) }}" alt="Logo"/> + {% if theme_logo_name|lower == 'true' %} + <span class="logo logo-name">{{ project }}</span> + {% endif %} + </a> +</p> +{% else %} +<h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1> +{% endif %} + +{% if theme_description %} +<p class="blurb">{{ theme_description }}</p> +{% endif %} + +{% if theme_github_user and theme_github_repo %} +{% if theme_github_button|lower == 'true' %} +<p> +<iframe src="https://ghbtns.com/github-btn.html?user={{ theme_github_user }}&repo={{ theme_github_repo }}&type={{ theme_github_type }}&count={{ theme_github_count }}&size=large&v=2" + allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> +</p> +{% endif %} +{% endif %} + +{% if theme_travis_button|lower != 'false' %} +{% if theme_travis_button|lower == 'true' %} + {% set path = theme_github_user + '/' + theme_github_repo %} +{% else %} + {% set path = theme_travis_button %} +{% endif %} +<p> +<a class="badge" href="https://travis-ci.org/{{ path }}"> + <img + alt="https://secure.travis-ci.org/{{ path }}.svg?branch={{ theme_badge_branch }}" + src="https://secure.travis-ci.org/{{ path }}.svg?branch={{ theme_badge_branch }}" + /> +</a> +</p> +{% endif %} + +{% if theme_codecov_button|lower != 'false' %} +{% if theme_codecov_button|lower == 'true' %} + {% set path = theme_github_user + '/' + theme_github_repo %} +{% else %} + {% set path = theme_codecov_button %} +{% endif %} +<p> +<a class="badge" href="https://codecov.io/github/{{ path }}"> + <img + alt="https://codecov.io/github/{{ path }}/coverage.svg?branch={{ theme_badge_branch }}" + src="https://codecov.io/github/{{ path }}/coverage.svg?branch={{ theme_badge_branch }}" + /> +</a> +</p> +{% endif %} |