HUE-9418. [docs] Tech to render web components in docs (sree)

Review Request #15318 — Created July 25, 2020 and submitted

Sreenath
hue
master
HUE-9418
hue
Amlesh1902, johan, ranade, romain, yingc
commit e13e9b5b86dcdaff10d9726573cd56a063d2b013
Author: sreenaths <sree@apache.org>
Date:   Sat Jul 25 16:51:51 2020 +0530

    HUE-9418. [docs] Tech to render web components in docs (sree)

:100644 100644 1f35ace9c7 551fe8ecb2 M	docs/docs-site/content/developer/components/er-diagram/_index.md
:000000 100644 0000000000 ec5d5c0a23 A	docs/docs-site/content/developer/components/er-diagram/demo/attrs.json
:000000 100644 0000000000 7bee7eec16 A	docs/docs-site/content/developer/components/er-diagram/demo/er-diagram.js
:000000 100644 0000000000 0b1fe6514a A	docs/docs-site/layouts/shortcodes/webcomp.html

Maunally tested with hugo serve in Chrome, FireFox & Safari browsers.

  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
Magic! romain romain
romain
  1. Very nice!

    And this one comes with the edit button?

    1. Yes it does and more :)
      This is a screenshot of how it looks now - https://issues.cloudera.org/secure/attachment/15876/webcomp-shortcode.png

    1. The image was removed as we have a working example now. Should I change something?

    2. It was fun creating webcomp shortcode ????

    3. Best part is that webcomp is generic and can be used for any web components :)

    4. All good!

      Image is still used in https://www.npmjs.com/package/gethue and the live widget is much better on the doc page!

    5. Thank you :)

  2. 
      
Sreenath
Review request changed

Status: Closed (submitted)

Loading...