Skip to content

Commit 99ec0ff

Browse files
Reorganize and update documentation (#5059)
* Getting docs ready for v4 example doc restructure working and hopefully illustrative doc skeleton update requirements WIP Change log: - Upload new PyMC logo - Updated conf.py to pymc instead of pymc3 - Start configuring and populating index page - Start configuring and populating learning page - Start configuring and populating api page - Updated API to follow the docs/Architecture.png layout - Start configuring and populating learning page - Fix typo in filename of "index legacy" add community page, other minor changes Continue restructuring the API Delete conflicting files example doc restructure update requirements update requirements and gitignore some fixes add changes introduced by pre-commit checks fix community page title update api for distributions update gaussian process api fix end of file more changes sponsor logos sponsor logos cleanup, other changes changes to satisfy pre-commit checks requirements changes minor changes Add testimonials to docs homepage remove sphinx panels and other changes center buttons add explanation of MAP to glassor minor change fix typo minor changes put content in videos and podcasts section. Change formatting of testimonials (width of 2 cards for better formating in narrow screens) add code example to front page revise some definitions (#5126) minor changes minor changes WIP: organizing notebooks into learning section * add style guides * remove multilevel modeling * formatting the learning section * add anchors to notebooks * add anchors to all the main pages for easy intra-doc linking * Changelog - Add information for institutions in the Contributing section - Center navbar - Split the About section into a main page with multiple subpages - Remove old reference to "developers" in the index toctree * fix anchor for Advanced_usage_of_Aesara_in_PyMC.rst Co-authored-by: Oriol Abril-Pla <[email protected]> * redoing the community page after it got lost in a force push * minor changes * update code example * redo community page * try twitter feed on sidebar * restructure contributing docs * fix requirements * Apply suggestions from code review Co-authored-by: Martina Cantaro <[email protected]>
1 parent b8522dc commit 99ec0ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+7181
-1726
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tags
1717

1818
# Sphinx
1919
_build
20+
docs/jupyter_execute
2021

2122
# Merge tool
2223
*.orig

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

conda-envs/environment-dev-py37.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ dependencies:
2323
- python-graphviz
2424
- python=3.7
2525
- scipy>1.4.1
26-
- sphinx-autobuild>=0.7
26+
- sphinx-copybutton
2727
- sphinx-notfound-page
28-
- sphinx-panels
2928
- sphinx>=1.5
3029
- typing-extensions
3130
- pip:

conda-envs/environment-dev-py38.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ dependencies:
2323
- python-graphviz
2424
- python=3.8
2525
- scipy>1.4.1
26-
- sphinx-autobuild>=0.7
26+
- sphinx-copybutton
2727
- sphinx-notfound-page
28-
- sphinx-panels
2928
- sphinx>=1.5
3029
- typing-extensions>=3.7.4
3130
- pip:

conda-envs/environment-dev-py39.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ dependencies:
2323
- python-graphviz
2424
- python=3.9
2525
- scipy>1.4.1
26-
- sphinx-autobuild>=0.7
26+
- sphinx-copybutton
2727
- sphinx-notfound-page
28-
- sphinx-panels
2928
- sphinx>=1.5
3029
- typing-extensions>=3.7.4
3130
- pip:

conda-envs/windows-environment-dev-py38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ dependencies:
2727
- pytest-cov>=2.5
2828
- pytest>=3.0
2929
- sphinx-autobuild>=0.7
30+
- sphinx-copybutton
3031
- sphinx-notfound-page
31-
- sphinx-panels
3232
- sphinx>=1.5
3333
- watermark
3434
- pip:

docs/logos/sponsors/numfocus.png

41.4 KB
Loading
File renamed without changes.

docs/pymc_logo.jpg

-82.9 KB
Binary file not shown.

docs/source/Advanced_usage_of_Aesara_in_PyMC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:orphan:
2-
2+
(Advanced_usage_of_Aesara_in_PyMC)=
33
..
44
_referenced in docs/source/notebooks/table_of_contents_tutorials.js
55

docs/source/_templates/footer.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<footer class="footer mt-5 mt-md-0">
2+
<div class="container">
3+
{% for footer_item in theme_footer_items %}
4+
<div class="footer-item">
5+
{% include footer_item %}
6+
</div>
7+
{% endfor %}
8+
</div>
9+
</footer>

docs/source/_templates/layout.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
<!-- Hide left sidebar in home page -->
44
{% block docs_sidebar %}
5-
{% if pagename != 'index' %}
6-
{{ super() }}
7-
{% endif %}
5+
{% if pagename != 'index' %}
6+
{{ super() }}
7+
{% endif %}
88
{% endblock %}
99

1010
<!-- Hide right sidebar in home page -->
1111
{% block docs_toc %}
12-
{% if pagename != 'index' %}
13-
{{ super() }}
14-
{% endif %}
12+
{% if pagename != 'index' %}
13+
{{ super() }}
14+
{% endif %}
1515
{% endblock %}
1616

1717
<!-- Make body have full width in home page -->
1818
{% block docs_main %}
19-
{% if pagename == 'index' %}
20-
<main class="col-12 py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
21-
{% block body %} {% endblock %}
22-
</main>
23-
{% else %}
24-
{{ super() }}
25-
{% endif %}
19+
{% if pagename == 'index' %}
20+
<main class="col-12 py-md-5 pl-md-5 pr-md-4 bd-content" role="main">
21+
{% block body %} {% endblock %}
22+
</main>
23+
{% else %}
24+
{{ super() }}
25+
{% endif %}
2626
{% endblock %}

docs/source/_templates/twitter.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a class="twitter-timeline" data-width="300" data-height="500" data-dnt="true" href="https://twitter.com/pymc_devs?ref_src=twsrc%5Etfw">Tweets by pymc_devs</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

docs/source/about.rst

Lines changed: 0 additions & 271 deletions
This file was deleted.

0 commit comments

Comments
 (0)