Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Added mdbook and its sources
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Sep 22, 2017
1 parent 506d96c commit 114d3a1
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -82,3 +82,5 @@ quokka/project_template/modules/*
venv
old_*
.envrc

docs/book
5 changes: 4 additions & 1 deletion Makefile
@@ -1,11 +1,14 @@
.PHONY: test pep8 clean install build publish tree reenv
.PHONY: docs test pep8 clean install build publish tree reenv

test: pep8
QUOKKA_MODE=test py.test --cov=quokka -l --tb=short --maxfail=1 tests/

pep8:
@flake8 quokka --ignore=F403 --exclude=migrations

docs:
@./mdbook build docs/

clean:
@find ./ -name '*.pyc' -exec rm -f {} \;
@find ./ -name 'Thumbs.db' -exec rm -f {} \;
Expand Down
9 changes: 9 additions & 0 deletions docs/src/SUMMARY.md
@@ -0,0 +1,9 @@
# Summary

[Introduction](intro.md)

- [First Chapter](./first/index.md)
- [Nested Chapter](./first/nested.md)
- [Second Chapter](./second.md)

[Conclusion](./conclusion.md)
1 change: 1 addition & 0 deletions docs/src/conclusion.md
@@ -0,0 +1 @@
# Conclusion
5 changes: 5 additions & 0 deletions docs/src/first/index.md
@@ -0,0 +1,5 @@
# First Chapter

more text.

## Some Section
9 changes: 9 additions & 0 deletions docs/src/first/nested.md
@@ -0,0 +1,9 @@
# Nested Chapter

This file has some testable code.

```python
print('hello')
```

## Some Section
3 changes: 3 additions & 0 deletions docs/src/intro.md
@@ -0,0 +1,3 @@
# Introduction

Here's some interesting text...yes it works
1 change: 1 addition & 0 deletions docs/src/second.md
@@ -0,0 +1 @@
# Second Chapter
Binary file added mdbook
Binary file not shown.
2 changes: 1 addition & 1 deletion quokka/__init__.py
@@ -1,6 +1,6 @@
"""Quokka CMS!"""

__version__ = '0.3.2'
__version__ = '0.3.3'

from quokka.core.app import QuokkaApp
from quokka.core import configure_extensions, configure_extension
Expand Down

0 comments on commit 114d3a1

Please sign in to comment.