Skip to content

Commit acd079d

Browse files
committed
bugfix: update ipynb
1 parent cd52dc0 commit acd079d

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinx==7.1.2
22
sphinx-rtd-theme==1.3.0rc1
3+
nbsphinx

docs/source/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
API
22
===
33

4-
.. module:: bdiviz.api
4+
.. module:: bdiviz
55

66
.. autoclass:: BDISchemaMatchingHeatMap
77
:members:

docs/source/conf.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Configuration file for the Sphinx documentation builder.
22

3+
import os
4+
import sys
5+
6+
sys.path.insert(0, os.path.abspath('../../'))
7+
38
# -- Project information
49

510
project = 'BDI-Viz'
@@ -17,6 +22,7 @@
1722
'sphinx.ext.autodoc',
1823
'sphinx.ext.autosummary',
1924
'sphinx.ext.intersphinx',
25+
"nbsphinx",
2026
]
2127

2228
intersphinx_mapping = {
@@ -33,3 +39,11 @@
3339

3440
# -- Options for EPUB output
3541
epub_show_urls = 'footnote'
42+
43+
autodoc_member_order = 'bysource'
44+
45+
autoclass_content = 'both'
46+
47+
add_module_names = False
48+
49+
autodoc_mock_imports = ['altair', 'bdi-kit', 'bokeh', 'datamart_profiler', 'panel', 'pandas', 'numpy']

docs/source/getting-started.ipynb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,7 @@
34843484
"source": [
34853485
"## Prepare the source and target dataframes\n",
34863486
"\n",
3487-
"The only step before using the `BDISchemaMatchingHeatMap` class is to prepare the source and target dataframes. The source and target should be in the form of pandas dataframes. For [`GDC`](https://gdc.cancer.gov/) data, we can simply pass `\"gdc\"` as target schema. In this example, we will use the `GDC` schema as the target schema and a sample schema as the source schema."
3487+
"The only step before using the `BDISchemaMatchingHeatMap` class is to prepare the source and target dataframes. The source and target should be in the form of pandas dataframes. For [**GDC**](https://gdc.cancer.gov/) data, we can simply pass `\"gdc\"` as target schema. In this example, we will use the `GDC` schema as the target schema and a sample schema as the source schema."
34883488
]
34893489
},
34903490
{
@@ -3657,6 +3657,13 @@
36573657
"nbconvert_exporter": "python",
36583658
"pygments_lexer": "ipython3",
36593659
"version": "3.9.6"
3660+
},
3661+
"widgets": {
3662+
"application/vnd.jupyter.widget-state+json": {
3663+
"state": {},
3664+
"version_major": 2,
3665+
"version_minor": 0
3666+
}
36603667
}
36613668
},
36623669
"nbformat": 4,

0 commit comments

Comments
 (0)