dc-js / dc-js.github.io

Public website for dc.js
Apache License 2.0
1 stars 2 forks source link

Transition Website to Jekyll #1

Open KobaKhit opened 1 year ago

KobaKhit commented 1 year ago

We are planning to convert the dc.js website (https://dc-js.github.io/dc.js/) to Jekyll. Below are some of the preliminary goals that were discussed:

My next steps are to take the existing website and spend minimal effort to make it work in Jekyll . Please feel free to add feedback. The goals list is not exhaustive and will grow.

kum-deepak commented 1 year ago

I have committed the documentation and examples from the dc-v5 branch and created a new repository https://github.com/dc-js/dc-js.github.io. Please create PRs against this repository.

I have added a robots.txt to prevent search engine indexing. We will adjust that when we are ready.

Public URL: https://dc-js.github.io/

KobaKhit commented 1 year ago

Hello. I have pushed updates to my fork. You can see the examples difficulty page added here

I also added d3.js, crossfilter and dc.js cdns to 1/3 of examples. I am utilizing Jekyll's _includes functionality. See example here

If that looks sensible I will add the cdns to the rest of the examples and create a PR against this repo. CDN paths are parametrized in the _config.yml . I could not find dc version 5 cdn readily available and just used the one in the website's js folder served by jsDelivr.

A few notes regarding the dc.js examples. Following examples are using dc-compat.js :

Following examples do not work and are throwing errors. Should be an easy fix if need be.

Neither have links displayed on the examples page, so I am assuming it might be legacy work.

kum-deepak commented 1 year ago

Thanks, @KobaKhit.

For the non-working examples: