Skip to content
Snippets Groups Projects
Commit 8cb28daa authored by Raniere Silva's avatar Raniere Silva
Browse files

Merge pull request #2 from wking/local-maintainers

README.md: Add local maintainer listing
parents 5426365c 0d8da61e
No related merge requests found
...@@ -26,7 +26,7 @@ You also agree to abide by our ...@@ -26,7 +26,7 @@ You also agree to abide by our
4. When editing lesson pages, you need only commit changes to the Markdown source files. 4. When editing lesson pages, you need only commit changes to the Markdown source files.
5. If you're looking for things to work on, 5. If you're looking for things to work on,
please see [the list of issues for this repository][lesson-example-issues] please see [the list of issues for this repository][issues]
or for [the template][lesson-template-issues], or for [the template][lesson-template-issues],
or have a look at [our actual lessons][swc-lessons]. or have a look at [our actual lessons][swc-lessons].
Comments on issues and reviews of pull requests are equally welcome. Comments on issues and reviews of pull requests are equally welcome.
...@@ -39,15 +39,9 @@ You also agree to abide by our ...@@ -39,15 +39,9 @@ You also agree to abide by our
2. For a list of helpful commands run `make` in this directory. 2. For a list of helpful commands run `make` in this directory.
3. The [list of maintainers][swc-maintainers]
on the [Software Carpentry website][swc-website]
lists the people currently responsible for managing this repository.
Feel free to contact them if you have any questions or languishing pull requests.
[conduct]: CONDUCT.md [conduct]: CONDUCT.md
[issues]: https://github.com/swcarpentry/lesson-example/issues
[lesson-template-issues]: https://github.com/swcarpentry/lesson-template/issues [lesson-template-issues]: https://github.com/swcarpentry/lesson-template/issues
[license]: LICENSE.md [license]: LICENSE.md
[pro-git-chapter]: http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project [pro-git-chapter]: http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project
[swc-lessons]: http://software-carpentry.org/lessons.html [swc-lessons]: http://software-carpentry.org/lessons.html
[swc-maintainers]: http://software-carpentry.org/lessons.html#maintainers
[swc-website]: http://software-carpentry.org
...@@ -246,6 +246,12 @@ You can also [mail us](mailto:admin@software-carpentry.org) with questions or pr ...@@ -246,6 +246,12 @@ You can also [mail us](mailto:admin@software-carpentry.org) with questions or pr
Please also [mail us](mailto:admin@software-carpentry.org) Please also [mail us](mailto:admin@software-carpentry.org)
whenever you create a new lesson and would like to advertise it on our web site. whenever you create a new lesson and would like to advertise it on our web site.
## Maintainers
* Andy Boughton (@abought)
* Rémi Emonet (@twitwi)
* Raniere Silva (@r-gaia-cs)
[swc]: http://software-carpentry.org [swc]: http://software-carpentry.org
[swc-lesson-template]: https://github.com/swcarpentry/lesson-template [swc-lesson-template]: https://github.com/swcarpentry/lesson-template
[swc-lessons-page]: http://software-carpentry.org/lessons.html [swc-lessons-page]: http://software-carpentry.org/lessons.html
......
...@@ -671,7 +671,8 @@ LESSON_TEMPLATES = {"index": (IndexPageValidator, "^index"), ...@@ -671,7 +671,8 @@ LESSON_TEMPLATES = {"index": (IndexPageValidator, "^index"),
"discussion": (DiscussionPageValidator, "^discussion")} "discussion": (DiscussionPageValidator, "^discussion")}
# List of files in the lesson directory that should not be validated at all # List of files in the lesson directory that should not be validated at all
SKIP_FILES = ("DESIGN.md", "FAQ.md", "LAYOUT.md", "README.md") SKIP_FILES = ("CONDUCT.md", "CONTRIBUTING.md",
"DESIGN.md", "FAQ.md", "LAYOUT.md", "README.md")
def identify_template(filepath): def identify_template(filepath):
...@@ -737,7 +738,9 @@ def validate_folder(path, template=None): ...@@ -737,7 +738,9 @@ def validate_folder(path, template=None):
def start_logging(level=logging.INFO): def start_logging(level=logging.INFO):
"""Initialize logging and print messages to console.""" """Initialize logging and print messages to console."""
logging.basicConfig(stream=sys.stdout, level=level) logging.basicConfig(stream=sys.stdout,
level=level,
format="%(levelname)s: %(message)s")
def command_line(): def command_line():
...@@ -763,6 +766,8 @@ def command_line(): ...@@ -763,6 +766,8 @@ def command_line():
def check_required_files(dir_to_validate): def check_required_files(dir_to_validate):
"""Check if required files exists.""" """Check if required files exists."""
REQUIRED_FILES = ["01-*.md", REQUIRED_FILES = ["01-*.md",
"CONDUCT.md",
"CONTRIBUTING.md",
"discussion.md", "discussion.md",
"index.md", "index.md",
"instructors.md", "instructors.md",
......
...@@ -23,4 +23,4 @@ hook_out <- function(x, options) { ...@@ -23,4 +23,4 @@ hook_out <- function(x, options) {
} }
knit_hooks$set(source = hook_in, output = hook_out, warning = hook_out, knit_hooks$set(source = hook_in, output = hook_out, warning = hook_out,
error = hook_out, message = hook_out) error = hook_out, message = hook_out)
\ No newline at end of file
...@@ -239,4 +239,4 @@ class CommonMarkHelper(object): ...@@ -239,4 +239,4 @@ class CommonMarkHelper(object):
else: else:
has_heading = False has_heading = False
return self.is_block(ast_node) and has_heading return self.is_block(ast_node) and has_heading
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment