Skip to content

fix(guide): 1. resolve guide missing chapter cover images after mdbook build. 2. make intro title visible#232

Open
Ander-Index wants to merge 17 commits intoklembot:developfrom
Ander-Index:develop
Open

fix(guide): 1. resolve guide missing chapter cover images after mdbook build. 2. make intro title visible#232
Ander-Index wants to merge 17 commits intoklembot:developfrom
Ander-Index:develop

Conversation

@Ander-Index
Copy link
Copy Markdown

@Ander-Index Ander-Index commented Mar 17, 2026

Corrected the background-image path from ../ to ./ to fix the broken asset URL in the mdbook build.

And adds color: white; to the intro header in guide/custom.css so the title is visible on the black background.

@Ander-Index Ander-Index changed the title fix: resolve guide missing chapter cover images after mdbook build fix(guide): resolve guide missing chapter cover images after mdbook build Mar 17, 2026
This PR adds `color: white;` to the intro header in `guide/custom.css` so the title is visible on the black background.
@Ander-Index Ander-Index changed the title fix(guide): resolve guide missing chapter cover images after mdbook build fix(guide): 1. resolve guide missing chapter cover images after mdbook build. 2. make intro title visible Mar 17, 2026
@klembot
Copy link
Copy Markdown
Owner

klembot commented Mar 21, 2026

Hi, I don't see a broken image or invisible text on https://klembot.github.io/chapbook/guide/, which I think is where the CSS changes are you're referencing. Could you post screenshots of the problems you're seeing?

@Ander-Index
Copy link
Copy Markdown
Author

Hi, I don't see a broken image or invisible text on https://klembot.github.io/chapbook/guide/, which I think is where the CSS changes are you're referencing. Could you post screenshots of the problems you're seeing?

1

Check out latest develop branch (a09a37b)

image

2 Build

image

cd /Volumes/Storage/Repositories/chapbook/guide
mdbook build

image

3 result

open /Volumes/Storage/Repositories/chapbook/dist/guide/index.html

image image

4

macOS Chrome: 142.0.7444.176 (without any plug-in)

@Ander-Index
Copy link
Copy Markdown
Author

mdbook v0.5.2 (from Homebrew)

@klembot
Copy link
Copy Markdown
Owner

klembot commented Mar 28, 2026

Looked into this further and I think I understand what is going on.

I wish we could specify a mdbook version somehow to eliminate the possibility of these kind of unexpected changes :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants