Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit c19cf82

Browse files
DominikPieperpaulmojicatech
authored andcommitted
Create static.yml
1 parent 0385031 commit c19cf82

40 files changed

+68
-4322
lines changed

.github/workflows/static.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Sample workflow for building and deploying a Next.js site to GitHub Pages
2+
#
3+
# To get started with Next.js see: https://nextjs.org/docs/getting-started
4+
#
5+
name: Deploy to Pages
6+
7+
on:
8+
# Runs on pushes targeting the default branch
9+
push:
10+
branches: ["main"]
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
22+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: false
26+
27+
jobs:
28+
# Build job
29+
build:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v3
34+
- uses: pnpm/action-setup@v2
35+
name: Install pnpm
36+
with:
37+
version: 8
38+
run_install: false
39+
- name: Setup Node
40+
uses: actions/setup-node@v3
41+
with:
42+
node-version: "18"
43+
cache: pnpm
44+
- name: Setup Pages
45+
uses: actions/configure-pages@v3
46+
- name: Install dependencies
47+
run: pnpm install
48+
- name: Build with Nx
49+
run: pnpm nx build docs
50+
- name: Upload artifact
51+
uses: actions/upload-pages-artifact@v2
52+
with:
53+
path: ./dist/docs
54+
55+
# Deployment job
56+
deploy:
57+
environment:
58+
name: github-pages
59+
url: ${{ steps.deployment.outputs.page_url }}
60+
runs-on: ubuntu-latest
61+
needs: build
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you use the e.g. 16.2 package of any package, be sure to use the Nx version 1
1010

1111
## Install and usage
1212

13-
Docs are here: https://nxext.dev
13+
Docs are here: https://nxext.github.io/nx-extensions-ionic/
1414

1515
## Contributing
1616

docs/.vitepress/config.mts

Lines changed: 2 additions & 212 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
title: 'Nxext',
66
description: 'Nxext brings different tools to Nx',
77
outDir: '../dist/docs',
8+
base: '/nx-extensions-ionic/',
89

910
themeConfig: {
1011
siteTitle: 'Nxext',
@@ -101,27 +102,6 @@ function sideNavDocs() {
101102
collapsible: true,
102103
collapsed: true,
103104
items: [
104-
{
105-
text: 'Stencil',
106-
items: [
107-
{
108-
text: 'Overview',
109-
link: '/docs/stencil/overview',
110-
},
111-
{
112-
text: 'Installation',
113-
link: '/docs/stencil/installation',
114-
},
115-
{
116-
text: 'Generators',
117-
link: '/docs/stencil/generators',
118-
},
119-
{
120-
text: 'Executors',
121-
link: '/docs/stencil/executors',
122-
},
123-
],
124-
},
125105
{
126106
text: 'Capacitor',
127107
items: [
@@ -198,196 +178,6 @@ function sideNavDocs() {
198178
],
199179
},
200180
],
201-
},
202-
{
203-
text: 'Vite projects',
204-
collapsible: true,
205-
collapsed: true,
206-
items: [
207-
{
208-
text: 'Vue',
209-
items: [
210-
{
211-
text: 'Overview',
212-
link: '/docs/vue/overview',
213-
},
214-
{
215-
text: 'Installation',
216-
link: '/docs/vue/installation',
217-
},
218-
{
219-
text: 'Generators',
220-
link: '/docs/vue/generators',
221-
},
222-
],
223-
},
224-
{
225-
text: 'Svelte',
226-
items: [
227-
{
228-
text: 'Overview',
229-
link: '/docs/svelte/overview',
230-
},
231-
{
232-
text: 'Installation',
233-
link: '/docs/svelte/installation',
234-
},
235-
{
236-
text: 'Generators',
237-
link: '/docs/svelte/generators',
238-
},
239-
],
240-
},
241-
{
242-
text: 'Preact',
243-
items: [
244-
{
245-
text: 'Overview',
246-
link: '/docs/preact/overview',
247-
},
248-
{
249-
text: 'Installation',
250-
link: '/docs/preact/installation',
251-
},
252-
{
253-
text: 'Generators',
254-
link: '/docs/preact/generators',
255-
},
256-
],
257-
},
258-
{
259-
text: 'Solid',
260-
items: [
261-
{
262-
text: 'Overview',
263-
link: '/docs/solid/overview',
264-
},
265-
{
266-
text: 'Installation',
267-
link: '/docs/solid/installation',
268-
},
269-
{
270-
text: 'Generators',
271-
link: '/docs/solid/generators',
272-
},
273-
],
274-
},
275-
],
276-
},
277-
{
278-
text: 'Unstable/Alpha projects',
279-
collapsible: true,
280-
collapsed: true,
281-
items: [
282-
{
283-
text: 'Sveltekit',
284-
items: [
285-
{
286-
text: 'Overview',
287-
link: '/docs/sveltekit/overview',
288-
},
289-
{
290-
text: 'Installation',
291-
link: '/docs/sveltekit/installation',
292-
},
293-
{
294-
text: 'Generators',
295-
link: '/docs/sveltekit/generators',
296-
},
297-
{
298-
text: 'Executors',
299-
link: '/docs/sveltekit/executors',
300-
},
301-
],
302-
},
303-
{
304-
text: 'Nuxt',
305-
items: [
306-
{
307-
text: 'Overview',
308-
link: '/docs/nuxt/overview',
309-
},
310-
{
311-
text: 'Installation',
312-
link: '/docs/nuxt/installation',
313-
},
314-
{
315-
text: 'Generators',
316-
link: '/docs/nuxt/generators',
317-
},
318-
{
319-
text: 'Executors',
320-
link: '/docs/nuxt/executors',
321-
},
322-
],
323-
},
324-
],
325-
},
326-
{
327-
text: 'Deprecated projects',
328-
collapsible: true,
329-
collapsed: true,
330-
items: [
331-
{
332-
text: 'Vite',
333-
items: [
334-
{
335-
text: 'Overview',
336-
link: '/docs/vite/overview',
337-
},
338-
{
339-
text: 'Installation',
340-
link: '/docs/vite/installation',
341-
},
342-
{
343-
text: 'Generators',
344-
link: '/docs/vite/generators',
345-
},
346-
{
347-
text: 'Executors',
348-
link: '/docs/vite/executors',
349-
},
350-
],
351-
},
352-
{
353-
text: 'Vitest',
354-
items: [
355-
{
356-
text: 'Overview',
357-
link: '/docs/vitest/overview',
358-
},
359-
{
360-
text: 'Installation',
361-
link: '/docs/vitest/installation',
362-
},
363-
{
364-
text: 'Generators',
365-
link: '/docs/vitest/generators',
366-
},
367-
{
368-
text: 'Executors',
369-
link: '/docs/vitest/executors',
370-
},
371-
],
372-
},
373-
{
374-
text: 'React',
375-
items: [
376-
{
377-
text: 'Overview',
378-
link: '/docs/react/overview',
379-
},
380-
{
381-
text: 'Installation',
382-
link: '/docs/react/installation',
383-
},
384-
{
385-
text: 'Generators',
386-
link: '/docs/react/generators',
387-
},
388-
],
389-
},
390-
],
391-
},
181+
}
392182
];
393183
}

docs/docs/nuxt/executors.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)