Skip to content

Commit ed955f0

Browse files
committed
delete history
0 parents  commit ed955f0

File tree

21,900 files changed

+1932686
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

21,900 files changed

+1932686
-0
lines changed

.github/workflows/DeployDocs.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Taken from the Lux.jl deployment strategy
2+
# This helps us avoid Vitepress hydration issues when viewing a webpage from a symlink
3+
name: Deploy GitHub Pages
4+
5+
on:
6+
# Runs on pushes targeting the default branch
7+
push:
8+
branches:
9+
- gh-pages
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22+
concurrency:
23+
group: "pages"
24+
cancel-in-progress: false
25+
26+
jobs:
27+
# Build job
28+
build:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
with:
34+
ref: "gh-pages"
35+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
36+
- name: Setup Pages
37+
uses: actions/configure-pages@v5
38+
- name: Fix Symlinks for Vitepress
39+
run: |
40+
find -type l -exec bash -c 'dir="$0"; newlnk=${dir:2}; lnk="$(readlink -m "$0")"; orglnk=$(basename $lnk); echo "$newlnk <--> $orglnk"; rm "$0"; cp -r $lnk "$0"; cd "$0"; grep "$orglnk" . -lr | xargs sed -i "s/$orglnk/$newlnk/g"; cd ..' {} \;
41+
ls -al;
42+
- name: Build with Jekyll
43+
uses: actions/jekyll-build-pages@v1
44+
with:
45+
source: ./
46+
destination: ./_site
47+
- name: Upload artifact
48+
uses: actions/upload-pages-artifact@v3
49+
50+
# Deployment job
51+
deploy:
52+
environment:
53+
name: github-pages
54+
url: ${{ steps.deployment.outputs.page_url }}
55+
runs-on: ubuntu-latest
56+
needs: build
57+
steps:
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v4

.github/workflows/Sitemap.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Generate xml sitemap
2+
3+
on:
4+
push:
5+
branches:
6+
- gh-pages
7+
8+
jobs:
9+
sitemap_job:
10+
runs-on: ubuntu-latest
11+
name: Generate a sitemap
12+
13+
steps:
14+
- name: Checkout the repo
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Generate the sitemap
20+
uses: cicirello/generate-sitemap@v1
21+
with:
22+
base-url-path: https://nonlinearoscillations.github.io/HarmonicBalance.jl/
23+
24+
- name: Commit and push
25+
run: |
26+
if [[ `git status --porcelain sitemap.xml` ]]; then
27+
git config --global user.name 'github-actions'
28+
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
29+
git add sitemap.xml
30+
git commit -m "Automated sitemap update" sitemap.xml
31+
git push
32+
fi

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}

0 commit comments

Comments
 (0)