Skip to content

Commit

Permalink
Fix issue with docusaurus failing to find js assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanton committed Aug 22, 2024
1 parent 6287ce5 commit 05f265a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const config = {
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/pulsar/',
staticDirectories: ['static'],

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down Expand Up @@ -53,8 +54,8 @@ const config = {
],

scripts: [
'js/bundle.js',
'js/main.js',
'js/pulsar.js',
'js/pulsar-index.js',
],

themeConfig:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/static/js/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

alert("!");

0 comments on commit 05f265a

Please sign in to comment.