-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Enable ReadTheDocs on v3 #4805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Enable ReadTheDocs on v3 #4805
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ee9e771
Add readthedocs yml file
Sayam753 fa740ab
Add installation of pymc3
Sayam753 6ab3f48
Manually invoke building gallery instead of using it as an extension
Sayam753 97d837f
Trying to fix relative paths
Sayam753 f94270d
Temporarily disable tests
Sayam753 c3001f3
Bring back the gallery extension. Just create the required directorie…
Sayam753 dd33464
Fixup a bug when expected static directories are already present; Sim…
Sayam753 154823c
Simplified relative urls handling
Sayam753 4b59f6e
Given a mention in release notes
Sayam753 9aee07c
Add installation links to landing page
Sayam753 a4e3be4
Re-enable tests and update pymc-examples submodule
Sayam753 7569d8c
Fix relative links for in-depth guides
Sayam753 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: arviz-compatibility | ||
|
||
on: | ||
pull_request: | ||
# pull_request: | ||
push: | ||
branches: [v3] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: jax-sampling | ||
|
||
on: | ||
pull_request: | ||
# pull_request: | ||
push: | ||
branches: [v3] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
# pull_request: | ||
push: | ||
branches: [v3] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: pytest | ||
|
||
on: | ||
pull_request: | ||
# pull_request: | ||
push: | ||
branches: [v3] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: windows | ||
|
||
on: | ||
pull_request: | ||
# pull_request: | ||
push: | ||
branches: [v3] | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 2 | ||
Sayam753 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- requirements: requirements-dev.txt | ||
- method: pip | ||
path: . | ||
|
||
|
||
submodules: | ||
include: all | ||
recursive: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ | |
import os | ||
import sys | ||
|
||
from pathlib import Path | ||
|
||
import pymc3 | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
|
@@ -330,3 +332,6 @@ | |
def setup(app): | ||
app.add_css_file("https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css") | ||
app.add_css_file("default.css") | ||
dir_root = Path(__file__).parent | ||
for directory in html_static_path: | ||
os.makedirs(str(dir_root / directory), exist_ok=True) | ||
Sayam753 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,28 +44,28 @@ | |
|
||
<div class="ui container"> | ||
|
||
<h2 class="ui dividing header">Installation</h2> | ||
|
||
<div class="row"> | ||
<div class="ui text container"> | ||
<h3 class="ui header">Via conda-forge:</h3> | ||
|
||
.. code-block:: bash | ||
|
||
conda install -c conda-forge pymc3 | ||
|
||
|
||
.. raw:: html | ||
|
||
<h3 class="ui header">Latest (unstable):</h3> | ||
<div class="ui vertical segment"> | ||
<h2 class="ui dividing header">Installation</h2> | ||
<div class="ui three stackable cards"> | ||
|
||
.. code-block:: bash | ||
<a class="ui link card" href="https://github.com/pymc-devs/pymc3/wiki/Installation-Guide-(Linux)"> | ||
<div class="content"> | ||
<div class="header">Instructions for Linux</div> | ||
</div> | ||
</a> | ||
|
||
pip install git+https://github.com/pymc-devs/pymc3 | ||
<a class="ui link card" href="https://github.com/pymc-devs/pymc3/wiki/Installation-Guide-(MacOS)"> | ||
<div class="content"> | ||
<div class="header">Instructions for MacOS</div> | ||
</div> | ||
</a> | ||
|
||
.. raw:: html | ||
<a class="ui link card" href="https://github.com/pymc-devs/pymc3/wiki/Installation-Guide-(Windows)"> | ||
<div class="content"> | ||
<div class="header">Instructions for Windows</div> | ||
</div> | ||
</a> | ||
Comment on lines
+47
to
+67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just changed the installation instructions and here's how they look like - https://pymc3-fork.readthedocs.io/en/v3_rtd_docs/ |
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
|
Submodule pymc-examples
updated
92 files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.