GithubHelp home page GithubHelp logo

bradamant3 / gatbsy-docs-demo Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 824 KB

proof of concept repository for documentation with Gatsby and Netlify

License: MIT License

JavaScript 88.51% CSS 11.49%

gatbsy-docs-demo's Introduction

Logo

Docs Demo based on Gatsby Docs Starter 1.0

The readme content below is all from the original Gatsby Docs Starter project. This paragraph only explains that the current repo provides a POC for developing and deploying documentation with Gatsby and Netlify.

The original repo (since this one isn't properly a fork because I started locally): https://github.com/ericwindmill/gatsby-starter-docs

This Project was forked from Gatsby Advanced Starter

A starter skeleton with advanced features for Gatsby.

Developed for creating Documentation or Tutorial websites.

This template provides everything but the content. You could just write all your lessons in markdown files, configure a few lines of code, and have a completely built documentation website.

Changelog

Updated 3/17/18

  • Updated Table of Contents system:
    • You now define your table of contents in the 'table_of_contents.json' file under the 'content' folder.
    • The GraphQl query in your 'lesson' template should match your table_of_contents.
    • The TableOfContents component does the rest.

This requires more upfront work, but I've found it to be infintely better when your page count gets high. It's easier to move things around and have the ToC just work.

For a more complicated example, you can look at the repo for the site I built this for: Flutter By Example/

  • Basic styling added to the 'post' template
  • Mobile responsive

Features

Logo
Logo

New Features

  • Basic UI
  • Styled Components CSS w/ ThemeProvider for easy cross-site UI changes.
  • Custom code-highlight theme
  • React Icons
  • Configured to auto generate documentation 'Table of Contents'
  • You can also have blog posts.

Updates

  • December 23, 2017 - The 'Docs' page is now mobile responsive.

These are the features from Gatsby Advanced Starter, which remain:

  • Blazing fast loading times thanks to pre-rendered HTML and automatic chunk loading of JS files
  • Separate components for everything
  • High configurability:
    • User information
    • User social profiles
    • Copyright information
    • More!
  • Author segment
    • Name
    • Location
    • Description
    • Links
    • Follow Me button
  • Posts in Markdown
    • Code syntax highlighting
    • Embed YouTube videos
    • Embed Tweets
  • Tags
    • Separate page for posts under each tag
  • Categories
    • Separate page for posts under each category
  • Disqus support
    • Notifications about new disqus comments
  • Google Analytics support
  • NPM scripts for GitHub Pages deployment
  • Social features
    • Twitter tweet button
    • Facebook share/share count
    • Reddit share/share count
    • Google+ share button
    • LinkedIn share button
    • Telegram share button
  • SEO
    • Sitemap generation
    • robots.txt
    • General description tags
    • Schema.org JSONLD (Google Rich Snippets)
    • OpenGraph Tags (Facebook/Google+/Pinterest)
    • Twitter Tags (Twitter Cards)
  • RSS feeds
  • Loading progress for slow networks
  • Offline support
  • Web App Manifest support
  • Development tools
    • ESLint for linting
    • Prettier for code style
    • Remark-Lint for linting Markdown
    • write-good for linting English prose
    • gh-pages for deploying to GitHub pages
    • CodeClimate configuration file and badge

Notes

Ruben Harutyunyan did most of the hard work with Gatsby Advanced Starter. The rest of the credit is due to Gatsby.

WARNING: Make sure to edit static/robots.txt to include your domain for the sitemap!

gatbsy-docs-demo's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.