From 1d4105c4e83adf817078468ae499993ee420659a Mon Sep 17 00:00:00 2001 From: gethvi Date: Mon, 8 Jan 2024 17:09:22 +0100 Subject: [PATCH] DOC: Fix logo path in index.md when building the docs. --- .github/workflows/build-docs.yml | 4 ++++ CHANGELOG.md | 1 + docs/index.md | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index d70a1f1d4..e0cc45f54 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -45,6 +45,10 @@ jobs: git config user.name intelmq-bot git config user.email intelmq-bot + - name: "Fix images path" + run: | + sed -i 's|docs/static/images/|static/images/|' docs/index.md + - name: "Build docs without publishing" if: github.event_name == 'pull_request' run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c48feb6..c419c2957 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -105,6 +105,7 @@ Stream API (PR#2408 and PR#2414 by Jan Kaliszewski). - Complete documentation overhaul. Change to markdown format. Uses the mkdocs-material (PR#2419 by Filip Pokorný). - Adds warning banner if not browsing the latest version of the docs (PR#2445 by Filip Pokorný). +- Fix logo path in index.md when building the docs (PR#2445 by Filip Pokorný). ### Packaging - Add `pendulum` to suggested packages, as it is required for the sieve bot (PR#2424 by Sebastian Wagner). diff --git a/docs/index.md b/docs/index.md index 79c310174..cf097897c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,7 +7,7 @@ [![CII Badge](https://bestpractices.coreinfrastructure.org/projects/4186/badge)](https://bestpractices.coreinfrastructure.org/projects/4186/) --> -![IntelMQ](/docs/static/images/Logo_Intel_MQ.svg) +![IntelMQ](docs/static/images/Logo_Intel_MQ.svg) # Introduction