Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CsvTable.tsx and LiteralInclde.tsx in docusaurus #6282

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/docusaurus/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ const config: Config = {

// Set the production url of your site here
url: "https://intersectmbo.github.io",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change this to https://plutus.cardano.intersectmbo.org?


// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
// WARNING: normally this would be /plutus/docs/, because
// https://intersectmbo.github.io is a GitHub Pages URL.
// However we setup a redirect from intersectmbo.github.io/plutus
// to plutus.cardano.intersectmbo.org, so /docs/ is used here instead.
baseUrl: "/docs/",

// GitHub pages deployment config.
Expand Down
2 changes: 1 addition & 1 deletion doc/docusaurus/src/components/CsvTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CsvTable = ({

async function loadCode() {
// Fetch the raw csv from the file
const res = await fetch(`/plutus/master/docs/csv/${file}`);
const res = await fetch(`/docs/csv/${file}`);
const rawData = await res.text();

// If the component is unmounted, don't set the state
Expand Down
2 changes: 1 addition & 1 deletion doc/docusaurus/src/components/LiteralInclude.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const LiteralInclude = ({

async function loadCode() {
// Fetch the raw code from the file
const res = await fetch(`/plutus/master/docs/code/${file}`);
const res = await fetch(`/docs/code/${file}`);
const rawCode = await res.text();

// If the component is unmounted, don't set the state
Expand Down
Loading