Skip to content

Commit d947d58

Browse files
authored
Merge pull request #69 from aninternetof/development
Release 0.4.0
2 parents 1424e11 + 927421c commit d947d58

File tree

28 files changed

+815
-370
lines changed

28 files changed

+815
-370
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ sftp-config.json
2323
*.py[cod]
2424
__pycache__
2525

26+
# Docs
27+
docs/_build
28+
docs/_autosummary
29+
docs/generated
30+
2631
# Logs
2732
logs
2833
*.log

README.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rovercode-web
1010
.. image:: https://img.shields.io/badge/chat-on%20Slack-41AB8C.svg?style=flat
1111
:target: http://chat.rovercode.com/
1212
.. image:: https://img.shields.io/badge/join-mailing%20list-yellow.svg?style=flat
13-
:target: http://rovercode.org/cgi-bin/mailman/listinfo/developers
13+
:target: https://1988.onlinegroups.net/groups/rovercode-developers/
1414
.. image:: https://img.shields.io/badge/built%20with-Cookiecutter%20Django-ff69b4.svg
1515
:target: https://github.com/pydanny/cookiecutter-django/
1616
:alt: Built with Cookiecutter Django
@@ -47,3 +47,18 @@ rovercode-web runs is built with Django. During development, you can do regular
4747
If anything gives you trouble, see the detailed `cookiecutter-django Docker documentation`_.
4848

4949
.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html
50+
51+
Docs
52+
-----
53+
Read the complete docs `here <http://rovercode-web.readthedocs.io/en/latest/>`_.
54+
55+
Contact
56+
--------
57+
Please join the rovercode developer mailing list! `Go here
58+
<https://1988.onlinegroups.net/groups/rovercode-developers/>`_, then
59+
click "register".
60+
61+
Also, we'd love to chat with you! Join the `the rovercode Slack channel
62+
<http://chat.rovercode.com>`_.
63+
64+
You can also email [email protected].

compose/nginx/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
FROM nginx:latest
1+
FROM nginx:1.11.10
22
ADD nginx.conf /etc/nginx/nginx.conf
33

44

55
ADD start.sh /start.sh
66
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
77
ADD dhparams.pem /etc/ssl/private/dhparams.pem
88
CMD /start.sh
9-

config/settings/local.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# ------------------------------------------------------------------------------
1919
DEBUG = env.bool('DJANGO_DEBUG', default=True)
2020
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
21+
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]', 'rovercodeweb']
2122

2223
# SECRET CONFIGURATION
2324
# ------------------------------------------------------------------------------

docs/code_of_conduct.rst

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
Contributor Covenant Code of Conduct
2+
=====================================
3+
4+
Our Pledge
5+
###########
6+
7+
In the interest of fostering an open and welcoming environment, we as
8+
contributors and maintainers pledge to making participation in our project and
9+
our community a harassment-free experience for everyone, regardless of age, body
10+
size, disability, ethnicity, gender identity and expression, level of experience,
11+
nationality, personal appearance, race, religion, or sexual identity and
12+
orientation.
13+
14+
Our Standards
15+
##############
16+
17+
Examples of behavior that contributes to creating a positive environment
18+
include:
19+
20+
- Using welcoming and inclusive language
21+
- Being respectful of differing viewpoints and experiences
22+
- Gracefully accepting constructive criticism
23+
- Focusing on what is best for the community
24+
- Showing empathy towards other community members
25+
26+
Examples of unacceptable behavior by participants include:
27+
28+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
29+
- Trolling, insulting/derogatory comments, and personal or political attacks
30+
- Public or private harassment
31+
- Publishing others' private information, such as a physical or electronic
32+
address, without explicit permission
33+
- Other conduct which could reasonably be considered inappropriate in a professional setting
34+
35+
Our Responsibilities
36+
#####################
37+
38+
Project maintainers are responsible for clarifying the standards of acceptable
39+
behavior and are expected to take appropriate and fair corrective action in
40+
response to any instances of unacceptable behavior.
41+
42+
Project maintainers have the right and responsibility to remove, edit, or
43+
reject comments, commits, code, wiki edits, issues, and other contributions
44+
that are not aligned to this Code of Conduct, or to ban temporarily or
45+
permanently any contributor for other behaviors that they deem inappropriate,
46+
threatening, offensive, or harmful.
47+
48+
Scope
49+
######
50+
51+
This Code of Conduct applies both within project spaces and in public spaces
52+
when an individual is representing the project or its community. Examples of
53+
representing a project or community include using an official project e-mail
54+
address, posting via an official social media account, or acting as an appointed
55+
representative at an online or offline event. Representation of a project may be
56+
further defined and clarified by project maintainers.
57+
58+
Enforcement
59+
############
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported by contacting the project team at [email protected]. All
63+
complaints will be reviewed and investigated and will result in a response that
64+
is deemed necessary and appropriate to the circumstances. The project team is
65+
obligated to maintain confidentiality with regard to the reporter of an incident.
66+
Further details of specific enforcement policies may be posted separately.
67+
68+
Project maintainers who do not follow or enforce the Code of Conduct in good
69+
faith may face temporary or permanent repercussions as determined by other
70+
members of the project's leadership.
71+
72+
Attribution
73+
############
74+
75+
This Code of Conduct is adapted from the `Contributor Covenant <http://contributor-covenant.org/>`_, version 1.4,
76+
available at `<http://contributor-covenant.org/version/1/4>`_

docs/conf.py

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Rovercode Web documentation build configuration file, created by
3+
# rovercode-web documentation build configuration file, created by
44
# sphinx-quickstart.
55
#
66
# This file is execfile()d with the current directory set to its containing dir.
@@ -16,19 +16,35 @@
1616
import os
1717
import sys
1818

19+
import django
20+
sys.path.insert(0, os.path.abspath('..'))
21+
os.environ['DJANGO_SETTINGS_MODULE'] = 'config.settings.local'
22+
django.setup()
23+
1924
# If extensions (or modules to document with autodoc) are in another directory,
2025
# add these directories to sys.path here. If the directory is relative to the
2126
# documentation root, use os.path.abspath to make it absolute, like shown here.
2227
# sys.path.insert(0, os.path.abspath('.'))
2328

2429
# -- General configuration -----------------------------------------------------
25-
30+
autoclass_content = "both" # include both class docstring and __init__
31+
autodoc_default_flags = [
32+
# Make sure that any autodoc declarations show the right members
33+
"members",
34+
"inherited-members",
35+
"private-members",
36+
"show-inheritance",
37+
]
38+
autosummary_generate = True
2639
# If your documentation needs a minimal Sphinx version, state it here.
2740
# needs_sphinx = '1.0'
2841

2942
# Add any Sphinx extension module names here, as strings. They can be extensions
3043
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
31-
extensions = []
44+
extensions = [
45+
'sphinx.ext.autodoc',
46+
'sphinx.ext.autosummary',
47+
]
3248

3349
# Add any paths that contain templates here, relative to this directory.
3450
templates_path = ['_templates']
@@ -43,17 +59,17 @@
4359
master_doc = 'index'
4460

4561
# General information about the project.
46-
project = 'Rovercode Web'
47-
copyright = """2017, rovercode.com"""
62+
project = 'rovercode-web'
63+
copyright = """2017, Brady L. Hurlburt and other rovercode.com contributors"""
4864

4965
# The version info for the project you're documenting, acts as replacement for
5066
# |version| and |release|, also used in various other places throughout the
5167
# built documents.
5268
#
5369
# The short X.Y version.
54-
version = '0.1'
70+
version = '0.4'
5571
# The full version, including alpha/beta/rc tags.
56-
release = '0.1'
72+
release = '0.4.0'
5773

5874
# The language for content autogenerated by Sphinx. Refer to documentation
5975
# for a list of supported languages.
@@ -94,7 +110,7 @@
94110

95111
# The theme to use for HTML and HTML Help pages. See the documentation for
96112
# a list of builtin themes.
97-
html_theme = 'default'
113+
html_theme = 'sphinx_rtd_theme'
98114

99115
# Theme options are theme-specific and customize the look and feel of a theme
100116
# further. For a list of options available for each theme, see the
@@ -188,7 +204,7 @@
188204
latex_documents = [
189205
('index',
190206
'rovercode_web.tex',
191-
'Rovercode Web Documentation',
207+
'rovercode-web Documentation',
192208
"""rovercode.com""", 'manual'),
193209
]
194210

@@ -218,7 +234,7 @@
218234
# One entry per manual page. List of tuples
219235
# (source start file, name, description, authors, manual section).
220236
man_pages = [
221-
('index', 'rovercode_web', 'Rovercode Web Documentation',
237+
('index', 'rovercode_web', 'rovercode-web Documentation',
222238
["""rovercode.com"""], 1)
223239
]
224240

@@ -232,8 +248,8 @@
232248
# (source start file, target name, title, author,
233249
# dir menu entry, description, category)
234250
texinfo_documents = [
235-
('index', 'rovercode_web', 'Rovercode Web Documentation',
236-
"""rovercode.com""", 'Rovercode Web',
251+
('index', 'rovercode_web', 'rovercode-web Documentation',
252+
"""rovercode.com""", 'rovercode-web',
237253
"""Block-based programming for educational robots.""", 'Miscellaneous'),
238254
]
239255

docs/contribute.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
contribute
2+
===========
3+
4+
There is lots of fun work to be done!
5+
6+
Head on over to `the rovercode-web github <https://github.com/aninternetof/rovercode-web>`_.
7+
We use ZenHub to improve GitHub's agile management, so `install it <https://www.zenhub.com/>`_,
8+
then visit the `boards` tab to find a fun card in the backlog. Or `submit a new
9+
card <https://github.com/aninternetof/rovercode-web/issues/new>`_ for a bug or cool
10+
new feature idea.
11+
12+
And remember, you can do all these same things for
13+
`rovercode <https://github.com/aninternetof/rovercode>`_.
14+
15+
Chat with us on `the rovercode Slack channel <http://chat.rovercode.com>`_.
16+
17+
Follow the `the code of conduct <code_of_conduct.html>`_.

docs/deploy.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)