Commit graph

252 commits

Author SHA1 Message Date
8cf80d9c09 chore(dependencies): update caniuse-lite to latest version
Updating the caniuse-lite package to ensure the project benefits from
the latest browser compatibility data, which is crucial for maintaining
up-to-date front-end features.

- Updated caniuse-lite from version 1.0.30001662 to 1.0.30001664
- Changed resolved URL to match the new version
- Updated integrity hash to ensure package authenticity and integrity

Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
2025-03-27 10:16:44 +01:00
d4924377fe refactor(docs): reorganize assets and update styling
Improves the maintainability and clarity of the documentation assets by
restructuring directories and refining CSS rules.

- Rename CSS and JavaScript directories for better asset organization.
- Add CSS rules to hide elements with 'bc-docs-hidden' attribute,
  enhancing document customization.
- Comment out specific content in CSS header to simplify text display.
- Remove outdated UML mindmap file to clean up unused resources.
- Comment out 'md_in_html' extension in mkdocs configuration to
  streamline markdown processing.

Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
2025-03-27 10:16:07 +01:00
6a2abc6235 feat(docker): modularize Docker setup for docs and slides
Introduces distinct Dockerfiles for documentation and slide projects, enhancing modularity and build efficiency. The previous monolithic structure was less flexible and caused longer build times.

- Added `DOCMACHINE_DOCS_ENABLE` and `DOCMACHINE_SLIDES_ENABLE` env variables to toggle features.
- Created `docker/Dockerfile.docs` for documentation builds, including necessary tools and dependencies.
- Created `docker/Dockerfile.slides` for slide builds to streamline setup.
- Updated main Dockerfile to include `python-is-python3` for compatibility, removing redundant symlinks.
- Enhanced LaTeX tools by adding `texlive-xetex` and extra fonts for improved PDF output.
2025-03-27 10:14:38 +01:00
2a607d6f21 refactor(docs): enhance PDF build process and font settings
Improves the PDF generation process by adding verbosity and updating
font configurations, ensuring better compatibility and output quality.

- Add "--verbose" to pandoc command for detailed output during PDF
  generation
- Change monofont from "SauceCodePro Nerd Font" to "Noto Sans Mono" for
  improved font rendering
- Switch PDF engine from "pdflatex" to "xelatex" for better Unicode
  support
- Uncomment fontspec package in LaTeX to enable custom font settings
- Add inputenc package and Unicode character declaration for extended
  character support

Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
2025-03-27 09:59:17 +01:00
a8b755a7c9 chore(makefile): enhance CSS build output readability
Improved the readability of the generated CSS files by expanding their
style format. This change aids in debugging and maintenance by providing
a clearer view of the CSS structure.

* Added `--style=expanded` option to the `npx sass` command in the
  Makefile
* Ensures that the generated CSS is more human-readable, facilitating
  easier troubleshooting and updates

Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
2025-03-18 14:30:04 +01:00
8ad5e1ff47 fix(Makefile): resolve recursive variable expansion issues
Addressed issues with recursive variable expansion in the Makefile to ensure proper variable assignment and prevent potential build errors.

* Changed variable assignments to use ':=' for non-recursive expansion
* Updated all relevant variables to prevent recursive expansion errors
* Ensured consistent and efficient variable handling across the Makefile

Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
2025-03-18 14:19:53 +01:00
0fea694575 chore: update Dockerfile dependencies and improve PDF build process 2024-12-12 09:19:29 +01:00
0249d0e85c feat: add support for pandoc pdf 2024-12-11 22:14:25 +01:00
ff82c631b4 fix: makefile tasks for watch 2024-09-30 18:12:26 +02:00
a0279653f5 fix: make sure it runs 2024-09-23 01:39:46 +02:00
3cea2ba18d refactor: makefile & tasks 2024-09-23 01:03:29 +02:00
39d701f946 feat: add overlay testing script 2024-09-23 00:09:21 +02:00
55d808d43b fix: ignore mkdocs from docker build 2024-09-23 00:09:04 +02:00
f2eeb554c8 fix: ignore deploy 2024-09-23 00:08:33 +02:00
7b17049512 fix: sort help output 2024-09-23 00:06:32 +02:00
c4038b34cf fix: ignore md files in docs/ and slides/ 2024-09-22 23:43:32 +02:00
18689043a4 fix: bump versions in pipfile 2024-09-22 23:43:02 +02:00
acec55dfff refactor: move tasks in subfiles 2024-09-22 23:42:26 +02:00
a58dcec4ca fix: switch to recent version of sass 2024-09-22 23:24:30 +02:00
cf07f3b064 refactor: split Makefile into task files 2024-09-10 18:43:40 +02:00
1ebd4cbd4f refactor(make): split Makefile into sub-tasks files 2024-08-05 12:36:47 +02:00
b525f75055 Merge branch 'master' of code.apps.glenux.net:glenux/docmachine-containers 2024-06-11 22:29:31 +02:00
daf532a83a feat: enable navigation footer 2024-06-11 22:28:00 +02:00
8c56abd321 Update README.md 2024-06-02 07:11:52 +00:00
3d70d70f2f fix: change caddy port 2024-05-12 21:27:24 +02:00
d69b02e78c fix: change caddy port 2024-05-12 21:27:03 +02:00
dcc20d6b3f feat: add support for margins & draft class 2024-05-12 21:25:10 +02:00
d123b3cd65 chore: bump marp versions 2024-04-17 17:05:16 +02:00
0e364f496d feat: add support for rsync (needed by image subdirs) 2024-02-16 23:58:51 +01:00
26a71920b0 fix: ignore caddy for now 2024-02-16 23:58:29 +01:00
f0463071cc chore: update marp dependencies 2024-02-16 23:58:12 +01:00
bc3f0f911f fix: ignore _* files and dirs & manage image subfolders 2024-02-16 23:57:43 +01:00
8c259145ef fix: enable code highlight in marp 2024-02-16 23:56:36 +01:00
1fe182d9fe chore: ignore autoslide 2024-02-01 14:15:34 +01:00
bee16a9593 Bump debian and python versions 2024-02-01 14:12:24 +01:00
b50a639d9d chore: Remove script/docmachine* scripts now we have real tools 2023-04-06 20:22:22 +02:00
53a626474c make: Fix bad ref and help text for PPTX 2023-04-06 20:20:15 +02:00
9fd96ed628 make: Auto-build autoslide 2023-04-06 20:15:54 +02:00
434c3d72e0 doc: Update README 2023-01-16 12:36:18 +01:00
faad02b41c fix: docker build must ignore drone file 2023-01-16 12:25:43 +01:00
e3ef99661a ci: remove useless build step 2023-01-16 12:18:02 +01:00
19e166d879 ci: fix image name 2023-01-16 12:00:40 +01:00
262ed88922 ci: fix dockerfile path 2023-01-16 11:59:23 +01:00
760d118240 brand: rename project 2023-01-16 11:56:01 +01:00
3deea69d24 config: enable codehilite 2023-01-16 11:46:45 +01:00
adaa7c0f25 fix: Force version number for node image 2023-01-12 08:47:45 +01:00
c5b12cb0a8 fix: Make sure autoslide is run before watch 2023-01-12 08:47:21 +01:00
f638a9d5a3 Add extra JS & CSS 2022-11-18 16:13:28 +01:00
aee774329f feat: Kill previous container for the same project if it exists 2022-11-02 20:55:53 +01:00
6b315b2f44 doc: Improve readability of script 2022-11-02 20:53:20 +01:00