Skip to content

Commit

Permalink
Move the documentation to the GitHub wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jun 16, 2024
1 parent 11583c9 commit 7729bb0
Show file tree
Hide file tree
Showing 17 changed files with 81 additions and 372 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,3 @@ jobs:
steps:
- uses: cedx/setup-hashlink@main
- run: hl --version
deploy:
needs: run
runs-on: ubuntu-latest
steps:
- name: Fetch sources
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version: 22
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: pip
python-version: 3.12
- name: Install dependencies
run: |
npm ci
pip install --requirement=etc/requirements.txt
- name: Deploy documentation
run: |
npx gulp doc
mkdocs gh-deploy --config-file=etc/mkdocs.yaml --force
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/**/.DS_Store
/.idea/
/docs/api/
/etc/http-client.private.env.json
/lib/
/node_modules/
/npm-debug.log
/var/
/www/
/wiki/
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Setup HashLink VM
![Node.js](https://badgen.net/badge/node/%3E%3D20.0.0/green) ![Action](https://badgen.net/badge/action/v4.0.1/blue) ![License](https://badgen.net/badge/license/MIT/blue)
![Node.js](https://badgen.net/badge/node/%3E%3D20.0.0/green) ![Action](https://badgen.net/badge/action/v4.0.2/blue) ![License](https://badgen.net/badge/license/MIT/blue)

Set up your [GitHub Actions](https://docs.github.com/en/actions) workflow with a specific version of the [HashLink VM](https://hashlink.haxe.org).

## Documentation
- [User guide](https://docs.belin.io/setup-hashlink)
- [API reference](https://docs.belin.io/setup-hashlink/api)
- [User guide](https://github.com/cedx/setup-hashlink/wiki)
- [Examples](https://github.com/cedx/setup-hashlink/tree/main/example)

## Development
- [Git repository](https://github.com/cedx/setup-hashlink)
- [GitHub marketplace](https://github.com/marketplace/actions/setup-hashlink-vm)
- [Submit an issue](https://github.com/cedx/setup-hashlink/issues)

## License
Expand Down
131 changes: 69 additions & 62 deletions bin/setup_hashlink.cjs

Large diffs are not rendered by default.

Binary file removed docs/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion docs/favicon.svg

This file was deleted.

20 changes: 0 additions & 20 deletions docs/index.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/styles.css

This file was deleted.

17 changes: 0 additions & 17 deletions docs/usage/basic_setup.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/usage/inputs.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/usage/matrix_setup.md

This file was deleted.

60 changes: 0 additions & 60 deletions etc/mkdocs.yaml

This file was deleted.

1 change: 0 additions & 1 deletion etc/requirements.txt

This file was deleted.

9 changes: 0 additions & 9 deletions etc/typedoc.js

This file was deleted.

14 changes: 1 addition & 13 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {cp, readFile, writeFile} from "node:fs/promises";
import {readFile, writeFile} from "node:fs/promises";
import {env} from "node:process";
import {deleteAsync} from "del";
import esbuild from "esbuild";
Expand All @@ -25,12 +25,6 @@ export function clean() {
return deleteAsync(["lib", "var/**/*", "www"]);
}

// Builds the documentation.
export async function doc() {
for (const file of ["CHANGELOG.md", "LICENSE.md"]) await cp(file, `docs/${file.toLowerCase()}`);
return $`typedoc --options etc/typedoc.js`;
}

// Performs the static analysis of source code.
export async function lint() {
await $`tsc --project tsconfig.json`;
Expand All @@ -42,12 +36,6 @@ export async function publish() {
for (const action of [["tag"], ["push", "origin"]]) await $`git ${action} v${pkg.version}`;
}

// Starts the development server.
export async function serve() {
await doc();
return $({stdio: "inherit"})`mkdocs serve --config-file=etc/mkdocs.yaml`;
}

// Runs the test suite.
export function test() {
env.NODE_ENV = "test";
Expand Down
Loading

0 comments on commit 7729bb0

Please sign in to comment.