forked from analogjs/analog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: create and deploy docs website (analogjs#22)
Closes analogjs#3
- Loading branch information
Showing
39 changed files
with
4,925 additions
and
1,036 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14.20.0 | ||
16.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
|
||
/dist | ||
/coverage | ||
.prettierignore | ||
.docusaurus/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# analogjs.org website and docs | ||
|
||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. | ||
|
||
See [`CONTRIBUTING.md`](../../CONTRIBUTING.md) for instructions on contributing to this project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
sidebar_position: 4 | ||
title: Contributing | ||
--- | ||
|
||
import Contributing, { toc as ContributingToc } from '../../../CONTRIBUTING.md'; | ||
|
||
<Contributing /> | ||
|
||
<!-- Workaround for generating table of contents --> | ||
<!-- See https://github.com/facebook/docusaurus/issues/3915#issuecomment-896193142 --> | ||
|
||
export const toc = [...ContributingToc]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
import GithubLogo from '@site/static/img/logos/github-logo.svg'; | ||
import GithubSponsorsLogo from '@site/static/img/logos/github-sponsors-logo.svg'; | ||
import styles from './contributors.module.css'; | ||
|
||
# Contributors | ||
|
||
## Analog core team | ||
|
||
### Brandon Roberts | ||
|
||
 | ||
|
||
Brandon is an NgRx core team member, Angular GDE, sports ranter, and gif slinger. | ||
|
||
[<GithubLogo className={styles.githubLogo} width="110" height="110" /><br />@brandonroberts on GitHub](https://github.com/brandonroberts) | ||
|
||
[<GithubSponsorsLogo width="120" height="120" /><br />Sponsor Brandon on GitHub Sponsors](https://github.com/sponsors/brandonroberts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[data-theme='light'] .githubLogo > * { | ||
fill: #000000; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Installation | ||
|
||
## Installing with `create-analog` | ||
|
||
You can scaffold an Analog project with the following `create-analog` command: | ||
|
||
<Tabs groupId="package-manager"> | ||
<TabItem value="npm"> | ||
|
||
```shell | ||
npm create analog@latest | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem label="Yarn" value="yarn"> | ||
|
||
```shell | ||
yarn create analog | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="pnpm"> | ||
|
||
```shell | ||
pnpm create analog | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
### Optional `create-analog` flags | ||
|
||
| Flag | Description | Value type | Default value | | ||
| ------------ | ---------------------------------------------------------------------------------- | ---------- | ------------- | | ||
| <name> | Name of the project. Specify `.` to scaffold the project in the current directory. | string | | | ||
| `--template` | Template preset. | string | | | ||
|
||
### Template presets | ||
|
||
| Preset | Description | | ||
| ------------- | ------------------------------- | | ||
| `angular-v14` | Angular version 14 application. | | ||
|
||
### Example | ||
|
||
To scaffold an Angular version 14 application in the `my-angular-app` directory, run: | ||
|
||
<Tabs groupId="package-manager"> | ||
<TabItem value="npm"> | ||
|
||
```shell | ||
# npm >=7.0 | ||
npm create analog@latest my-angular-app -- --template angular-v14 | ||
# npm 6.x | ||
npm create analog@latest my-angular-app --template angular-v14 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem label="Yarn" value="yarn"> | ||
|
||
```shell | ||
yarn create analog my-angular-app --template angular-v14 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="pnpm"> | ||
|
||
```shell | ||
pnpm create analog my-angular-app --template angular-v14 | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: introduction | ||
sidebar_position: 1 | ||
slug: / | ||
--- | ||
|
||
# Introduction | ||
|
||
Analog is a fullstack meta-framework for building applications and websites with [Angular](https://angular.io). | ||
|
||
## Goals | ||
|
||
- Vite-based | ||
- Supports Vite/Vitest | ||
- Low config | ||
- File-based routing | ||
- Support for API/server routes | ||
- Hybrid SSR/SSG support | ||
- Integrated CLI (future) | ||
|
||
## Packages | ||
|
||
- `@analogjs/vite-plugin-angular` - A Vite plugin for building, serving, and testing Angular applications. | ||
- `create-analog` - An initializer for scaffolding an Analog project. |
Oops, something went wrong.