Skip to content

Commit e86c3f5

Browse files
authored
Merge pull request #213 from sandialabs/docs
Docs
2 parents ea71d69 + a39196e commit e86c3f5

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

docs/source/advanced_usage.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ Advanced Usage
55
:maxdepth: 2
66

77
advanced/writing_a_driver
8-
advanced/nested_experiments
8+
advanced/nested_experiments
9+
10+
Demo Notebooks
11+
==============
12+
13+
.. toctree::
14+
:maxdepth: 2
15+
16+
advanced/advanced_notebooks

docs/source/api_index.rst

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

44
.. toctree::
5-
:maxdepth: 3
5+
:maxdepth: 4
66

77
api/general
88
api/measurement

docs/source/basics/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ git clone https://github.com/sandialabs/pyscan
2020
3. Install pyscan with
2121

2222
```
23-
pip install .
23+
pip install -e .
2424
```
2525

26+
The `-e` makes the package editable, so that if you make modifications to your drivers, for example, you don't need to reinstall the package. This is the recommended method of installation since pyscan is largely intended to be modified when you add drivers for new instruments.
27+
2628
## Additional Requirements
2729

2830
Some instruments require extra installations in order to use them. For example, Ocean Optics (now known as Ocean Insight) spectrometers require the python package `seabreeze`. Thorlabs drivers may also require the installation of proprietary .dll files available on their website by installing Thorlabs Kinesis.

docs/source/conf.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
# "collapse_navigation": not is_release_build,
8484
"show_prev_next": True,
8585
"navbar_align": "left",
86+
"show_toc_level": 2,
8687
# social media links
8788
"icon_links": [
8889
{
@@ -91,7 +92,6 @@
9192
"icon": "fab fa-github-square",
9293
}
9394
],
94-
"primary_sidebar_end": [],
9595
"use_edit_page_button": True,
9696
}
9797

@@ -103,9 +103,3 @@
103103
"github_repo": "https://github.com/sandialabs/pyscan",
104104
"github_version": "main",
105105
}
106-
107-
html_sidebars = {
108-
# default is
109-
# "**": ["sidebar-nav-bs", "sidebar-ethical-ads"],
110-
"**": ["sidebar-nav-bs"]
111-
}

pyscan/measurement/experiment.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class Experiment(AbstractExperiment):
2727
The path to save the data, defaults to './backup'
2828
verbose: bool, optional
2929
Indicates whether to print status updates, defaults to `False`
30-
3130
'''
3231

3332
def __init__(self, runinfo, devices, data_dir=None, verbose=False, time=False):

0 commit comments

Comments
 (0)