toc rework

This commit is contained in:
Felix Geisendörfer 2022-12-27 20:18:00 +01:00
parent f176e96a47
commit e27d754ed0
16 changed files with 49 additions and 28 deletions

View file

@ -8,7 +8,7 @@
import sphinx_rtd_theme
project = 'Datadog\'s Go Observability Guide'
project = 'go-profiler-notes'
copyright = '2022, Datadog'
author = 'Felix Geisendörfer, Nick Ripley'
@ -36,6 +36,8 @@ html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'style_nav_header_background': '#5C2EA0',
'collapse_navigation': False,
'navigation_depth': 5,
'includehidden': False,
}
html_static_path = ['_static']
html_css_files = ['css/custom.css']

View file

@ -1,4 +1,4 @@
Go Profiler Notes
go-profiler-notes
=================
Formerly known as "go-profiler-notes", this guide contains in-depth information
@ -7,8 +7,27 @@ metrics, heap debugging as well as userland metrics and distributed tracing will
be covered as well.
.. toctree::
:maxdepth: 3
:caption: Contents:
:hidden:
about
profiling/index
.. toctree::
:maxdepth: 1
:caption: Mental Model for Go
mental-model-for-go/goroutine-scheduler
mental-model-for-go/garbage-collector
.. toctree::
:maxdepth: 1
:caption: Profilers
profiling/cpu-profiler
profiling/memory-profiler
.. toctree::
:maxdepth: 1
:caption: Misc
misc/stack-traces
misc/pprof

View file

@ -0,0 +1,2 @@
Garbage Collector
=================

View file

@ -0,0 +1,2 @@
Goroutine Scheduler
===================

View file

@ -0,0 +1,9 @@
Mental Model for Go
===================
.. toctree::
:maxdepth: 2
:caption: Contents:
goroutine-scheduler
garbage-collector

2
docs/misc/pprof.rst Normal file
View file

@ -0,0 +1,2 @@
pprof Tool and Format
=====================

View file

@ -0,0 +1,4 @@
Stack Traces
============

View file

@ -1,9 +0,0 @@
Builtin Profilers
=================
.. toctree::
:maxdepth: 2
:caption: Contents:
cpu-profiler
memory-profiler

View file

@ -1,8 +1,8 @@
Profiling
Profilers
=========
.. toctree::
:maxdepth: 2
:caption: Contents:
:maxdepth: 1
builtin-profilers/index
cpu-profiler
memory-profiler

View file

@ -1,10 +0,0 @@
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>blah</title>
</head>
<body>
<p>I'm the content</p>
</body>
</html>