Skip to content

Commit 33b2922

Browse files
authored
Merge pull request #60 from dont-code/prj-enh
enhanced website
2 parents 6beb1a3 + 73e979e commit 33b2922

38 files changed

Lines changed: 1138 additions & 23 deletions

.github/workflows/doc-update.yml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,12 @@ jobs:
2121
with:
2222
name: Ng-xtend
2323
email: developer@dont-code.net
24-
- name: Install Pandoc
25-
uses: pandoc/actions/setup@v1
26-
- name: Run pandoc
27-
run: |
28-
mkdir --parents dist/ng-xtend-website/docs
29-
mkdir --parents dist/ng-xtend-website/apps/xt-plugin-tester
30-
mkdir --parents dist/ng-xtend-website/apps/xt-host
31-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend framework" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend" -H docs/matomo-script.html -o dist/ng-xtend-website/index.html README.md
32-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend plugin tester" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - Plugin tester" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-plugin-tester/index.html apps/xt-plugin-tester/README.md
33-
pandoc -f markdown -t html --file-scope=true --standalone --highlight-style=zenburn --metadata title-meta="ng-xtend host application" -V maxwidth="850px" -V fontsize="16pt" -V backgroundcolor="#13171F" -V fontcolor="#D1D5DB" -V linkcolor="#F43F5E" -V pagetitle="ng-xtend - Host application" -H docs/matomo-script.html -o dist/ng-xtend-website/apps/xt-host/index.html apps/xt-host/README.md
34-
cd dist/ng-xtend-website
35-
sed -i 's/README.md/index.html/g' index.html apps/xt-plugin-tester/index.html apps/xt-host/index.html
36-
cd ../../docs
37-
cp -r logos ../dist/ng-xtend-website/docs
38-
cp -r screenshots ../dist/ng-xtend-website/docs
39-
cd ../apps/xt-plugin-tester
40-
cp -r docs ../../dist/ng-xtend-website/apps/xt-plugin-tester
4124
- name: Update Ng-xtend.dev website from Readme
4225
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
4326
with:
4427
username: ${{secrets.NG_XTEND_DEV_WEBSITE_USER}}
4528
password: ${{secrets.NG_XTEND_DEV_WEBSITE_PASSWORD}}
46-
local_path: './dist/ng-xtend-website/*'
29+
local_path: './docs/ng-xtend-website/*'
4730
remote_path: '/www'
4831
server: 'ng-xtend.dev'
4932
port: ${{secrets.DONTCODE_WEBSITE_SSH_PORT}}

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
> **Empower your Angular applications with a flexible, scalable plugin ecosystem!** 🚀
44
5-
[![Try Live Demo](https://img.shields.io/badge/Try%20it-Live%20Demo-brightgreen)](https://test.dont-code.net/apps/latest/host/?project=Coffee%20Beans%20Evaluation)
5+
[![Try Live Demo](https://img.shields.io/badge/Try%20it-Live%20Demo-brightgreen)](https://dont-code.net/apps/latest/host/?project=Coffee%20Beans%20Evaluation)
6+
[![Try App Generator](https://img.shields.io/badge/Generate-your%20App-brightgreen)](https://dont-code.net/dashboard/repo/default?action=generate)
67
[![GitHub license](https://img.shields.io/github/license/dont-code/ng-xtend)](LICENSE)
78

89
## 💡 Why ng-xtend?
@@ -27,13 +28,13 @@ ng-xtend is an Angular library that enables you to:
2728
### ☕ Coffee Bean Evaluation
2829
A real-world example of an app handling complex data (lists, views, and editions) entirely through dynamic plugins.
2930

30-
[![Coffee Bean Evaluation](docs/screenshots/xt-host-list-view-plugins.png)](https://test.dont-code.net/apps/latest/host/?project=Coffee%20Beans%20Evaluation)
31+
[![Coffee Bean Evaluation](docs/screenshots/xt-host-list-view-plugins.png)](https://dont-code.net/apps/latest/host/?project=Coffee%20Beans%20Evaluation)
3132

3233
### Other Demos
3334

3435
Demo applications can be seen here:
3536

36-
[![Dont-code Demo Apps](docs/screenshots/dont-code-demo-apps.png)](https://dont-code.net/apps/repo/default/)
37+
[![Dont-code Demo Apps](docs/screenshots/dont-code-demo-apps.png)](https://dont-code.net/default/repo/default/)
3738

3839
---
3940

@@ -42,7 +43,7 @@ Demo applications can be seen here:
4243
- ***2026-01-04:*** Version 0.5.5, supports for many to one references
4344
- ***2025-11-02:*** Added support for actions, allowing plugins to add features dynamically, and added the agenda plugin, with support for recurrent tasks
4445
- ***2025-09-06:*** Version 0.5, moved to Angular 20.2, added country selection plugin.
45-
- ***2025-08-24:*** Published of apps developed: [Dashboard](https://dont-code.net/apps/repo/default)
46+
- ***2025-08-24:*** Published of apps developed: [Dashboard](https://dont-code.net/dashboard/repo/default)
4647
- ***2025-07-14:*** First release, with support for dynamic plugins (thanks to [Angular architects!](https://github.com/angular-architects/module-federation-plugin)) and a few plugins for Financial, Web and International applications. As well, added a default plugin to edit any data.
4748

4849

@@ -79,7 +80,7 @@ You can see how the different plugins work together without knowing each other.
7980
### 🛠️ Plugin Tester
8081
Curious about how plugins are dynamically injected? Try the dedicated tester:
8182

82-
[![Plugin tester](docs/screenshots/plugin-tester-web-plugin-details.png)](https://test.dont-code.net/apps/latest/plugin-tester)
83+
[![Plugin tester](docs/screenshots/plugin-tester-web-plugin-details.png)](https://dont-code.net/apps/latest/plugin-tester)
8384

8485
---
8586

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="generator" content="pandoc" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
7+
<title>ng-xtend - Host application</title>
8+
<style>
9+
/* Default styles provided by pandoc.
10+
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
11+
*/
12+
html {
13+
font-size: 16pt;
14+
color: #D1D5DB;
15+
background-color: #13171F;
16+
}
17+
body {
18+
margin: 0 auto;
19+
max-width: 850px;
20+
padding-left: 50px;
21+
padding-right: 50px;
22+
padding-top: 50px;
23+
padding-bottom: 50px;
24+
hyphens: auto;
25+
overflow-wrap: break-word;
26+
text-rendering: optimizeLegibility;
27+
font-kerning: normal;
28+
}
29+
@media (max-width: 600px) {
30+
body {
31+
font-size: 0.9em;
32+
padding: 12px;
33+
}
34+
h1 {
35+
font-size: 1.8em;
36+
}
37+
}
38+
@media print {
39+
html {
40+
background-color: #13171F;
41+
}
42+
body {
43+
background-color: transparent;
44+
color: black;
45+
font-size: 12pt;
46+
}
47+
p, h2, h3 {
48+
orphans: 3;
49+
widows: 3;
50+
}
51+
h2, h3, h4 {
52+
page-break-after: avoid;
53+
}
54+
}
55+
p {
56+
margin: 1em 0;
57+
}
58+
a {
59+
color: #F43F5E;
60+
}
61+
a:visited {
62+
color: #F43F5E;
63+
}
64+
img {
65+
max-width: 100%;
66+
}
67+
svg {
68+
height: auto;
69+
max-width: 100%;
70+
}
71+
h1, h2, h3, h4, h5, h6 {
72+
margin-top: 1.4em;
73+
}
74+
h5, h6 {
75+
font-size: 1em;
76+
font-style: italic;
77+
}
78+
h6 {
79+
font-weight: normal;
80+
}
81+
ol, ul {
82+
padding-left: 1.7em;
83+
margin-top: 1em;
84+
}
85+
li > ol, li > ul {
86+
margin-top: 0;
87+
}
88+
blockquote {
89+
margin: 1em 0 1em 1.7em;
90+
padding-left: 1em;
91+
border-left: 2px solid #e6e6e6;
92+
color: #606060;
93+
}
94+
code {
95+
white-space: pre-wrap;
96+
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
97+
font-size: 85%;
98+
margin: 0;
99+
hyphens: manual;
100+
}
101+
pre {
102+
margin: 1em 0;
103+
overflow: auto;
104+
}
105+
pre code {
106+
padding: 0;
107+
overflow: visible;
108+
overflow-wrap: normal;
109+
}
110+
.sourceCode {
111+
background-color: transparent;
112+
overflow: visible;
113+
}
114+
hr {
115+
border: none;
116+
border-top: 1px solid #1a1a1a;
117+
height: 1px;
118+
margin: 1em 0;
119+
}
120+
table {
121+
margin: 1em 0;
122+
border-collapse: collapse;
123+
width: 100%;
124+
overflow-x: auto;
125+
display: block;
126+
font-variant-numeric: lining-nums tabular-nums;
127+
}
128+
table caption {
129+
margin-bottom: 0.75em;
130+
}
131+
tbody {
132+
margin-top: 0.5em;
133+
border-top: 1px solid #D1D5DB;
134+
border-bottom: 1px solid #D1D5DB;
135+
}
136+
th {
137+
border-top: 1px solid #D1D5DB;
138+
padding: 0.25em 0.5em 0.25em 0.5em;
139+
}
140+
td {
141+
padding: 0.125em 0.5em 0.25em 0.5em;
142+
}
143+
header {
144+
margin-bottom: 4em;
145+
text-align: center;
146+
}
147+
#TOC li {
148+
list-style: none;
149+
}
150+
#TOC ul {
151+
padding-left: 1.3em;
152+
}
153+
#TOC > ul {
154+
padding-left: 0;
155+
}
156+
#TOC a:not(:hover) {
157+
text-decoration: none;
158+
}
159+
span.smallcaps{font-variant: small-caps;}
160+
div.columns{display: flex; gap: min(4vw, 1.5em);}
161+
div.column{flex: auto; overflow-x: auto;}
162+
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
163+
/* The extra [class] is a hack that increases specificity enough to
164+
override a similar rule in reveal.js */
165+
ul.task-list[class]{list-style: none;}
166+
ul.task-list li input[type="checkbox"] {
167+
font-size: inherit;
168+
width: 0.8em;
169+
margin: 0 0.8em 0.2em -1.6em;
170+
vertical-align: middle;
171+
}
172+
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
173+
</style>
174+
<!-- Matomo -->
175+
<script>
176+
var _paq = window._paq = window._paq || [];
177+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
178+
_paq.push(['trackPageView']);
179+
_paq.push(['enableLinkTracking']);
180+
(function() {
181+
var u="//collinfr.net/matomo/";
182+
_paq.push(['setTrackerUrl', u+'matomo.php']);
183+
_paq.push(['setSiteId', '2']);
184+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
185+
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
186+
})();
187+
</script>
188+
<!-- End Matomo Code -->
189+
</head>
190+
<body>
191+
<figure>
192+
<img
193+
src="https://dont-code.net/assets/images/logos/logo-xtend-angular-red-small.png"
194+
alt="ng-xtend logo" />
195+
<figcaption aria-hidden="true">ng-xtend logo</figcaption>
196+
</figure>
197+
<h1 id="xt-host">xt-host</h1>
198+
<p>A host to run your application developed using the <a
199+
href="https://github.com/dont-code/ng-xtend/blob/main/index.html">ng-xtend
200+
framework</a> It can load Dont-code repository files, get the Dont-code
201+
services url, loads the plugins, loads the project and allow you to edit
202+
the application. This is a replacement of the Dont-code Previewer.</p>
203+
<p>To test it: 1. Run the xt-host application with
204+
<code>ng serve xt-host</code> 2. Go to <a
205+
href="http://localhost:4200">localhost:4200</a> 3. and see it
206+
automatically load and execute the “Coffee Beans Evaluation”
207+
application.</p>
208+
<p><img
209+
src="https://dont-code.net/assets/images/screenshots/xt-host-list-view.png"
210+
alt="List view screenshot" /> <img
211+
src="https://dont-code.net/assets/images/screenshots/xt-host-edit-view.png"
212+
alt="Edit object screenshot" /></p>
213+
<ol start="4" type="1">
214+
<li>You can execute another Dont-code application by adding its name in
215+
the url: [BBQ Sauce tasting]
216+
(http://localhost:4200/?project=BBQ%20Sauce%20tasting)</li>
217+
</ol>
218+
</body>
219+
</html>
39 KB
Loading
67.1 KB
Loading
39.6 KB
Loading
204 KB
Loading
71.2 KB
Loading
125 KB
Loading
289 KB
Loading

0 commit comments

Comments
 (0)