You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
553 B

  1. import { docsBuilder } from '../assets/js/docsBuilder';
  2. import { Chart } from "../../dist/frappe-charts.min.esm";
  3. import { demoRegistry } from './demoRegistry';
  4. window.$docsify = {
  5. name: 'frappe-charts',
  6. // repo: 'https://github.com/frappe/charts',
  7. loadSidebar: true,
  8. executeScript: true,
  9. plugins: [
  10. function(hook, vm) {
  11. hook.doneEach(function() {
  12. let dbd = new docsBuilder(Chart);
  13. console.log("inside hook", document.querySelector('.demo'));
  14. dbd.makeSection(document.querySelector('.demo'), demoRegistry.demo2);
  15. });
  16. }
  17. ]
  18. }