docs(site): align docs theme with the easy-paging / devslab.kr look#42
Merged
Conversation
The site rendered differently from the other devslab docs sites because the theme assets were hand-written instead of taken from the established template. Bring them in line with easy-paging (the canonical devslab mkdocs site): - extra.css: replace the partial 75-line stylesheet with easy-paging's full 243-line theme verbatim — Pretendard typography (the devslab.kr font), a WHITE header in light mode (was dark), logo invert in dark mode, AA-contrast cyan link/button treatment, and the EN/한 text language switcher. - logo: add docs/assets/logo.svg (the devslab mark) and wire theme.logo + theme.favicon, so the header shows the brand mark like the other sites. - mkdocs.yml: add pymdownx.emoji (twemoji) + superfences custom_fences + highlight line_spans — without the emoji extension the home page's :material-...: icons rendered as literal text. Verified: mkdocs build --strict clean (0 warnings); the 6 material icons on the home page now render as inline SVG (0 literal ':material-' leftovers), the header logo resolves, and Pretendard + the light/dark palette match easy-paging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The docs site looked different from the other devslab docs sites because I hand-wrote the theme instead of using the established template. This brings it in line with easy-paging (the canonical devslab mkdocs site).
Fixes
docs/assets/logo.svg(the devslab mark) + wiredtheme.logo/theme.favicon, so the header shows the brand mark like the other sites.pymdownx.emoji(twemoji) + superfencescustom_fences+ highlightline_spans. Without the emoji extension the home page's:material-…:icons rendered as literal text.Verification
mkdocs build --strictclean (0 warnings). The 6 material icons on the home page now render as inline SVG (0 literal:material-leftovers), the header logo resolves, and Pretendard + the light/dark palette match easy-paging.