Skip to content

Commit

Permalink
Initial work for docs using VitePress
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalman committed Apr 11, 2023
1 parent 38a6b53 commit 9170c67
Show file tree
Hide file tree
Showing 139 changed files with 13,258 additions and 29 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
@@ -0,0 +1,33 @@
name: Deploy
on:
workflow_dispatch: {}
push:
branches:
- gh-pages
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: npm ci
- name: Build
run: npm run docs:build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: docs/v2/.vitepress/dist
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1
11 changes: 7 additions & 4 deletions css/style.css
@@ -1,3 +1,6 @@
html {
scroll-behavior: smooth;
}
.ui.horizontal.divider {
margin: 3rem 0 2rem;
}
Expand All @@ -14,16 +17,16 @@ padding: 1em 0em;
.masthead .ui.menu .ui.button {
margin-left: 0.5em;
}
.masthead h1.ui.header {
.masthead h2.ui.header {
margin-top: 3em;
font-size: 7em;
}
.masthead h2 {
.masthead h1 {
font-size: 1.3em;
font-weight: normal;
margin: 0.5em 0 5em 0;
margin: 0.5em 0 2em 0;
}
.masthead h2 a {
.masthead h1 a {
color: #fff;
font-weight: bold;
}
Expand Down
41 changes: 41 additions & 0 deletions docs/v2/.vitepress/cache/deps/@theme_index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions docs/v2/.vitepress/cache/deps/@theme_index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions docs/v2/.vitepress/cache/deps/_metadata.json
@@ -0,0 +1,19 @@
{
"hash": "b292d9d1",
"browserHash": "b5e14559",
"optimized": {
"vue": {
"src": "../../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "f4149b17",
"needsInterop": false
},
"@theme/index": {
"src": "../../../../../node_modules/vitepress/dist/client/theme-default/index.js",
"file": "@theme_index.js",
"fileHash": "fdc9780f",
"needsInterop": false
}
},
"chunks": {}
}
1 change: 1 addition & 0 deletions docs/v2/.vitepress/cache/deps/package.json
@@ -0,0 +1 @@
{"type":"module"}

0 comments on commit 9170c67

Please sign in to comment.