-
-
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.
- Loading branch information
Showing
76 changed files
with
20,917 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: GitHub Pages | ||
|
||
on: | ||
# Runs on pushes, if all conditions are met: | ||
push: | ||
# ... on the website branch ... | ||
branches: | ||
- 'master' | ||
# ... skip tags only ... | ||
tags-ignore: | ||
- '**' | ||
# ... any of these files changes ... | ||
paths: | ||
- 'website/**' | ||
- 'typedoc.json' | ||
- '**/tsconfig*.json' | ||
- 'src/**/*.ts' | ||
- 'README.md' | ||
- '.github/workflows/publish-github-pages.yml' | ||
- 'package.json' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
# https://github.com/actions/checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 3 | ||
|
||
- name: Use Nodejs | ||
# https://github.com/actions/setup-node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: npm --prefix website install | ||
|
||
- name: Build the Docusaurus site | ||
run: npm --prefix website run build | ||
|
||
- name: Setup Pages | ||
# https://github.com/actions/configure-pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Upload artifact | ||
# https://github.com/actions/upload-pages-artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
# Upload entire repository | ||
path: './website/build' | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
# https://github.com/actions/deploy-pages | ||
uses: actions/deploy-pages@v4 |
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,2 +1,3 @@ | ||
# web-preview-docusaurus | ||
|
||
A preview of the next web site |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,33 @@ | ||
{ | ||
"name": "web-preview-docusaurus", | ||
"version": "1.0.0", | ||
"description": "A preview of the next web site", | ||
"main": "", | ||
"scripts": { | ||
"generate-top-commons": "bash node_modules/@xpack/node-modules-helper/maintenance-scripts/generate-top-commons.sh --init", | ||
"create-website": "bash node_modules/@xpack/docusaurus-template-liquid/maintenance-scripts/generate-commons.sh --init" | ||
}, | ||
"author": { | ||
"name": "Liviu Ionescu", | ||
"email": "[email protected]", | ||
"url": "https://github.com/ilg-ul" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/xpack/web-preview-docusaurus/issues" | ||
}, | ||
"homepage": "https://xpack.github.io/web-preview-docusaurus/", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/xpack/web-preview-docusaurus.git" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"json": "^11.0.0", | ||
"liquidjs": "^10.18.0" | ||
}, | ||
"bundledDependencies": [], | ||
"config": { | ||
"isOrganizationWeb": "true" | ||
} | ||
} |
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,20 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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,31 @@ | ||
# Website | ||
|
||
This website is built using [Docusaurus](https://docusaurus.io/), | ||
a modern static website generator. | ||
|
||
The folder was created with: | ||
|
||
```sh | ||
npx create-docusaurus website classic --typescript | ||
``` | ||
|
||
## docusaurus-plugin-typedoc | ||
|
||
This plugin uses [TypeDoc](https://typedoc.org) to generate | ||
the reference as markdown pages in `docs/api`. | ||
|
||
- https://typedoc-plugin-markdown.org/plugins/docusaurus | ||
|
||
```sh | ||
cd website | ||
npm install typedoc typedoc-plugin-markdown docusaurus-plugin-typedoc --save-dev | ||
``` | ||
|
||
[!NOTE] | ||
There is a new spec ([TSDoc](https://tsdoc.org)), pushed by | ||
Microsoft, slightly different, for example there are no | ||
categories or groups. | ||
|
||
[!NOTE] | ||
There is also another plugin, `docusaurus-plugin-typedoc-api`, but | ||
it is no longer maintained. |
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,6 @@ | ||
// DO NOT EDIT! | ||
// Automatically generated from docusaurus-template-liquid/templates/docusaurus. | ||
|
||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
Oops, something went wrong.