Skip to content

Commit

Permalink
Merge pull request #213 from sarah256/docs
Browse files Browse the repository at this point in the history
Refactor documentation to include README
  • Loading branch information
mprahl committed Oct 19, 2018
2 parents 11aa009 + b0402b8 commit f14c38a
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 11 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Estuary API and Scrapers
# Getting Started

## Overview

Estuary visualizes the story an artifact takes in the Red Hat build to release pipeline,
with a focus on the automation of container rebuilds due to CVEs. This repository contains
the API and scrapers for the [Estuary front end](https://github.com/release-engineering/estuary).

## Development

Expand Down
4 changes: 3 additions & 1 deletion docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-r requirements.txt
-r scraper-requirements.txt
sphinx
recommonmark
sphinx
sphinx_rtd_theme
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Installing Sphinx

The documentation runs on Sphinx. To install it, run the following command **in a virtualenv**:
The documentation is built with Sphinx. To install it along with the documentation's other dependencies, run the following command **in a virtualenv**:
```
$ pip install -U sphinx
$ pip install -r docs-requirements.txt
```

## Build the Docs
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ['.rst', '.md']
source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}

# The master toctree document.
master_doc = 'index'
Expand Down
1 change: 1 addition & 0 deletions docs/gettingstarted.md
9 changes: 4 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ Welcome to Estuary API's documentation!
=======================================

.. toctree::
:maxdepth: 2
:caption: Contents
:maxdepth: 3

models
api
utils
scrapers
gettingstarted
module_documentation/index


Indices and tables
Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions docs/module_documentation/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
=====================
Modules Documentation
=====================

.. toctree::
:maxdepth: 2

api
models
scrapers
utils
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f14c38a

Please sign in to comment.