-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
123 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# API documentation | ||
|
||
## Item Class | ||
|
||
::: ECNQueue.Item | ||
:docstring: | ||
|
||
## Item functions | ||
|
||
::: ECNQueue.Item | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Hello there | ||
|
||
ahh general kenobi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Welcome to MkDocs | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
|
||
## Commands | ||
|
||
* `mkdocs new [dir-name]` - Create a new project. | ||
* `mkdocs serve` - Start the live-reloading docs server. | ||
* `mkdocs build` - Build the documentation site. | ||
* `mkdocs -h` - Print help message and exit. | ||
|
||
## Project layout | ||
|
||
mkdocs.yml # The configuration file. | ||
docs/ | ||
index.md # The documentation homepage. | ||
... # Other markdown pages, images and other files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## Mkdocs configuration and installation | ||
|
||
[Mkdocs](https://www.mkdocs.org/) is a html documentation generator which parses markdown files and outputs the contents of markdown into html. Mkautodoc is an extension of mkdocs that pulls markdown formated docstrings from python scripts without having to copy the docstrings manually. This project will make use of the mkdocs material theme. | ||
|
||
**Note:** *The starting directory for commands will be the `webqueue2` project directory* | ||
|
||
**1. Mkdocs, mkautodoc, and the mkdoc material theme can be installed directly with pip (ensure that the python virtual environment is running)** | ||
```bash | ||
pip install mkdocs | ||
``` | ||
```bash | ||
pip install mkautodoc | ||
``` | ||
```bash | ||
pip install mkdocs-material | ||
``` | ||
**2. Mkdocs needs a directory to contain all of the documentation related files and subdirectories, to do that:** | ||
```bash | ||
cd api | ||
``` | ||
This next command will create several things: | ||
* a directory called documentation with a subdirectory called docs | ||
* a `mkdocs.yml` file located within the newly created documentation directory | ||
* an `index.md` file located within the newly created docs directory | ||
```bash | ||
mkdocs new documentation | ||
``` | ||
**Output:** | ||
```bash | ||
$ mkdocs new docstwo | ||
INFO - Creating project directory: documentation | ||
INFO - Writing config file: documentation/mkdocs.yml | ||
INFO - Writing initial docs: docuentation/docs/index.md | ||
``` | ||
**3. Edit the `mkdocs.yml` file** | ||
```bash | ||
nano documentation/mkdocs.yml | ||
``` | ||
*mkdocs.yml* | ||
```yml | ||
site_name: My Docs | ||
|
||
markdown_extensions: | ||
- admonition | ||
- codehilite | ||
- mkautodoc | ||
|
||
theme: | ||
name: material | ||
``` | ||
Change the `site_name` from `My Docs` to something more appropriate but append all the other lines from above as is. | ||
|
||
This file is used for a number of different configurations which change the output format of the html files produced my mkdocs, a list of all the flags can be found [here](https://www.mkdocs.org/user-guide/configuration/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
site_name: WebQueue2 | ||
|
||
markdown_extensions: | ||
- admonition | ||
- codehilite | ||
- mkautodoc | ||
|
||
theme: | ||
name: material |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from distutils.core import setup | ||
setup(name='webqueueapi', | ||
version='1.0', | ||
py_modules=['api', 'ECNqueue'], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Metadata-Version: 1.0 | ||
Name: webqueueapi | ||
Version: 1.0 | ||
Summary: UNKNOWN | ||
Home-page: UNKNOWN | ||
Author: UNKNOWN | ||
Author-email: UNKNOWN | ||
License: UNKNOWN | ||
Description: UNKNOWN | ||
Platform: UNKNOWN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
api.py | ||
setup.py | ||
webqueueapi.egg-info/PKG-INFO | ||
webqueueapi.egg-info/SOURCES.txt | ||
webqueueapi.egg-info/dependency_links.txt | ||
webqueueapi.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ECNqueue | ||
api |