dlangscience / dlangscience.github.io Goto Github PK
View Code? Open in Web Editor NEWDlangSciences website (for now)
Home Page: DlangScience.github.io
DlangSciences website (for now)
Home Page: DlangScience.github.io
Trying to build the site locally from a fresh fork and clone, script get_pages.sh
crashes after successfully building ddox on first subrepo (cblas):
Generating module: cblas
/home/nobu/DlangScience.github.io
rsync: change_dir "/home/nobu/DlangScience.github.io//api_format" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
After some tribulations I managed to run bundle install
successfully (installed a whopping 60 gems :-( ). Running bundle exec jekyll serve
complained about no JavaScript runtime (see below). I solved it by adding gem "therubyracer"
to Gemfile
and rerunning bundle install
, but I have no idea if that is a good or general solution.
Would it not be simpler if we just generated a static site (with ddox and possibly md_to_html.py) and avoided the dependency on jekyll?
[DlangScience.github.io]$ bundle exec jekyll serve
/var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
from /var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs.rb:5:in `<module:ExecJS>'
from /var/lib/gems/2.2.0/gems/execjs-2.6.0/lib/execjs.rb:4:in `<top (required)>'
from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `require'
from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee_script.rb:1:in `<top (required)>'
from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `require'
from /var/lib/gems/2.2.0/gems/coffee-script-2.4.1/lib/coffee-script.rb:1:in `<top (required)>'
from /var/lib/gems/2.2.0/gems/jekyll-coffeescript-1.0.1/lib/jekyll-coffeescript.rb:2:in `require'
...
'''
****************
building: OpenMPI
****************
/home/nobu/DlangScience.github.io/content/repos/OpenMPI /home/nobu/DlangScience.github.io
Performing "DSddox" build using dmd for x86_64.
mpi ~master: building configuration "error-noconfig"...
Running pre-build commands...
Error(/home/nobu/DlangScience.github.io/content/repos/OpenMPI//dub.json): This is an unconfigured dub.json, you must configure it by running gen/setup.sh from the mpi package root or use the "noLibs" configuration for mpi
Command failed with exit code 1
Due to a oversight in get_pages.sh
, It's currently done by Jekyll, which is fine for simple stuff but when it comes to code & syntax highlighting, the actual github implementation of github-flavour markdown seems the only way to get good consistent results.
I have a fix, but it might take a while for me to submit it
Looking a the SciD api documentation, I found that some text elements have very light colors that are practically invisible against a light/white background. I traced this to some colour settings in prettify.css (pre pln/pun/lit, for some examples). Presumably some of these colours were chosen for light text on dark background.
Since we don't yet have a mailing list for DlangScience, perhaps we can temporarily use issues under DlangScience.github.io as a kind of discussion forum. This issue could be dedicated to further improvements to the web-site setup or even simple clarifications of any problems encountered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.