File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 48
48
"nbsphinx" ,
49
49
]
50
50
51
+ external_docs = ["examples/BART_introduction.ipynb" , "examples/references.bib" ]
52
+ for doc in external_docs :
53
+ if os .path .exists (doc ):
54
+ os .remove (doc )
55
+
56
+ os .system ("wget https://raw.githubusercontent.com/pymc-devs/pymc-examples/main/examples/case_studies/BART_introduction.ipynb -P examples" )
57
+ os .system ("wget https://raw.githubusercontent.com/pymc-devs/pymc-examples/main/examples/references.bib -P examples" )
58
+
59
+ # bibtex config
60
+ bibtex_bibfiles = ["references.bib" ]
61
+ bibtex_default_style = "unsrt"
62
+ bibtex_reference_style = "author_year"
63
+
51
64
nbsphinx_execute = "never"
52
65
53
66
# Add any paths that contain templates here, relative to this directory.
56
69
# The suffix(es) of source filenames.
57
70
# You can specify multiple suffix as a list of string:
58
71
#
59
- # source_suffix = ['.rst', '.md']
60
- source_suffix = ".rst"
72
+ source_suffix = ['.rst' , '.md' ]
61
73
62
74
# The master toctree document.
63
75
master_doc = "index"
Original file line number Diff line number Diff line change @@ -80,8 +80,9 @@ Contents
80
80
========
81
81
82
82
.. toctree ::
83
- :maxdepth: 4
83
+ :maxdepth: 2
84
84
85
+ examples/BART_introduction
85
86
api_reference
86
87
87
88
Indices
You can’t perform that action at this time.
0 commit comments