Skip to content

Commit 2536920

Browse files
authored
add subsections inside community section (#5782)
1 parent 82f70fc commit 2536920

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

docs/source/community.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,17 @@ Learn how the PyMC project is governed and how to become a member of PyMC [here]
2727

2828
## Code of Conduct
2929

30-
In order to foster a welcoming environment, participation in our project and community is guided by this [code of conduct](https://github.com/pymc-devs/pymc/blob/main/CODE_OF_CONDUCT.md).
30+
In order to foster a welcoming environment, participation in our project and community is guided by the {ref}`code_of_conduct`.
31+
32+
:::{toctree}
33+
:caption: Discourse resources
34+
35+
community/how_to_ask_on_discourse
36+
:::
37+
38+
:::{toctree}
39+
:caption: General resources
40+
41+
community/code_of_conduct
42+
Blog <https://www.pymc.io/blog.html>
43+
:::
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(code_of_conduct)=
2+
```{include} ../../../CODE_OF_CONDUCT.md
3+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
(how_to_ask_on_discourse)=
2+
# How to ask a question on Discourse
3+
4+
**Placeholder page**

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
}
250250
# this controls which sidebar sections are available in which pages. [] removes the left sidebar
251251
html_sidebars = {
252-
"community": ["twitter"],
252+
"community": ["sidebar-nav-bs.html", "twitter"],
253253
"**": ["sidebar-nav-bs.html"],
254254
}
255255

0 commit comments

Comments
 (0)