Exemple #1
0
def renderer(fp, data, config):
    fp.write(h3(a([
        data["name"],
        data["url"],
    ])))
    fp.write(p(data["description"]))
    newline(fp)
Exemple #2
0
def renderer(fp, data, config):
    fp.write(h3(a([data["name"], data["link"]])))

    if data["description"] is not None:
        fp.write(data["description"])
        fp.write("\n")

    fp.write("\n")
def renderer(fp, data, config):
    fp.write(
        h3(
            a([
                data["name"],
                config["url"] + "/tree/master/Papers/" +
                name2dir(data["name"]),
            ])))
    fp.write(p(data["description"]))
    fp.write("\n")
Exemple #4
0
def renderer(fp, data, config):
    fp.write(h3(data["name"]))

    if data["sourcecode"] is not None:
        li(fp, [
            "Source code: ",
            a(data["sourcecode"]),
        ])

    if data["documentation"] is not None:
        li(fp, [
            "Documentation: ",
            a(data["documentation"]),
        ])

    li(fp, data["company"])
    fp.write("\n")
Exemple #5
0
def renderer(fp, data, config):
    title = data["title"] if data[
        "subtitle"] is None else f"{data['title']}: {data['subtitle']}"
    fp.write(h3(a([
        title,
        data["url"],
    ])))

    # Authors
    if len(data["authors"]) > 1:
        author = "Authors: "
    else:
        author = "Author: "

    author += ", ".join(data["authors"])
    li(fp, author)

    li(fp, f"Published: {data['published']}")
    newline(fp)