Skip to content

Commit

Permalink
chore: add base tag to work around trailing slash issues (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen authored Oct 29, 2024
1 parent 08dece6 commit c6c98d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,17 @@ jobs:
run: |
lake build
- name: Generate HTML
- name: Generate HTML (non-release)
if: github.event_name != 'release'
run: |
lake exe generate-manual --depth 2 --with-word-count "words.txt"
- name: Generate HTML (release)
if: github.event_name == 'release'
# Include the base to fix trailing slash issue on Netlify
run: |
lake exe generate-manual --depth 2 --with-word-count "words.txt" --base-url "/doc/reference/latest/"
- name: Generate proofreading HTML
if: github.event_name == 'pull_request'
run: |
Expand Down
2 changes: 1 addition & 1 deletion lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "f323aacf146f5c49f3b36810918a14c6c1fe662e",
"rev": "5c52bb98802c3c7329041ac7e3e17b5a330e6b5b",
"name": "verso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand Down

0 comments on commit c6c98d9

Please sign in to comment.