Enhance documentation and configuration for static site generator

- Update README for clarity and quick start instructions
- Refine default config.toml with hostname and base path
- Adjust index.md files for consistent heading levels
- Simplify CSS for code block styling and remove unnecessary theme switching
- Refactor SiteConfig to derive full base URL from hostname and base path
- Update MarkdownRenderer to remove light theme handling
This commit is contained in:
yhirose
2026-03-02 00:48:14 -05:00
parent fdb589d97e
commit 2e124cde02
10 changed files with 225 additions and 162 deletions

View File

@@ -304,7 +304,7 @@ a:hover {
}
.content article pre {
background: var(--bg-code) !important;
background: var(--bg-code);
color: var(--text-code);
padding: 16px;
border-radius: 4px;
@@ -426,13 +426,6 @@ a:hover {
--nav-section-active: #333;
}
/* Code block theme switching */
.code-light { display: none; }
.code-dark { display: block; }
[data-theme="light"] .code-light { display: block; }
[data-theme="light"] .code-dark { display: none; }
/* Theme toggle */
.theme-toggle {
display: flex;