Skip to content

Docs: add FileTree Astro component and use it in pages #41493

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented May 24, 2025

Warning

This PR is in an early draft stage and currently supports dark mode only.

This pull request introduces a new custom Astro component to enhance the rendering of file trees within the documentation. It is based on a modified version of the Starlight FileTree Astro component, along with its related files.

Please note that the README.md file has been intentionally left unchanged. Since it is not rendered in the documentation, it still uses the original Markdown syntax.

Before:

Screenshot 2025-05-24 at 11 26 28

Now:

Screenshot 2025-05-24 at 11 26 51

Pages

Remaining Tasks

  • Add full support for both light and dark modes
  • Replace Starlight-specific styles with Bootstrap variables and color tokens
  • Refactor CSS rules to align with Bootstrap’s documentation style conventions
  • Include proper attribution for reused Starlight code:
    • Add references and headers in relevant files
    • Link to the original sources and include licensing information

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

Successfully merging this pull request may close these issues.

1 participant