From 2bffa9e71810f8ad6719837a21768d26e462a0be Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 26 Jun 2023 09:41:20 +0100 Subject: [PATCH 1/3] Deploy docs to external repo --- .github/workflows/docs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e7e6a297..be5b00a6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,3 +51,5 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4 with: folder: html + ssh-key: ${{ secrets.DEPLOY_KEY }} + repository-name: dstansby/napari-matplotlib.github.io From ae95fa06a3a40fed2a160baf7db54e3691920155 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 26 Jun 2023 09:55:39 +0100 Subject: [PATCH 2/3] Update repository --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index be5b00a6..30a2c3eb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -52,4 +52,4 @@ jobs: with: folder: html ssh-key: ${{ secrets.DEPLOY_KEY }} - repository-name: dstansby/napari-matplotlib.github.io + repository-name: dstansby/napari-matplotlib-docs From bdd3172c2ef0d690599ae0ca9e30b71e47a5878f Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 26 Jun 2023 10:42:11 +0100 Subject: [PATCH 3/3] Minor improvements to docs --- docs/conf.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 060f14df..4351e610 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -92,3 +92,17 @@ # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". # html_static_path = ['_static'] + +html_theme_options = { + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/matplotlib/napari-matplotlib", + "icon": "fa-brands fa-square-github", + "type": "fontawesome", + } + ], + "logo": { + "text": "napari-matplotlib", + }, +}