From c1ccfa0e1223a7083669d533c8ecf38f8c5546de Mon Sep 17 00:00:00 2001 From: Atli Bjarnason Date: Sat, 29 Jun 2024 19:18:33 +0000 Subject: [PATCH] update --- rit/conf.py | 14 +++++++------- yml/azure-ritsafn-dev/action.yml | 5 +++++ yml/azure-ritsafn-main/action.yml | 5 +++++ 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/rit/conf.py b/rit/conf.py index 4aa5c97..9cce67e 100644 --- a/rit/conf.py +++ b/rit/conf.py @@ -125,7 +125,7 @@ extensions = [ 'sphinxcontrib.tikz', 'sphinx_sitemap', # Búa til sitemap.xml skrá - 'sphinx_favicon', + 'sphinx_favicon', # Setja inn favicon 'sphinx_copybutton', # Takki til að taka afrit af kóðablokkum ] @@ -444,12 +444,12 @@ def apply_styles(text, styles): # -- sphinx_favicon configuration -------------------------------------------- -#favicons = [ -# {"rel": "icon", "href": "favicon/favicon.ico", "sizes": "32x32"}, -# {"rel": "icon", "href": "favicon/icon.svg", "type": "image/svg+xml"}, -# {"rel": "apple-touch-icon", "href": "favicon/apple-touch-icon.png"}, -# {"rel": "manifest", "href": "/webmanifest.json"}, -#] +favicons = [ + {"rel": "icon", "href": "favicon/favicon.ico", "sizes": "32x32"}, + {"rel": "icon", "href": "favicon/icon.svg", "type": "image/svg+xml"}, + {"rel": "apple-touch-icon", "href": "favicon/apple-touch-icon.png"}, + {"rel": "manifest", "href": "/webmanifest.json"}, +] diff --git a/yml/azure-ritsafn-dev/action.yml b/yml/azure-ritsafn-dev/action.yml index 430f76c..3008523 100644 --- a/yml/azure-ritsafn-dev/action.yml +++ b/yml/azure-ritsafn-dev/action.yml @@ -13,6 +13,11 @@ runs: mv json/azure-ritsafn-dev/staticwebapp.config.json rit/_build/html/ shell: bash + - name: MAIN - Add manifest.json + run: | + mv json/manifest.json rit/_build/html/ + shell: bash + - name: DEV - Delete sitemap.xml run: | rm rit/_build/html/sitemap.xml diff --git a/yml/azure-ritsafn-main/action.yml b/yml/azure-ritsafn-main/action.yml index b9428c1..3f13362 100644 --- a/yml/azure-ritsafn-main/action.yml +++ b/yml/azure-ritsafn-main/action.yml @@ -17,3 +17,8 @@ runs: run: | mv txt/robots.txt rit/_build/html/ shell: bash + + - name: MAIN - Add manifest.json + run: | + mv json/manifest.json rit/_build/html/ + shell: bash \ No newline at end of file