summaryrefslogtreecommitdiff
path: root/scripts/html_member.py
blob: e5efba61f6aa9128b9890a68f1632b629b8f0298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#! /usr/bin/env python3
#===============================
#
# html_member
#
# 2021/02/09 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
#===============================
import sys

import html_base
from html_base import html
#====================================
#
# periject_html
#
#====================================
class periject_html(html_base.myhtml):

    #--------------------
    # print
    #--------------------
    def print(self, argv):
        # remove this script
        argv.pop(0)
        mem = argv.pop(0)
        dir = "{}/html".format(self.top())

        self.print_css(dir)
        with html("body"):
            self.summary(mem, dir, argv)

#====================================
#
# As command
#
#====================================
if __name__=='__main__':
    # ./script/find.py -a Wolfram | xargs ./script/html_member.py Wolfram
    periject_html().print(sys.argv)