13 Commits

Author SHA1 Message Date
1283eb30cb feat(migration): Add #showimg, #linkimg, #ytvideo conversion
Adds logic to migrate_qs2_to_qs3.py to convert:
- #showimg to Markdown image syntax ![alt](src).
- #linkimg to Markdown linked image syntax [![alt](src)](src).
- #ytvideo to HTML iframe embed for YouTube videos.

Image path processing handles absolute URLs and prepends /images/
for relative paths, aligning with previous qsgen2 behavior but
omitting hardcoded styling attributes for Markdown output.
2025-05-31 01:13:55 +02:00
f5d6d0eb49 docs: Enhance explanations in site.conf.example
Updated site.conf.example to provide clearer and more detailed descriptions for each configuration variable, improving usability for new users.
2025-05-31 00:14:51 +02:00
1b8898ae2e chore: Remove extraneous 'home' directory from project root 2025-05-31 00:07:30 +02:00
681857225b chore: Remove old qsgen2 files and directories
Deleted legacy files and directories from the previous qsgen2 system, including:
- Root qsgen3 script (qsgen2)
- HOWTO.md, THEME-HOWTO.md, qsg2-square.png
- include/ directory
- Suspicious quoted 'output' directory
2025-05-31 00:06:37 +02:00
47a4c04d96 refactor: Standardize theme structure and update configs
- Restructured 'minimal' theme to use 'static/css' and 'static/js' subdirectories for assets, aligning with qsgen3's expected theme structure.
- Moved 'minimaltemplate-v1.css' to 'themes/minimal/static/css/'.
- Moved JS files from 'themes/minimal/css/' to 'themes/minimal/static/js/'.
- Updated 'site.conf.example' to reflect 'minimal' theme usage and correct 'site_theme_css_file' path relative to the theme's static directory.
- Cleaned up redundant CSS variable definitions in 'bin/qsgen3' (_generate_index_page function).
2025-05-31 00:05:05 +02:00
8ffd19a0c4 refactor: Remove redundant root CSS files
Removed layouts/css/default.css and static/css/style.css as themes now provide their own CSS, making these files obsolete.
2025-05-31 00:03:08 +02:00
3dad33a939 build: Add output/ to .gitignore and untrack existing output dir 2025-05-31 00:01:19 +02:00
c470ac40c0 feat: Implement robust theme system and document architecture
- Implement flexible theme switching via site.conf (site_theme, site_theme_css_file).
- Ensure correct copying of theme static assets, with theme assets overriding root assets.
- Resolve CSS linking issues by checking file existence after static copy and using correct paths for Pandoc.
- Refactor path construction to prevent duplication when using absolute/relative output paths.
- Create comprehensive how-it-works.md detailing system architecture, theme creation, and overall workflow.
- Clarify design philosophy: qsgen3 remains design-agnostic, only linking main theme CSS automatically.
2025-05-31 00:00:21 +02:00
c14e943f2b [WIP] Use the correct version of qsgen2 2025-05-30 21:06:09 +02:00
1261c2bab2 [WIP] Add back main script 2025-05-30 20:41:19 +02:00
0ef5c025a8 [WIP] Clean up 2025-05-30 20:38:31 +02:00
75105821fd [WIP] Initial commit for qsgen3 2025-05-30 20:37:56 +02:00
106b66753f Initial commit 2025-05-30 20:32:56 +02:00