GitXplorerGitXplorer
M

gatsby-theme-dox

public
30 stars
11 forks
23 issues

Commits

List of commits on branch master.
Verified
017eb959caae98ed85a034f33237f39da7f2f05a

fix command for installation with npm

aalesanchezr committed 5 years ago
Unverified
fce50fd77d23a9ca298df2a03d6344e2564796f9

v0.3.1

MMunifTanjim committed 5 years ago
Unverified
a9ea209de4f32ca701e8e49c850adad04f3ba4fa

fix components/Sidebar bug

MMunifTanjim committed 5 years ago
Unverified
2891ea538eeaaffb64a96a496ac26ea80d5c84ed

v0.3.0

MMunifTanjim committed 5 years ago
Unverified
d11fcd7d6c3b90120ee964dbb66b69260cb1e2d6

use sidebar.mdx instead of sidebar.yaml

MMunifTanjim committed 5 years ago
Unverified
0828aded55fce2c50c375fbadd3d91b5933ff853

Update default theme

MMunifTanjim committed 5 years ago

README

The README file for this repository.

Dox - Gatsby Theme

A Gatsby theme for creating documentation site.

Documentation made easy with Gatsby. 🎉

Features

  • 📖 MDX support
  • 💅 Theme UI support
  • 🎨 Syntax Highlighting
  • 📑 Navbar, Sidebar & Footer
  • 📱 Fully Responsive Design 💻

Installation

Install the gatsby-theme-dox package:

# with npm:
npm install --save gatsby-theme-dox

# with yarn:
yarn add gatsby-theme-dox

Usage

Add the gatsby-theme-dox pacakge in your gatsby-config.js file:

// gatsby-config.js
module.exports = {
  siteMetadata: {
    title: `Dox - Gatsby Theme`,
    description: 'Documentation made easy with Gatsby',
    author: 'MunifTanjim'
  },
  plugins: [`gatsby-theme-dox`]
}

You can also pass a options object if you want:

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-dox',
      options: {
        basePath: '/',
        contentPath: 'docs'
      }
    }
  ]
}

Theme Options

Key Default value Description
basePath / Root URL for the documentation site
contentPath content/docs Location of documentation files
mdx true Configure gatsby-plugin-mdx plugin (if your site already is using it, set false)