Skip to content

Commit

Permalink
Merge branch 'main' into syntax-highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmccart authored Nov 6, 2023
2 parents b8c21b7 + dd7b0b5 commit 1650498
Show file tree
Hide file tree
Showing 13 changed files with 306 additions and 26 deletions.
24 changes: 11 additions & 13 deletions docs/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,23 +173,21 @@ config.video[1].max_frame_count = 150 # collect 150 frames
config = runtime.set_configuration(config)
```

---
**NOTE**
!!! note

If you run this tutorial multiple times, you can clear output from previous runs with:
If you run this tutorial multiple times, you can clear output from previous runs with:

```python
import os
import shutil
```python
import os
import shutil

if config.video[0].storage.settings.filename in os.listdir("."):
shutil.rmtree(config.video[0].storage.settings.filename)
if config.video[1].storage.settings.filename in os.listdir("."):
shutil.rmtree(config.video[1].storage.settings.filename)
```
if config.video[0].storage.settings.filename in os.listdir("."):
shutil.rmtree(config.video[0].storage.settings.filename)

if config.video[1].storage.settings.filename in os.listdir("."):
shutil.rmtree(config.video[1].storage.settings.filename)
```

---
## Acquire Data

To start aquiring data:
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
acquire-python is a python package that provides a multi-camera video streaming
library focusing on performant microscopy.

```{note}
This is an early stage project. If you find it interesting please reach out!
```
!!! note

This is an early stage project. If you find it interesting please reach out!

Support for:

Expand Down
107 changes: 107 additions & 0 deletions docs/stylesheets/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
html {
--md-primary-fg-color: black !important;
}

.md-header {
background-color: black;
}
Expand Down Expand Up @@ -40,6 +44,109 @@
color: white;
}


.md-typeset pre>code:hover {
scrollbar-color: var(--md-accent-fg-color) #0000;
}

.md-nav--primary .md-nav__title .md-logo {
display: none;
}

.md-nav--primary .md-nav__title {
height: 3rem;
padding-top: 0.3rem;
padding-left: 2rem;
}

.md-nav--primary .md-nav__title .md-nav__icon::after {
margin-top: 0.3rem;
}


@media screen and (max-width: 800px) {
.md-nav__source {
display: none;
}
}

.md-footer-meta__inner {
display: flex;
flex-direction: column;
}

.md-footer-meta__inner-social {
display: flex;
flex-direction: row;
margin-left: 0;
align-items: center;
justify-content: space-between;
}

.md-footer-meta__inner-social .links {
display: flex;
padding-left: 14px;
}

html .md-footer-meta.md-typeset a {
color: var(--md-footer-fg-color--light);
text-decoration: underline;
}

.md-header__links {
display: flex;
flex-direction: row;
}

.md-source {
font-weight: 700;
text-decoration: none !important;
display: flex;
align-items: center;
padding-right: 38px;
color: var(--md-footer-fg-color);
opacity: 0.7;
}

.md-source:hover {
opacity: 1;
}

.vl {
border-left: 2px solid white;
height: 42px;
opacity: 0.7;
}

.czi {
padding-left: 76px;
}

@media (max-width: 800px) {
.vl {
display: none;
}
.md-footer-meta__inner-social {
display: flex;
flex-direction: column;
align-self: flex-start;
padding-left: 1rem;
}
.md-footer-meta__inner-social .links {
padding-left: 0px;
}
.czi {
padding-left: 0px;
}
.md-source {
display: flex;
flex-direction: row;
align-items: center;
align-self: flex-start;
padding: 0.3rem 0 0.3rem 0;
}
.md-footer__title:hover {
color: var(--md-accent-fg-color);
}


File renamed without changes.
File renamed without changes.
10 changes: 9 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ theme:
name: material
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.footer
- content.code.copy
custom_dir: overrides
Expand All @@ -16,7 +17,9 @@ nav:
- Home: index.md
- Get Started: get_started.md
- API Reference: api_reference.md
- Tutorials: tutorials.md
- Tutorials:
- tutorials/tutorials.md
- tutorials/trigger.md
- For contributors: for_contributors.md

extra:
Expand All @@ -32,3 +35,8 @@ markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- admonition
- pymdownx.details
- pymdownx.superfences


14 changes: 14 additions & 0 deletions overrides/assets/images/CZI_Logotype.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions overrides/assets/images/Icon-Github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1650498

Please sign in to comment.