Giter VIP home page Giter VIP logo

docsy's Introduction

Docsy

Docsy is a Hugo theme for technical documentation sets, providing simple navigation, site structure, and more.

This is not an officially supported Google product. This project is actively being maintained.

Prerequisites

The following are basic prerequisites for using Docsy in your site:

  • Install a recent release of the Hugo "extended" version (we recommend version 0.53 or later). If you install from the release page, make sure you download the _extended version which supports SCSS.

  • Install PostCSS so that the site build can create the final CSS assets. You can install it locally by running the following commands from the root directory of your project:

    sudo npm install -D --save autoprefixer
    sudo npm install -D --save postcss-cli
    

Example and usage

You can find an example project that uses Docsy in the Docsy Example Project repo. The Docsy Example Project is hosted at https://example.docsy.dev/.

To use the Docsy theme for your own site:

  • (Recommended) Copy the example project,  which includes the Docsy theme as a submodule. You can customize this pre-configured basic site into your own Docsy themed site. Learn more...

  • Add Docsy to your existing Hugo site repo's themes directory. You can either add Docsy as a Git submodule, or clone the Docsy theme into your project.

See the Docsy Getting Started Guide for details about the various usage options.

Documentation

Docsy has its own user guide (using Docsy, of course!) with lots more information about using the theme, which you can find at https://docsy.dev/. Alternatively you can use Hugo to generate and serve a local copy of the guide (also useful for testing local theme changes), making sure you have installed all the prerequisites listed above:

git clone --recurse-submodules --depth 1 https://github.com/google/docsy.git
cd docsy/userguide/
hugo server --themesDir ../..

Note that you need the themesDir flag when running Hugo because the site files are inside the theme repo.

docsy's People

Contributors

lisafc avatar richieescarez avatar theletterf avatar chenopis avatar tekezo avatar sharifsalah avatar bep avatar ianlewis avatar rionam avatar sarahmaddox avatar aborruso avatar fox32 avatar thinkerou avatar dependabot[bot] avatar priyansh19 avatar markmandel avatar kaycebasques avatar aijamalnk avatar asmacdo avatar emckean avatar ocdtrekkie avatar gochist avatar petemounce avatar thomasmporter avatar gesellix avatar yanwenkun avatar bobgy avatar gcchaan avatar shartte avatar

Watchers

James Cloos 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.