paulbricman / hypothesis-subspace

Repo for hosting Refine artifact
MIT License
0 stars 0 forks source link

Starter for the Digital Garden theme

Quickly get started using the Gatsby garden theme! This starter creates a new Gatsby site that is preconfigured to work with the Gatsby garden theme.

πŸš€ Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying the garden theme starter.

    # create a new Gatsby site using the garden theme starter
    gatsby new my-digital-garden https://github.com/mathieudutour/gatsby-starter-digital-garden
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-digital-garden/
    gatsby develop
  3. Open the code and start customizing!

    Your site is now running at http://localhost:8000!

    To get started, check out the guide to using a Gatsby theme, or the longer, more detailed tutorial.

🧐 What's inside?

Here are the top-level files and directories you'll see in a site created using the notes theme starter.

gatsby-starter-digital-garden
β”œβ”€β”€ content
β”‚   └── garden
β”‚       β”œβ”€β”€ example-dir
β”‚       β”‚   └── hi.mdx
β”‚       └── hello.mdx
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
└── README.md
  1. /content: A content folder holding assets that the theme expects to exist. In this case, you're starting with some example notes! Delete the notes contained in /content/garden and start writing your own!

  2. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  3. .prettierrc: This file tells Prettier which configuration it should use to lint files.

  4. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. When using themes, it's where you'll include the theme plugin, and any customization options the theme provides.

  5. LICENSE: This starter is licensed under the MIT license.

  6. package-lock.json (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).

  7. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  8. README.md: A text file containing useful reference information about your project.

πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website.

Here are some places to start:

Themes

General