Skip to content

Commit 1bd4267

Browse files
authored
Add a logo to Jupyter book (#216)
* Add files via upload * Update deploy.yml to include PNG file copying Added support for copying PNG files during deployment. * Copy PNG files to build directory * Add logo configuration to _config.yml
1 parent 07b6c58 commit 1bd4267

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
run: |
2323
cp documentation/_config.yml .
2424
cp documentation/_toc.yml .
25-
cp documentation/*.md .
25+
cp documentation/*.md .
26+
cp documentation/*.png .
2627
jupyter-book build . --path-output public
2728
mv public/_build/html public_html
2829
touch public_html/.nojekyll
@@ -32,4 +33,4 @@ jobs:
3233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3334
BRANCH: gh-pages # The branch the action should deploy to.
3435
FOLDER: public_html # The folder the action should deploy.
35-
CLEAN: true
36+
CLEAN: true

‎.github/workflows/pipeline.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ jobs:
175175
cp documentation/_config.yml .
176176
cp documentation/_toc.yml .
177177
cp documentation/*.md .
178+
cp documentation/*.png .
178179
jupyter-book build . --path-output public
179180
mv public/_build/html public_html
180181
touch public_html/.nojekyll

‎documentation/_config.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
title: Python Workflow Definition
22
author: Jan Janssen
33
copyright: "2026"
4+
logo: logo.png
45

56
execute:
67
execute_notebooks : off

‎documentation/logo.png‎

743 KB
Loading

0 commit comments

Comments
 (0)