mirror of
https://github.com/openmlsys/openmlsys-zh.git
synced 2026-05-02 06:23:59 +08:00
refactor: symmetric config layout and root CONTRIBUTING docs (#502)
* refactor: reorganize mdbook config and contributing docs * fix: correct preprocessor relative paths in book.toml configs The preprocessor command paths had one extra ../ level, resolving outside the repo root. Fix from ../../../../tools/ to ../../../tools/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,10 +10,10 @@ REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
class DarkModeImagesCssTests(unittest.TestCase):
|
||||
def test_both_theme_css_files_style_dark_mode_body_images_only(self) -> None:
|
||||
css_paths = [
|
||||
REPO_ROOT / "v1" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v1" / "books" / "zh" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v2" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v2" / "books" / "zh" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v1" / "config" / "en_config" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v1" / "config" / "zh_config" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v2" / "config" / "en_config" / "theme" / "dark-mode-images.css",
|
||||
REPO_ROOT / "v2" / "config" / "zh_config" / "theme" / "dark-mode-images.css",
|
||||
]
|
||||
|
||||
for css_path in css_paths:
|
||||
|
||||
Reference in New Issue
Block a user