Skip to content

Commit

Permalink
fix website build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 28, 2024
1 parent 993c66d commit e28206e
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ tests/snapshots/* binary
*.xcb binary
dist/** linguist-generated
*config.js linguist-vendored
docs/** linguist-vendored
docs/** linguist-documentation
**/*.lips linguist-language=scheme
4 changes: 2 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const config: Config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://jcubic.github.io',
url: 'https://lips.js.org',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/lips-website/',
baseUrl: '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down
140 changes: 88 additions & 52 deletions docs/package-lock.json

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

1 change: 1 addition & 0 deletions docs/reference.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ function get_docs_strings() {
return docs;
}

exec('(let-env lips.env.__parent__ (load "../dist/std.xcb"))').then(() => {
await exec('(let-env lips.env.__parent__ (load "./dist/std.xcb"))').then(() => {
console.log(JSON.stringify(get_docs_strings()));
});

0 comments on commit e28206e

Please sign in to comment.