Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bioimage_analysis_with_python_course
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IAH public
bioimage_analysis_with_python_course
Commits
32041a1a
Commit
32041a1a
authored
3 years ago
by
guiwitz
Browse files
Options
Downloads
Patches
Plain Diff
add jupyter-book
parent
29853578
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.github/workflows/book.yml
+38
-0
38 additions, 0 deletions
.github/workflows/book.yml
_config.yml
+6
-0
6 additions, 0 deletions
_config.yml
_toc.yml
+15
-0
15 additions, 0 deletions
_toc.yml
book/requirements.txt
+1
-0
1 addition, 0 deletions
book/requirements.txt
with
60 additions
and
0 deletions
.github/workflows/book.yml
0 → 100644
+
38
−
0
View file @
32041a1a
name
:
deploy-book
# Only run this when the master branch changes
on
:
[
workflow_dispatch
]
#push:
# branches:
# - master
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs
:
deploy-book
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
# Install dependencies
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
3.8
# Install pip dependencies
-
name
:
Install dependencies
run
:
|
$CONDA/bin/pip install pip -U
$CONDA/bin/pip install -r book/requirements.txt
# Build the book
-
name
:
Build the book
run
:
|
$CONDA/bin/jupyter-book build .
# Push the book's HTML to github-pages
-
name
:
GitHub Pages action
uses
:
peaceiris/actions-gh-pages@v3.6.1
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
publish_dir
:
./_build/html
This diff is collapsed.
Click to expand it.
_config.yml
0 → 100644
+
6
−
0
View file @
32041a1a
# Book settings
title
:
Image processing with Python for beginners
author
:
Guillaume Witz
#logo: 'logo.png'
execute
:
execute_notebooks
:
"
off"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
_toc.yml
0 → 100644
+
15
−
0
View file @
32041a1a
format
:
jb-book
root
:
Readme
chapters
:
-
file
:
01-Python_essentials
-
file
:
02-Images_as_arrays
-
file
:
03-More_on_images
-
file
:
04-Thresholding
-
file
:
05-Filtering
-
file
:
06-Regions
-
file
:
07-Pipeline
-
file
:
08-Logical_flow
-
file
:
Appendix_Functions
-
file
:
Appendix_Structures
-
file
:
Cheatsheet
-
file
:
Demo
\ No newline at end of file
This diff is collapsed.
Click to expand it.
book/requirements.txt
0 → 100644
+
1
−
0
View file @
32041a1a
jupyter-book>=0.7.0b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment