File tree Expand file tree Collapse file tree 7 files changed +120
-11
lines changed Expand file tree Collapse file tree 7 files changed +120
-11
lines changed Original file line number Diff line number Diff line change 110
110
111
111
# myst and panels config
112
112
jupyter_execute_notebooks = "off"
113
- myst_heading_anchors = 3
113
+ myst_heading_anchors = 2
114
114
myst_enable_extensions = [
115
115
"colon_fence" ,
116
116
]
195
195
"github_version" : "main" ,
196
196
"doc_path" : "docs/source/" ,
197
197
}
198
- html_sidebars = {"learn" : [], "**" : ["sidebar-nav-bs.html" , "sidebar-ethical-ads.html" ]}
198
+ # this controls which sidebar sections are available in which pages. [] removes the left sidebar
199
+ html_sidebars = {
200
+ "learn" : [],
201
+ "installation" : [],
202
+ "**" : ["sidebar-nav-bs.html" , "sidebar-ethical-ads.html" ],
203
+ }
199
204
200
205
# Add any paths that contain custom themes here, relative to this directory.
201
206
# html_theme_path = []
Original file line number Diff line number Diff line change 1
1
# PyMC3 documentation
2
2
3
- Page in construction
3
+ Page in construction.
4
+
5
+ For now there are only some examples of https://sphinx-design.readthedocs.io/en/sbt-theme/index.html
6
+ usage.
4
7
5
8
:::{button-ref} learning
9
+ :ref-type: ref
10
+ :color: primary
11
+ :expand:
12
+
13
+ Getting Started as giant long button
14
+ :::
15
+
16
+ :::::{grid} 1 1 3 3
17
+
18
+ :::{grid-item}
19
+ :::
20
+
21
+ ::::{grid-item}
22
+ :::{button-link} https://numfocus.org/donate-to-pymc3
23
+ :expand:
24
+ :color: secondary
6
25
7
- Getting Started
26
+ Donate as button within a grid
8
27
:::
28
+ ::::
29
+
30
+ :::{grid-item}
31
+ :::
32
+ :::::
33
+
34
+ Also add a cool icon: in default size {fas}` check-circle ` , or extra large
35
+ {fas}` check-circle;fa-10x ` . See https://fontawesome.com/v5.15/how-to-use/on-the-web/styling/sizing-icons
36
+ for options.
9
37
10
38
:::{toctree}
11
39
:maxdepth: 1
Original file line number Diff line number Diff line change @@ -5,23 +5,46 @@ Move the 3 wiki pages over to here.
5
5
with sphinx_design we can have common content in a single place,
6
6
and whenever there is some specific guidance that depends on OS use
7
7
tabs, which can be syncronized. That is, if one tab is switched over to
8
- windows, all tabs will be moved to windows.
8
+ windows, all tabs will be moved to windows. For example:
9
9
10
10
::::{tab-set}
11
11
:::{tab-item} Linux
12
+ :sync: linux
12
13
13
14
specific linux content
14
15
:::
15
16
16
17
:::{tab-item} MacOS
18
+ :sync: mac
17
19
18
20
specific macos content
19
21
:::
20
22
21
23
:::{tab-item} Windows
24
+ :sync: windows
22
25
23
26
specific windows content
24
27
:::
25
28
::::
26
29
27
30
more common content
31
+
32
+ ::::{tab-set}
33
+ :::{tab-item} Linux
34
+ :sync: linux
35
+
36
+ extra specific linux content, i.e. testing the installation was successful
37
+ :::
38
+
39
+ :::{tab-item} MacOS
40
+ :sync: mac
41
+
42
+ extra specific macosx content, i.e. testing the installation was successful
43
+ :::
44
+
45
+ :::{tab-item} Windows
46
+ :sync: windows
47
+
48
+ extra specific windows content, i.e. testing the installation was successful
49
+ :::
50
+ ::::
Original file line number Diff line number Diff line change
1
+ # Step 1
2
+
3
+ Detailed explanation of step 1, which sections of the documentation are indicated
4
+ and which external references are recommended. i.e. to make the most of pymc3, you should
5
+ be familiar with Bayesian statistics. Here are some books whose code is available using pymc3 to
6
+ help you learn Bayesian statistics with pymc3.
Original file line number Diff line number Diff line change
1
+ # Step 2
2
+
3
+ Detailed explanation of step 2, which sections of the documentation are indicated
4
+ and which external references are recommended.
5
+
6
+ ::::{grid} 1 2 3 4
7
+
8
+ :::{grid-item}
9
+ {fas}` info-circle;fa-5x `
10
+
11
+ {doc}` case_studies/multilevel_modeling `
12
+ :::
13
+ :::{grid-item}
14
+ {fas}` golf-ball;fa-5x `
15
+
16
+ {doc}` case_studies/putting_workflow `
17
+ :::
18
+ :::{grid-item}
19
+ {fas}` book-open;fa-5x `
20
+
21
+ {doc}` diagnostics_and_criticism/model_comparison `
22
+ :::
23
+ :::{grid-item}
24
+ {fas}` football-ball;fa-5x `
25
+
26
+ {doc}` case_studies/rugby_analytics `
27
+ :::
28
+ ::::
Original file line number Diff line number Diff line change
1
+ # Step 3
2
+
3
+ More content
Original file line number Diff line number Diff line change 1
1
(learning)=
2
2
# Learning
3
3
4
- ## Step 1
5
- Links to books and pymc-devs/resources
4
+ I propose the following pattern to be followed in general.
5
+ Each navbar section (which are the pages listed in the index toctree)
6
+ should have an overview of the contents of the section and a hidden
7
+ toctree to the pages within that section (if any). This will make the
8
+ pages appear in the left sidebar for easy navigation while keeping the
9
+ in page toc on the right sidebar.
10
+
11
+ ## Step 1 overview
12
+ Links to books and pymc-devs/resources.
6
13
7
14
---
8
- ## Step 2
15
+ ## Step 2 overview
9
16
Links to beginner lever notebooks. For example,
10
17
thanks to intersphinx, we can cite the getting started
11
- notebook with {doc}` nb:examples/getting_started `
18
+ notebook with {doc}` nb:getting_started ` (the path in pymc-examples repo excluding
19
+ the ` examples ` folder, or using manual anchors if we decide to create them).
12
20
13
21
---
14
- ## Step 3
22
+ ## Step 3 overview
23
+
24
+ Links to intermediate notebooks. {doc}` More about step 3... <learn/step3> `
25
+
26
+ ``` {toctree}
27
+ :hidden:
15
28
16
- Links to intermediate notebooks
29
+ learn/step1
30
+ learn/step2
31
+ learn/step3
32
+ ```
You can’t perform that action at this time.
0 commit comments