Skip to content

Component docs contain references to excluded files #287

@AriPerkkio

Description

@AriPerkkio

Describe the bug

In terminal example at https://tutorialkit.dev/reference/react-components/ there is import for useTheme.ts file that is not visible in the page, or in the linked Stackblitz project. There's no way for users to know what it contains.

import { useTheme } from './hooks/useTheme';

Link to a StackBlitz project which shows the error

No response

Steps to reproduce

https://tutorialkit.dev/reference/react-components/

Expected behavior

Documentation should contain all code that is required to reproduce the example. Ideally users should not even open the linked Stackblitz project to see what the referenced files contain.

Screenshots

No response

Platform

  • TutorialKit version: 0.2.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationChange related to TutorialKit documentation or demo sitepr-welcomeAccepting pull requests for this change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions