1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-15 23:54:16 +02:00

template tweaks

This commit is contained in:
Felix Geisendörfer
2022-12-29 14:01:15 +01:00
parent e27d754ed0
commit 18729a8f7c
4 changed files with 13 additions and 9 deletions

5
docs/_templates/footer.html vendored Normal file
View File

@ -0,0 +1,5 @@
{% extends "!footer.html" %}
{% block extrafooter %}
<p>Support this project by giving it a &#11088; on GitHub <a href="https://github.com/DataDog/go-profiler-notes"><img style="margin-top: -4px;" alt="GitHub Repo stars" src="https://img.shields.io/github/stars/DataDog/go-profiler-notes?style=social"></a></p>
{{ super() }}
{% endblock %}

5
docs/_templates/layout.html vendored Normal file
View File

@ -0,0 +1,5 @@
{% extends "!layout.html" %}
{% block navigation %}
{{ super() }}
<a href="https://github.com/DataDog/go-profiler-notes"><img style="display: block; margin: 10px auto;" alt="GitHub Repo stars" src="https://img.shields.io/github/stars/DataDog/go-profiler-notes?style=social"></a>
{% endblock %}

View File

@ -1,8 +0,0 @@
About This Guide
=====
Formerly known as "go-profiler-notes", this project was initiated by `Felix Geisendörfer`_ upon joining the profiling team at Datadog in 2021. At the time, Go provided a significant number of profiling features, but there was a lack of resources on how to effectively utilize and interpret the generated data. The project initially began as a collection of markdown notes, but it eventually evolved into a comprehensive resource for Go profiling and beyond.
.. _Felix Geisendörfer: https://felixge.de/

View File

@ -20,7 +20,7 @@ extensions = ['sphinx_rtd_theme', 'sphinxemoji.sphinxemoji']
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
numfig = True
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
@ -41,6 +41,8 @@ html_theme_options = {
}
html_static_path = ['_static']
html_css_files = ['css/custom.css']
html_show_sphinx = False
html_show_copyright = False
# Workaround for html_css_files not getting updated on incremental builds.
# https://github.com/sphinx-doc/sphinx/issues/2090#issuecomment-572902572