Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 228375e

Browse files
committed
correct use_services value
1 parent cec17ae commit 228375e

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@ We welcome contributions large and small to the Runestone Components. We welcom
66
Understand the RoadMap
77
----------------------
88

9-
You should look at the [development road map](https://github.com/bnmnetp/runestone/wiki/DevelopmentRoadmap)
10-
and especially RSE-0001 which gives you a clear idea of the current philosophy behind the components. Any
9+
You should look at the [development road map](https://github.com/bnmnetp/runestone/wiki/DevelopmentRoadmap)
10+
and especially RSE-0001 which gives you a clear idea of the current philosophy behind the components. Any
1111
Sphinx directives should create very simple html and let Javascript take care of the rest.
1212

1313
Coding Standards
1414
----------------
1515

16-
* All components must remain Python 3/2 compatible. The ``six`` module is already
16+
* All components must be Python 3 compatible. The ``six`` module is already
1717
in the requirements.txt file, so feel free to use that.
1818
* No Tabs for Python files (4 spaces = 1 indention)
1919
* Avoid profliferation of jQuery versions. Make your stuff compatible with the version
2020
of jQuery in the common folder.
21-
* Avoid proliferation of additional third party javascript modules. We are already out of
21+
* Avoid proliferation of additional third party javascript modules. We are already out of
2222
control in this regard and it would be nice to rein it in.
2323
* When creating a new directive, assign a unique class name to the outermost HTML division. That will allow you to easily confine your CSS declarations to apply only within your directive. Since there are many directives, chances for CSS namespace conflicts are high without that.
2424
* When making a new directive Also put the outer div in the runestone class, this makes it easy for us to select all runestone components on a page.
2525
* When making any changes, make sure the docstring for the class that implements the Sphinx directive is up to date. These docstrings are used in several places for templates and quick help.
2626
* Make sure your new directive class inherits and uses RunestoneBase
2727
* Avoid writing a directive that returns a raw node. Creating appropriate nodes that inherit from Runestone gives us much more flexibility to auto number and cross reference and store source in the database.
2828
* Make sure any buttons you create have their type specified. Unless you know you want it to be submit or reset make sure it is 'button' otherwise it causes problems for previewing.
29-
29+
* Keep Pull Requests small, and limit them to the feature you are adding or bug you are fixing.
30+
* Please don't make gratuitous changes to the code to fit your own personal style or sense of what is correct or incorrect. In other words If it ain't broke, don't fix it. These kinds of changes make it harder for reviewers to figure out what you are trying to do.
3031

3132
Unit Testing
3233
------------
@@ -39,7 +40,7 @@ Provide an example
3940
The folder ``runestone/<component>/test/index.rst`` is a great place to add code
4041
that demonstrates your new feature or component in action.
4142

42-
In fact you should provide two examples whenever possible to demonstrate that you can have
43+
In fact you should provide two examples whenever possible to demonstrate that you can have
4344
multiple instances of your component on a single web page.
4445

4546
Internationalization

runestone/activecode/test/pavement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'appname':master_app,
3030
'loglevel': 0,
3131
'course_url':master_url,
32-
'use_services': False,
32+
'use_services': 'false',
3333
'python3': 'true',
3434
'dburl': '', 'downloads_enabled': 'true', 'enable_chatcodes': 'false', 'allow_pairs': 'false',
3535
'basecourse': 'activecodetest',

0 commit comments

Comments
 (0)