Commit Graph

247 Commits

Author SHA1 Message Date
93953ed570 ... 2025-08-07 08:15:04 +02:00
2667856633 ... 2025-08-06 13:00:51 +02:00
d56a04e3ea Merge branch 'development' into development_fix_hero_and_ci
* development:
  ...

# Conflicts:
#	lib/core/herocmds/docusaurus.v
#	lib/data/encoderhero/decoder.v
#	lib/data/encoderhero/postgres_client_decoder_test.v
#	lib/web/site/play.v
2025-08-06 08:55:07 +02:00
04403b62a4 ... 2025-08-06 08:50:32 +02:00
Mahmoud-Emad
a848eaa18b refactor: Improve playbook processing and add generation
- Trigger doc content generation after playbook processing
- Remove mutable variables for playbook actions
- Eliminate `action.done = true` assignments
- Derive site name from title if not explicitly provided
- Separate local path and git URL for docusaurus sites
2025-08-05 17:47:33 +03:00
Mahmoud-Emad
ccf2d4a3a5 fix: Fix docusaurus compilation issues in development branch
- Update docusaurus.v to use correct API (dsite_add instead of add)
- Fix factory.v compiler bug by rewriting problematic or block syntax
- Ensure compilation works with current docusaurus module structure
2025-08-05 15:34:46 +03:00
c853f3b0ce ... 2025-08-04 08:01:26 +02:00
07bd258e54 ... 2025-08-04 07:05:04 +02:00
52f7a7a2b8 Merge branch 'development_ds' into development_fix_herobin
* development_ds:
  refactor: improve config path handling and clean up code
  refactor: dynamically load site config from heroscript
  feat: add multi-site support and playbook enhancements

# Conflicts:
#	lib/web/docusaurus/dsite_configuration.v
2025-08-04 05:41:59 +02:00
cf4d9e86c8 Merge branch 'development_ds' of github.com:freeflowuniverse/herolib into development_ds
* 'development_ds' of github.com:freeflowuniverse/herolib:
  refactor: improve config path handling and clean up code
  refactor: dynamically load site config from heroscript
  feat: add multi-site support and playbook enhancements
2025-08-04 05:41:11 +02:00
Mahmoud-Emad
2502f0a655 refactor: dynamically load site config from heroscript
- Process heroscript files using a playbook
- Dynamically add config, menus, and page files
- Retrieve site config from the processed playbook
- Override site description from meta config
- Remove unused 'deploykey' flag and import
2025-08-03 17:33:23 +03:00
Mahmoud-Emad
d747977185 feat: add multi-site support and playbook enhancements
- Refactor `site` module to process multiple configurations
- Add environment variable templating for playbook actions
- Activate playbook actions for setting coderoot and params
- Improve docusaurus config with metadata fallbacks
- Fix docusaurus navbar generation when logo is not defined
2025-08-03 12:14:55 +03:00
4b900e383a Merge branch 'development_ds' into development_fix_herobin
* development_ds:
  ...
  refactor: improve session action handling in play_core
  refactor: adapt docusaurus to use generic site module
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...
  ...

# Conflicts:
#	lib/biz/bizmodel/play.v
#	lib/threefold/grid4/cloudslices/play.v
#	lib/threefold/grid4/farmingsimulator/play.v
#	lib/web/docusaurus/dsite.v
#	lib/web/docusaurus/dsite_add.v
#	lib/web/docusaurus/dsite_configuration.v
#	lib/web/docusaurus/dsite_generate.v
2025-08-03 04:47:53 +02:00
8ae0d6e401 ... 2025-08-03 04:44:55 +02:00
Mahmoud-Emad
697c500e35 refactor: adapt docusaurus to use generic site module
- Introduce a new generic `site` module for web generation
- Update `herocmds` to use the new site creation flow
- Simplify docusaurus playbook logic with a `docusaurus.play` fn
- Refactor site generation to act on `Site` struct directly
- Fix playbook find filter to use wildcard `*`
2025-07-31 14:42:36 +03:00
Mahmoud-Emad
e6c1d84836 refactor: Generalize playbook find method and restructure site module
- Replace `actions_find` with a more generic `find(filter:)`
- Rename `siteconfig` module and related types to `site`
- Introduce a `Site` object to encapsulate configuration
- Update site generation to accept a playbook object directly
- Remove redundant blank lines and format code
2025-07-31 14:02:46 +03:00
59386bb1c2 ... 2025-07-30 20:06:27 +02:00
4472dc7d04 ... 2025-07-30 19:14:31 +02:00
7e250d1224 ... 2025-07-30 18:58:11 +02:00
14d8d5af8d ... 2025-07-30 18:51:29 +02:00
1cb6c486df ... 2025-07-30 17:43:39 +02:00
bc163eb61d ... 2025-07-30 17:35:19 +02:00
802f6e074d ... 2025-07-30 15:58:04 +02:00
4bf4294c42 ... 2025-07-30 15:28:14 +02:00
cb13febd78 ... 2025-07-30 15:24:10 +02:00
2bc2c07114 ... 2025-07-30 15:08:23 +02:00
66757c52d7 ... 2025-07-30 15:00:20 +02:00
9fd551e0f7 ... 2025-07-30 14:37:02 +02:00
0eb4dd38f8 ... 2025-07-30 14:19:16 +02:00
6233961371 ... 2025-07-30 14:01:29 +02:00
Mahmoud-Emad
2319912f8f refactor: Simplify site.config_meta action handling
- Replace `plbook.find` loop with direct `action_get`
- Standardize on single quotes for string arguments
- Adjust spacing around variable assignment operator
- Simplify PlayBook type hint
2025-07-30 14:53:31 +03:00
0363e5e661 .. 2025-07-30 13:49:57 +02:00
181a81a84a .... 2025-07-25 13:25:48 +02:00
f2079c7c3d ... 2025-07-25 11:05:30 +02:00
d59c9a06fd ... 2025-07-22 09:04:42 +02:00
b560288962 ... 2025-07-22 07:19:16 +02:00
57dfa87a9e ... 2025-07-21 17:50:37 +02:00
4fb7996f99 ... 2025-07-21 17:29:47 +02:00
bd9cc74c60 ... 2025-07-21 14:29:42 +02:00
8d7c8e8933 ... 2025-07-21 11:42:19 +02:00
959c1319e7 ... 2025-07-21 06:51:13 +02:00
ddf5fcbbcc ... 2025-07-21 06:18:46 +02:00
62932976dd ... 2025-07-20 16:01:09 +02:00
63217506dd ... 2025-07-20 15:57:36 +02:00
fdd619df85 ... 2025-07-20 15:52:46 +02:00
32fcda82e7 ... 2025-07-19 21:52:05 +02:00
721352489d ... 2025-07-19 21:48:11 +02:00
6092143ed8 ... 2025-07-19 21:19:00 +02:00
d469869b14 ... 2025-07-19 21:09:30 +02:00
391283159d ... 2025-07-19 21:09:16 +02:00