Skip to content

Sharing the site on Slack shows React code rather that a nice site descriptions #10

Closed

Description

@kiwicopple
  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

Possibly a bug in docusaurus

image

Activity

  1. awalias commented on Jan 27, 2020

    @awalias
    Member

    image

    looks like you need to include the description markdown attribute on each page, otherwise it just takes the first line of text which in this case is some imports

  2. awalias commented on Jan 27, 2020

    @awalias
    Member

    I think for now lets just add descriptions, docusaurus probably needs a better way to guestimate the description from the content

  3. kiwicopple commented on Jan 27, 2020

    @kiwicopple
    MemberAuthor

    good idea. Not sure if possible, but it would be ideal if we could have this setup on every page:

    ---
    id: get
    title: 'Reading'
    description: 'How to read records from your database.'
    ---
    <p>{props.description}</p>
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions