GithubHelp home page GithubHelp logo

isabella232 / docusaurus-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webdevstudios/docusaurus-starter

0.0 0.0 0.0 18.36 MB

A Docusaurus starter from WebDevStudios.

Home Page: https://webdevstudios.github.io/docusaurus-starter/

License: MIT License

JavaScript 78.83% CSS 21.17%

docusaurus-starter's Introduction

Docusaurus Starter

A Docusaurus starter from WebDevStudios.

https://webdevstudios.github.io/docusaurus-starter/

WebDevStudios. Your Success is Our Mission.

Table of Contents

About

Docusaurus will help you ship a beautiful documentation website in no time. It's an open-source project maintained by the engineers at Facebook.

At WebDevStudios we love to write documentation! We also love standards, linting, and have a particular way of writing React. This starter gives our team members a standard way of spinning up documentation-based websites powered by Docusaurus v2.

Setup

Prerequisites

  • Node 14+
  • NPM 7+

Install

Close the repo:

git clone [email protected]:WebDevStudios/docusaurus-starter.git

Install dependencies:

npm i --legacy-peer-deps

Learn more about installing Docusaurus.

Configuration

Please see the docusaurus.config.js file in the root of this project. Learn more about setting up this config.

// the basic shape of docusaurus.config.js
module.exports = {
  title: 'Docusaurus',
  tagline: 'A Docusaurus starter from WebDevStudios',
  url: 'https://webdevstudios.com',
  baseUrl: '/docusaurus-starter/',
  onBrokenLinks: 'throw',
  onBrokenMarkdownLinks: 'warn',
  favicon: 'img/favicon.ico',
  organizationName: 'webdevstudios',
  projectName: 'docusaurus-starter',
  themeConfig: {
    navbar: {},
    footer: {},
    prism: {}
  },
  presets: [['@docusaurus/preset-classic']]
}

Development

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

npm run dev

This command generates static content into the build directory and can be served using any static contents hosting service.

npm run build

Linting

You can also lint and format the codebase:

npm run lint
npm run format

Deployments

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy

Content Management

Creating Pages

Please see the official Docusaurus website for more info about creating pages, docs, search, and using markdown.

Algolia Integration

Docusaurus supports Algolia. Please read the official docs to learn more.

Contributing and Support

Your contributions and support tickets are welcome. Please see our contributing guidelines before submitting a pull request.

This is free software and is released under the terms of the MIT license. See LICENSE.md for complete license.

docusaurus-starter's People

Contributors

dependabot[bot] avatar gregrickaby 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.