Skip to content

Commit

Permalink
Added changelog docs index and "pi docs" command to build docs locally
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagamedov committed Sep 8, 2016
1 parent ccd840f commit bfcdf4b
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changelog/changes_02.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Changes in 0.2
==============
8 changes: 8 additions & 0 deletions docs/changelog/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Changelog
=========

.. toctree::
:maxdepth: 2

migration_02
changes_02
2 changes: 2 additions & 0 deletions docs/changelog/migration_02.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
New in Hiku 0.2
===============
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

guide/index
reference/index
changelog/index

Why graphs? – They are simple, predictable, flexible, easy to compose and
because of that, they are easy to reuse.
Expand Down
15 changes: 15 additions & 0 deletions pi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
- aiopg==0.10.0
- raw: apk del .build-deps

- !Image
name: docs
from: env
repository: reg.local/hiku/docs
provision-with: !AnsibleTasks
- pip: name={{item}} executable=pip3 extra_args='--no-cache-dir'
with_items:
- sphinx==1.4.6
- sphinx_rtd_theme==0.1.10a0

- !Service
name: postgres
image: !DockerImage onjin/alpine-postgres:9.5
Expand All @@ -25,3 +35,8 @@
- !Argument {name: tests, default: tests3}
image: env
shell: py.test -q --tb=native {{tests}}

- !ShellCommand
name: docs
image: docs
shell: sphinx-build -b html docs build

0 comments on commit bfcdf4b

Please sign in to comment.