Skip to content

Commit

Permalink
re-generate the default files
Browse files Browse the repository at this point in the history
  • Loading branch information
kalsky committed Sep 10, 2024
1 parent 9ba83fe commit 447a30d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 80 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
cp docusaurus-prod.config.js docusaurus.config.js
- name: Build website
run: npm run build
# - name: Post build renames
# run: |
# find build/Online%20Help -type f -name "index.html" -execdir mv {} Default.htm \;
- name: Post build renames
run: |
find build/Online%20Help -type f -name "index.html" -execdir cp {} Default.htm \;
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Expand Down
22 changes: 11 additions & 11 deletions docusaurus-prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ const config = {
to: 'https://help-archive.quali.com/Online Help/0.0/TestShell/Content/TSR/Tst-Run.htm',
from: ['/2022.1.0.1858/RUN/', '/2022.2.0.1470/RUN/', '/2023.1.0.655/RUN/', '/2023.2.0.1763/RUN/', '/2023.3.0.979/RUN/', '/2024.1.0.2508/RUN/'],
},
// {
// to: '/',
// from: [
// '/Online%20Help/2022.1.0.1858/Portal/',
// '/Online%20Help/2022.2.0.1470/Portal/',
// '/Online%20Help/2023.1.0.655/Portal/',
// '/Online%20Help/2023.2.0.1763/Portal/',
// '/Online%20Help/2023.3.0.979/Portal/',
// '/Online%20Help/2024.1.0.2508/Portal/',
// ],
// },
{
to: '/',
from: [
'/Online%20Help/2022.1.0.1858/Portal/',
'/Online%20Help/2022.2.0.1470/Portal/',
'/Online%20Help/2023.1.0.655/Portal/',
'/Online%20Help/2023.2.0.1763/Portal/',
'/Online%20Help/2023.3.0.979/Portal/',
'/Online%20Help/2024.1.0.2508/Portal/',
],
},
],
createRedirects(existingPath) {
var versions = ["0.0", "2022.1", "2022.1.0.1858", "2022.2", "2022.2.0.1470", "2023.1", "2023.1.0.655", "2023.2", "2023.2.0.1763", "2023.3", "2023.3.0.979", "2024.1", "2024.1.0.2508"];
Expand Down
11 changes: 0 additions & 11 deletions static/Online%20Help/2022.1.0.1858/Portal/Default.htm

This file was deleted.

11 changes: 0 additions & 11 deletions static/Online%20Help/2022.2.0.1470/Portal/Default.htm

This file was deleted.

11 changes: 0 additions & 11 deletions static/Online%20Help/2023.1.0.655/Portal/Default.htm

This file was deleted.

11 changes: 0 additions & 11 deletions static/Online%20Help/2023.2.0.1763/Portal/Default.htm

This file was deleted.

11 changes: 0 additions & 11 deletions static/Online%20Help/2023.3.0.979/Portal/Default.htm

This file was deleted.

11 changes: 0 additions & 11 deletions static/Online%20Help/2024.1.0.2508/Portal/Default.htm/index.html

This file was deleted.

0 comments on commit 447a30d

Please sign in to comment.