Skip to content

greppo-io/greppo-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docs.greppo.io

Repository used for building the documentation docs.greppo.io.

Greppo uses Sphinx for building its documentation.

Development build Setup

# install dependencies inside a virtual environment
$ pip install -r requirements.txt

# serve with hot reload at 127.0.0.1:8000
$ make live-build

# build static html 
$ make build

# serve static html
$ make serve

Directories and folder structure

source

The directory that contains all the files for building the docs, including the configuration file conf.py.

build

The directory that contains the files for built static website. The folder /html/ contains the static files that need to be served.

source/assets

The assets directory contains all uncompiled assets such as images.

source/_static

This directory contains the static files used for custom styling.

source/_template

This directory contains the html code for custom templating.

Dependencies

Sphinx

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation. It was originally created for the Python documentation, and it has excellent facilities for the documentation of software projects in a range of languages.

Plugins used:

  • sphinx-autobuild provides a live-reloading server, that rebuilds the documentation and refreshes any open pages automatically when changes are saved. This enables a much shorter feedback loop which can help boost productivity when writing documentation.
  • sphinx-copybutton project adds a convenient copy button to code blocks. This is a subtle but effective user experience improvement when there are code snippets that a user might wish to copy from (examples, sample code etc).

Theme: Furo

Furo theme is used for styling the documentation. This has to be the cleanest and very well maintained theme for sphinx. Its settings for font, font-sizing and spacing is great out of the box. Has the three column structure of TOC, Page and Page TOC that is well made. It is highly customizable.

MyST (Markedly Structure text)

MyST is a rich and extensible flavor of Markdown meant for technical documentation and publishing using Sphinx. It provides an interface to write docs in markdown to be rendered in Sphinx.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published