From cc3803d41481c5aba8ac1c9f3ca75126de931ceb Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 6 Jun 2025 09:26:51 +0200 Subject: [PATCH] content(fix): replace the word 'compile' with 'bundle' and add new examples to features page (#11) The word "compile" is not really what this thing is doing, so I replaced every "compile" reference to "bundle" instead. I also added an anchor tag example to the "navigate any element" snippet on the /features page. And I also copied the asset injection example from the /index page into the /features page. Reviewed-on: https://codeberg.org/vegvisir/website/pulls/11 --- .../docs/v3.1.4/Reference/PHP/VV/include.php | 2 +- public/docs/v3.1.4/Reference/PHP/VV/init.php | 2 +- .../docs/v3.1.5/Reference/PHP/VV/include.php | 2 +- public/docs/v3.1.5/Reference/PHP/VV/init.php | 2 +- public/features.php | 19 +++++++++++++++++++ public/index.php | 2 +- .../features/vv-include/shell.php.php | 2 +- .../features/vv-nav/shell.php.php | 2 +- .../{compiled.html.php => bundled.html.php} | 0 .../index_assets/demo.php.php | 2 +- 10 files changed, 27 insertions(+), 8 deletions(-) rename snippets/HTMLCodeDemoElement/index_assets/{compiled.html.php => bundled.html.php} (100%) diff --git a/public/docs/v3.1.4/Reference/PHP/VV/include.php b/public/docs/v3.1.4/Reference/PHP/VV/include.php index 9b28f5a..20686d0 100644 --- a/public/docs/v3.1.4/Reference/PHP/VV/include.php +++ b/public/docs/v3.1.4/Reference/PHP/VV/include.php @@ -2,7 +2,7 @@

VV::include()

-

Inject the compiled output of another Vegvisir page (or other PHP script).

+

Inject the bundled output of another Vegvisir page (or other PHP script).

diff --git a/public/docs/v3.1.4/Reference/PHP/VV/init.php b/public/docs/v3.1.4/Reference/PHP/VV/init.php index ce006d6..23e5081 100644 --- a/public/docs/v3.1.4/Reference/PHP/VV/init.php +++ b/public/docs/v3.1.4/Reference/PHP/VV/init.php @@ -19,7 +19,7 @@

string

-

Returns a script tag with the compiled and minified JavaScript required to run the Vegvisir front-end.

+

Returns a script tag with the bundled and minified JavaScript required to run the Vegvisir front-end.


diff --git a/public/docs/v3.1.5/Reference/PHP/VV/include.php b/public/docs/v3.1.5/Reference/PHP/VV/include.php index ee14bfb..1100a68 100644 --- a/public/docs/v3.1.5/Reference/PHP/VV/include.php +++ b/public/docs/v3.1.5/Reference/PHP/VV/include.php @@ -2,7 +2,7 @@

VV::include()

-

Inject the compiled output of another Vegvisir page (or other PHP script).

+

Inject the bundled output of another Vegvisir page (or other PHP script).

diff --git a/public/docs/v3.1.5/Reference/PHP/VV/init.php b/public/docs/v3.1.5/Reference/PHP/VV/init.php index 5417adb..f56ad45 100644 --- a/public/docs/v3.1.5/Reference/PHP/VV/init.php +++ b/public/docs/v3.1.5/Reference/PHP/VV/init.php @@ -19,7 +19,7 @@

string

-

Returns a script tag with the compiled and minified JavaScript required to run the Vegvisir front-end.

+

Returns a script tag with the bundled and minified JavaScript required to run the Vegvisir front-end.


diff --git a/public/features.php b/public/features.php index 582df4c..7a8f896 100644 --- a/public/features.php +++ b/public/features.php @@ -52,4 +52,23 @@
+
+
+
+

Asset injection

+

Bundle page-specific CSS and JavaScript with your templating markdown. Vegvisir will import and minify CSS and JavaScript on the fly. The bundled result is returned in a single response.

+ +
+
+ +
\ No newline at end of file diff --git a/public/index.php b/public/index.php index 06ab110..397f886 100644 --- a/public/index.php +++ b/public/index.php @@ -34,7 +34,7 @@

Asset injection

-

Bundle page-specific CSS and JavaScript with your templating markdown. Vegvisir will import and minify CSS and JavaScript on the fly. The compiled result is returned in a single response.

+

Bundle page-specific CSS and JavaScript with your templating markdown. Vegvisir will import and minify CSS and JavaScript on the fly. The bundled result is returned in a single response.