mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update website.py
This commit is contained in:
parent
52dfd10785
commit
b58fa8585c
@ -13,21 +13,6 @@ import jsmin
|
||||
import mdx_clickhouse
|
||||
|
||||
|
||||
def copy_icons(args):
|
||||
logging.info('Copying icons')
|
||||
icons_dir = os.path.join(args.output_dir, 'images', 'icons')
|
||||
os.makedirs(icons_dir)
|
||||
for icon in [
|
||||
'github',
|
||||
'edit',
|
||||
'external-link'
|
||||
]:
|
||||
icon = '%s.svg' % icon
|
||||
icon_src = os.path.join(args.website_dir, 'images', 'feathericons', 'icons', icon)
|
||||
icon_dst = os.path.join(icons_dir, icon)
|
||||
shutil.copy2(icon_src, icon_dst)
|
||||
|
||||
|
||||
def build_website(args):
|
||||
logging.info('Building website')
|
||||
env = jinja2.Environment(
|
||||
|
Loading…
Reference in New Issue
Block a user