Skip to content

docs: add api reference#322

Merged
gka merged 17 commits into
mainfrom
docs/api-reference
Jan 5, 2026
Merged

docs: add api reference#322
gka merged 17 commits into
mainfrom
docs/api-reference

Conversation

@gka

@gka gka commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces improvements to the documentation and minor UI tweaks. The main focus is on expanding the sidebar navigation to include an API Reference section and adding a script for generating API documentation for marks. Additionally, there is a small change to the Link.svelte component for cleaner rendering of child elements.

Documentation improvements:

  • Added an "API Reference" section to the sidebar navigation in config/sidebar.ts, with a link to the marks API page.
  • Added a new npm script docs:api:marks in package.json to generate API documentation for marks using generate-mark-api.js.

UI component update:

  • Updated the rendering logic in src/theme/components/Link.svelte for more concise child element rendering.

@netlify

netlify Bot commented Jan 4, 2026

Copy link
Copy Markdown

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit 00d487e
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/695b06f86eee900008904124
😎 Deploy Preview https://deploy-preview-322--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.0

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 975
  • main branch: 904
  • Difference (PR - main): +71 ⚠️

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.1

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 975
  • main branch: 904
  • Difference (PR - main): +71 ⚠️

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.2

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.3

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.4

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.5

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.6

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.7

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.8

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

1 similar comment
@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.9

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.10

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

TypeScript error report:

  • This branch: 859
  • main branch: 859
  • Difference (PR - main): 0 ℹ️

@gka gka merged commit 233a47e into main Jan 5, 2026
4 checks passed
@gka gka deleted the docs/api-reference branch January 5, 2026 00:35
@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

📦 Preview package for this PR is published!

Version: 0.9.1-pr-322.11

Install it with:

npm install svelteplot@pr-322
# or install the specific version
npm install [email protected]

@yutannihilation

Copy link
Copy Markdown
Contributor

Thanks for adding the references! This is great.

I noticed a minor problem. It seems { and } get unexpectedly escaped.

https://svelteplot.dev/api/plot
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants