Skip to content

Commit

Permalink
Add documentation templates
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Jesus Navarro Perez <[email protected]>
  • Loading branch information
ajnavarro committed Jun 28, 2018
1 parent d124e3b commit 84909e1
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
root: ./docs
structure:
readme: ../README.md
readme: README.md
summary: docs/README.md
13 changes: 13 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# gitbase

* [Introduction](introduction.md)
* [Join the community](join-the-community.md)

### Using gitbase

* [Getting started](using-gitbase/getting-started.md)
* [Configuration](using-gitbase/configuration.md)
* [Schema](using-gitbase/schema.md)
* [Supported syntax](using-gitbase/supported-syntax.md)
* [Functions](using-gitbase/functions.md)
* [Examples](using-gitbase/examples.md)
5 changes: 5 additions & 0 deletions docs/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Introduction

## Motivation and scope

## Further reading
7 changes: 7 additions & 0 deletions docs/join-the-community.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Join the community

## Chat

## Contributing

## Reporting bugs
5 changes: 5 additions & 0 deletions docs/using-gitbase/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Configuration

## Environment variables

## Executable parameters
10 changes: 10 additions & 0 deletions docs/using-gitbase/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Examples

## Get all the repositories where a specific user contributes on HEAD reference

```sql
SELECT refs.repository_id
FROM refs
NATURAL JOIN commits
WHERE commits.commit_author_name = 'Javi Fontan' AND refs.ref_name='HEAD';
```
7 changes: 7 additions & 0 deletions docs/using-gitbase/functions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Functions

## gitbase functions

## Standard functions

<!-- TODO add include to new markdown on go-mysql-server -->
8 changes: 8 additions & 0 deletions docs/using-gitbase/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Getting started

## Download an use the binary

## Running with docker



7 changes: 7 additions & 0 deletions docs/using-gitbase/schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Schema

## Main tables

## Relation tables

## Database diagram
1 change: 1 addition & 0 deletions docs/using-gitbase/supported-syntax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Supported syntax

0 comments on commit 84909e1

Please sign in to comment.