Description: Move assets to /usr/share and use bootstrap from libjs-bootstrap
Author: Ondřej Nový <onovy@debian.org>
Forwarded: not-needed
Last-Update: 2016-07-16

--- a/os_api_ref/__init__.py
+++ b/os_api_ref/__init__.py
@@ -645,22 +645,12 @@
 
 def copy_assets(app, exception):
     assets = ('api-site.css', 'api-site.js', 'combobox.js')
-    fonts = (
-        'glyphicons-halflings-regular.ttf',
-        'glyphicons-halflings-regular.woff'
-    )
     if app.builder.name != 'html' or exception:
         return
     app.info('Copying assets: %s' % ', '.join(assets))
-    app.info('Copying fonts: %s' % ', '.join(fonts))
     for asset in assets:
         dest = os.path.join(app.builder.outdir, '_static', asset)
-        source = os.path.abspath(os.path.dirname(__file__))
-        copyfile(os.path.join(source, 'assets', asset), dest)
-    for font in fonts:
-        dest = os.path.join(app.builder.outdir, '_static/fonts', font)
-        source = os.path.abspath(os.path.dirname(__file__))
-        copyfile(os.path.join(source, 'assets', font), dest)
+        os.symlink(os.path.join(os.sep, 'usr', 'share', 'python-os-api-ref', asset), dest)
 
 
 def add_assets(app):
