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

NEXT: Astro Documentation Site #2353

Open
28 of 37 tasks
endigo9740 opened this issue Dec 26, 2023 · 7 comments
Open
28 of 37 tasks

NEXT: Astro Documentation Site #2353

endigo9740 opened this issue Dec 26, 2023 · 7 comments
Assignees
Labels
administration Items related to the project but outside the code. documentation Improvements or additions to documentation
Milestone

Comments

@endigo9740
Copy link
Contributor

endigo9740 commented Dec 26, 2023

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

  • Flatter navigation structure (see proposal below)
  • Auto-generate navigation using Astro MDX content collections
  • Improved layouts:
    • Floating centered three column structure for inner docs
    • Detailed frontmatter for standard doc pages
    • Quick switch between Svelte/React/etc
  • Convert to static or use prefetch
  • Investigate i18n support and translations
  • Enable Iconify for Svelte/React components (or switch to Font Awesome)
  • Add interface for selecting preferred framework (dropdown, etc)
  • Implement Lightswitch component
  • More emphasis on tutorials and onboarding materials, as well as news and the blog
  • Update docs tabs with Skeleton-Next React Tabs #2591
  • Tabs (persisted for framework selection)
  • Tailwind dark mode toggle
  • Table of Contents
  • Tailwind Forms integration instructions for Forms & Input section
  • Mobile responsive styles and navigation (using Floating UI React)
  • Update component templates to include Zag chip link at top
  • Introduce "Integrations" section w/ multi-framework support
  • Implement Bluesky API for "News" page

Incoming:

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.

@endigo9740 endigo9740 added the administration Items related to the project but outside the code. label Dec 26, 2023
@endigo9740 endigo9740 added this to the v3.0 (Next) milestone Dec 26, 2023
@endigo9740 endigo9740 added the documentation Improvements or additions to documentation label Jan 3, 2024
@endigo9740 endigo9740 changed the title NEXT: Setup Astro Documentation NEXT: Astro Documentation Site Jan 3, 2024
@endigo9740 endigo9740 pinned this issue Jan 3, 2024
@Hugos68
Copy link
Contributor

Hugos68 commented Feb 8, 2024

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

This comment was marked as resolved.

@endigo9740
Copy link
Contributor Author

REMINDER: we need to document:

This can be handled once this PR is completed and merged: #2561

@Hugos68
Copy link
Contributor

Hugos68 commented Apr 10, 2024

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
Copy link
Contributor Author

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

@endigo9740 endigo9740 unpinned this issue Apr 27, 2024
@endigo9740
Copy link
Contributor Author

Reminder on mobile navigation drawer: #2681 (comment)

@Sarenor
Copy link
Contributor

Sarenor commented May 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
administration Items related to the project but outside the code. documentation Improvements or additions to documentation
Projects
None yet
5 participants