skeletonlabs / skeleton

A complete design system and component solution, built on Tailwind.
https://skeleton.dev
MIT License
4.78k stars 300 forks source link

NEXT: Astro Documentation Site #2353

Open endigo9740 opened 6 months ago

endigo9740 commented 6 months ago

[!WARNING] This issue is a work in progress.

As we begin our journey to Skeleton v3, we'll be migrating our documentation from SvelteKit to a new Astro-based solution. This will help enable support for multiple frontend frameworks running in parallel.

Resources:

Dependencies:

Maintainer Requests

The following requests are coming straight from the Skeleton team. These are highly likely be implemented:

NOTE: updates to the homepage will come late in the process, when we have a better idea of features to showcase

Pages:

Astro Components:

Integration Guides:

Community Requests

The following requests have come from the community and are under consideration:

Bugs and Issues

Navigation

The following is a proposal that may grow and evolve over time.

(Top Level)

- Introduction
- Installation
- CLI
- Changelog

Design System

- Essentials
- Figma
- Themes
- Colors
- Dark Mode
- Typography
- Spacing
- Presets

Tailwind

- Alerts
- Badges
- (...)

Components

- Accordions
- App Bars
- (...)

Svelte

- Clipboard
- SVG Filters
- Focus Trap

React

- (Providers, Hooks, etc)

Integrations

- Code Blocks
- Popups
- (...)

Resources

- Cookbook
- Contributing
- Sponsorship

Feedback

If you have additional updates or requests for this feature, please do so in the comments section below.

Hugos68 commented 5 months ago

To allow both desktop and mobile users to link to headings by clicking on them we could utilize: https://github.com/rehypejs/rehype-autolink-headings

I saw that Astro already ensures id's are present on headings so no need to use rehype-slug

See full convo: https://discord.com/channels/1003691521280856084/1191790107867488316/1205063596829048892

niktek commented 3 months ago

Need to look at using something like w-full on some (all?) of the samples, e.g. Accordion when all items are collapsed:

image
endigo9740 commented 3 months ago

REMINDER: we need to document:

This can be handled once this PR is completed and merged: https://github.com/skeletonlabs/skeleton/pull/2561

Hugos68 commented 3 months ago

We need to set the site option in the Astro configuration: https://docs.astro.build/en/reference/configuration-reference/#site Astro strongly recommends this for good reasons. This will result in a Sitemap and Canonical URL to be generated which results in better SEO which results in more visitors/easier to find docs.

endigo9740 commented 2 months ago

Consider this for i18n translations: https://inlang.com/c/astro

endigo9740 commented 1 month ago

Reminder on mobile navigation drawer: https://github.com/skeletonlabs/skeleton/discussions/2681#discussioncomment-9514241

Sarenor commented 1 month ago

We also need to add the requirement of the tailwind forms plugin to the forms & input page