Skip to content

Commit 2b101df

Browse files
committed
Added support for markdown and updated CoC to markdown version
1 parent 2967ac9 commit 2b101df

File tree

3 files changed

+32
-24
lines changed

3 files changed

+32
-24
lines changed

_source/coc.html

+28-24
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
11
{% extends "page.html" %}
22
{% block bodycontents %}
3-
<h1 id="code-of-conduct">Code of Conduct</h1>
43

5-
<p>We, the organizers, want foss-north to be an event that is open and accessible to all. We require all attendees, speakers, sponsors and volunteers at our conference to agree with the following code of conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to help ensure a safe environment for everybody.</p>
4+
{% markdown %}
5+
# Code of Conduct
66

7-
<p>Any questions regarding this can be directed to the e-mail found in the footer of this page.</p>
7+
We, the organizers, want foss-north to be an event that is open and accessible to all. We require all attendees, speakers, sponsors and volunteers at our conference to agree with the following code of conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to help ensure a safe environment for everybody.
8+
9+
Any questions regarding this can be directed to the e-mail found in the footer of this page.
810

911
<div class="bodybreak">&nbsp;</div>
1012

11-
<h2 id="short-version">Short Version</h2>
12-
13-
<p>Our conference is dedicated to providing a harassment-free conference experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of conference participants in any form. Sexual language and imagery is not appropriate for any conference venue, including talks, workshops, parties, Twitter and other online media. Conference participants violating these rules may be sanctioned or expelled from the conference without a refund at the discretion of the conference organisers.</p>
14-
15-
<h2 id="full-version">Full Version</h2>
16-
17-
<p>Harassment includes offensive verbal comments related to gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion, technology choices, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention.</p>
18-
19-
<p>Participants asked to stop any harassing behavior are expected to comply immediately.</p>
20-
21-
<p>Sponsors are also subject to the anti-harassment policy. In particular, sponsors should not use sexualised images, activities, or other material. Booth staff (including volunteers) should not use sexualised clothing/uniforms/costumes, or otherwise create a sexualised environment.</p>
22-
23-
<p>If a participant engages in harassing behavior, the conference organisers may take any action they deem appropriate, including warning the offender or expulsion from the conference with no refund.</p>
24-
25-
<p>If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of conference staff immediately. Conference staff can be identified as they’ll be wearing branded clothing and/or badges.</p>
26-
27-
<p>Conference staff will be happy to help participants contact hotel/venue security or local law enforcement, provide escorts, or otherwise assist those experiencing harassment to feel safe for the duration of the conference. We value your attendance.</p>
28-
29-
<p>We expect participants to follow these rules at conference and workshop venues and conference-related social events.</p>
13+
## Short Version
14+
15+
Our conference is dedicated to providing a harassment-free conference experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of conference participants in any form. Sexual language and imagery is not appropriate for any conference venue, including talks, workshops, parties, Twitter and other online media. Conference participants violating these rules may be sanctioned or expelled from the conference without a refund at the discretion of the conference organisers.
16+
17+
## Full Version
18+
19+
Harassment includes offensive verbal comments related to gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion, technology choices, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention.
20+
21+
Participants asked to stop any harassing behavior are expected to comply immediately.
22+
23+
Sponsors are also subject to the anti-harassment policy. In particular, sponsors should not use sexualised images, activities, or other material. Booth staff (including volunteers) should not use sexualised clothing/uniforms/costumes, or otherwise create a sexualised environment.
24+
25+
If a participant engages in harassing behavior, the conference organisers may take any action they deem appropriate, including warning the offender or expulsion from the conference with no refund.
26+
27+
If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of conference staff immediately. Conference staff can be identified as they'll be wearing branded clothing and/or badges.
28+
29+
Conference staff will be happy to help participants contact hotel/venue security or local law enforcement, provide escorts, or otherwise assist those experiencing harassment to feel safe for the duration of the conference. We value your attendance.
30+
31+
We expect participants to follow these rules at conference and workshop venues and conference-related social events.
32+
{% endmarkdown %}
3033

3134
<div class="bodybreak">&nbsp;</div>
3235

33-
<p>Original source and credit: <a href="http://2012.jsconf.us/#/about">http://2012.jsconf.us/#/about</a> and <a href="http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy">The Ada Initiative</a><br />
34-
This work is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/deed.en_US">Creative Commons Attribution 3.0 Unported License</a></p>
36+
Original source and credit: <a href="http://2012.jsconf.us/#/about">http://2012.jsconf.us/#/about</a> and <a href="http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy">The Ada Initiative</a><br />
37+
This work is licensed under a <a href="http://creativecommons.org/licenses/by/3.0/deed.en_US">Creative Commons Attribution 3.0 Unported License</a>
38+
3539
{% endblock %}

fn-generator.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import yaml
44
from jinja2 import Environment, FileSystemLoader
5+
from jinja2_markdown import MarkdownExtension
56
from distutils.dir_util import copy_tree
67

78
# Attempt to create output directory
@@ -37,6 +38,7 @@
3738
environment = Environment(
3839
loader = FileSystemLoader(['_source', '_includes'])
3940
)
41+
environment.add_extension(MarkdownExtension)
4042

4143
# Process template pages
4244
print("Generating pages...")

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Jinja2==2.10.3
2+
jinja2-markdown==0.0.3
3+
Markdown==3.1.1
24
MarkupSafe==1.1.1
35
pkg-resources==0.0.0
46
PyYAML==5.1.2

0 commit comments

Comments
 (0)