From 0c1ba33ebadf45e65234eb8017e542ba020e958a Mon Sep 17 00:00:00 2001 From: Ben Parsons Date: Thu, 7 Jun 2018 14:30:50 +0100 Subject: [PATCH] include proposals.py in matrix-doc CI --- scripts/generate-matrix-org-assets | 3 +++ scripts/proposals.py | 3 +-- scripts/requirements.txt | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/generate-matrix-org-assets b/scripts/generate-matrix-org-assets index cb3cf455..ed08f81d 100755 --- a/scripts/generate-matrix-org-assets +++ b/scripts/generate-matrix-org-assets @@ -8,6 +8,9 @@ cd `dirname $0`/.. mkdir -p assets +# generate specification/proposals.rst +./scripts/proposals.py + # generate the spec docs ./scripts/gendoc.py -d assets/spec diff --git a/scripts/proposals.py b/scripts/proposals.py index aa2252bc..b489f0d2 100755 --- a/scripts/proposals.py +++ b/scripts/proposals.py @@ -6,7 +6,6 @@ import requests import re from datetime import datetime -from m2r import convert as m2r pagecount = 1 authors = set() @@ -42,7 +41,7 @@ issues = {} for label in labels: issues[label] = getbylabel(label) -text_file = open("../specification/proposals.rst", "w") +text_file = open("specification/proposals.rst", "w") text_file.write("Tables of Tracked Proposals\n---------------------------\n\n") diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 9886fce4..37d99dd3 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -6,3 +6,4 @@ pygments >= 2.2.0 Jinja2 >= 2.9.6 jsonschema >= 2.6.0 PyYAML >= 3.12 +requests >= 2.18.4