Skip to content

Commit e6894ff

Browse files
authored
Docs (#102)
* initial slight changes * first labcore 15 min guide * clarifying and organizing * changing dependencies to add support for notebook markdown references * rerunning clean notebook * editing main page for clarity * adding more on datadicts * small edits * fixing * fixing formatting
1 parent f758f68 commit e6894ff

File tree

6 files changed

+1231
-19
lines changed

6 files changed

+1231
-19
lines changed

docs/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# About page
22

3-
Labcore and the whole [Tools For Experiments](https://github.com/toolsforexperiments) are the sofware efforts of [Pfaff-lab at the University of Illinois at Urbana-Champaign](https://pfaff.physics.illinois.edu/).
3+
Labcore and the whole [Tools For Experiments](https://github.com/toolsforexperiments) are the sofware efforts of [Pfafflab at the University of Illinois at Urbana-Champaign](https://pfaff.physics.illinois.edu/).
44

55
We are an experimental physics research group at UIUC, where we are a part of the Physics department, IQUIST and MRL. Our work falls broadly into quantum optics and quantum information, with a lot of influences from AMO and condensed matter physics.
66

docs/conf.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,18 @@
1313
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1414

1515
project = 'Labcore'
16-
copyright = '2025-2026, Marcos Frenkel, Wolfgang Pfaff, Cynthia Nolan'
17-
author = 'Marcos Frenkel, Wolfgang Pfaff, Cynthia Nolan'
16+
copyright = '2025-2026, Marcos Frenkel, Wolfgang Pfaff, Cynthia Nolan, Oliver Wolff'
17+
author = 'Marcos Frenkel, Wolfgang Pfaff, Cynthia Nolan, Oliver Wolff'
1818

1919
# -- General configuration ---------------------------------------------------
2020
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2121

2222
extensions = [
23-
'myst_parser', # Markdown support
2423
'sphinx.ext.autodoc', # API documentation from docstrings
2524
'sphinx.ext.autosummary', # Generate summary tables for modules
2625
'sphinx.ext.napoleon', # Support for NumPy and Google style docstrings
2726
'sphinx.ext.viewcode', # Add links to source code
28-
'nbsphinx', # Jupyter notebook support
27+
'myst_nb', # Jupyter notebook + MyST support
2928
'sphinx.ext.intersphinx', # Link to other project docs
3029
]
3130

@@ -47,6 +46,10 @@
4746
# Allow MyST to parse Sphinx roles and directives
4847
myst_enable_roles = True
4948

49+
# MyST-NB notebook execution
50+
jupyter_execute_notebooks = "off" # Do not run notebooks during docs build
51+
nb_execution_allow_errors = True # Continue building if a notebook cell errors
52+
5053
# Autosummary configuration (auto-generate API docs)
5154
autosummary_generate = True
5255
autosummary_generate_overwrite = True
@@ -61,11 +64,6 @@
6164
# MyST configuration for proper cross-references in Markdown
6265
myst_linkify_fuzzy_links = True
6366

64-
# nbsphinx configuration (for Jupyter notebooks)
65-
nbsphinx_execute = 'never' # Don't execute notebooks during build (safer)
66-
nbsphinx_allow_errors = True # Continue building if notebook has errors
67-
nbsphinx_kernel_name = 'python3'
68-
6967
# Intersphinx configuration (link to other docs)
7068
intersphinx_mapping = {
7169
'python': ('https://docs.python.org/3', None),
@@ -127,4 +125,4 @@
127125
# HTML context for custom variables
128126
html_context = {
129127
"default_mode": "auto" # Light/dark theme
130-
}
128+
}

docs/first_steps/15_min_guide.ipynb

Lines changed: 1206 additions & 0 deletions
Large diffs are not rendered by default.

docs/first_steps/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# First Steps
22

3-
The following pages will help you get familiar with Labcore's tools. They are not meant to be exhaustive but simply an introduction.
3+
This page should give you a 15 minute introduction to using some of labcore's basic functionalities.
4+
5+
## Installation
6+
To install labcore from a local clone: ``pip install -e /path/to/labcore`` (Coming soon to a PyPI package near you!). For more detailed installation instructions, see the [installation guide](installation.md).
7+
8+
## Table of contents
49

510
```{toctree}
11+
15_min_guide
612
installation
713
first_data
814
first_analysis

docs/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,23 @@ Site under construction
1717

1818
## Overview
1919

20-
Labcore and the whole [Tools For Experiments](https://github.com/toolsforexperiments) are the software efforts of [Pfaff-lab at the University of Illinois at Urbana-Champaign](https://pfaff.physics.illinois.edu/).
20+
Labcore and the entire [Tools For Experiments](https://github.com/toolsforexperiments) are the software efforts of [Pfafflab at the University of Illinois at Urbana-Champaign](https://pfaff.physics.illinois.edu/).
2121

2222
### Full Stack Toolset
2323

24-
Labcore helps your lab function on all steps of the software stack. From controlling instruments and experiment flow, to final data analysis for publication papers, Labcore provides tools for all of them.
24+
Labcore helps your lab function on all levels of the software stack. Labcore provides tools all the way from controlling instruments and experiment flow to final data analysis for preparing publications.
2525

2626
### Modular Design
2727

28-
Only use the tools that you need. Labcore modular designs lets you choose which parts of it are the most convenient for your workflow and gets out of the way for the rest.
28+
Only use the tools that you need. Labcore's modular design lets you choose the parts that are most convenient for your workflow and integrates with whichever other tools you use.
2929

3030
### Developed by Physicists
3131

32-
Labcore is developed by Physicists for real needs happening inside of our lab.
32+
Labcore is developed by and used by physicists in experimental research groups. We understand the needs of a physics laboratory, and design Labcore to meet those needs.
3333

34-
## Documentation
34+
## Getting started
35+
36+
To begin using Labcore, check out the [Getting Started Guide](first_steps/index.md) which will give a tutorial to install and begin using Labcore.
3537

3638
```{toctree}
3739
:maxdepth: 2

environment-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66
- sphinx
77
- pydata-sphinx-theme
88
- myst-parser
9-
- nbsphinx
9+
- myst-nb
1010
- pandoc
1111
- ipykernel
1212
- linkify-it-py
13-
- h5py # Not a doc requirement but the pip installation fails.
13+
- h5py # Not a doc requirement but the pip installation fails.

0 commit comments

Comments
 (0)