Giter Site home page Giter Site logo

transformersprimeabcxyz / dlangscience.github.io-dlangscience Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dlangscience/dlangscience.github.io

0.0 1.0 0.0 22.3 MB

DlangSciences website (for now)

Home Page: DlangScience.github.io

Ruby 0.01% HTML 99.62% CSS 0.24% JavaScript 0.13% Shell 0.01% Python 0.01%

dlangscience.github.io-dlangscience's Introduction

DlangScience.github.io

DlangScience's website

How to update the site

Requirements

Instructions

BE ON A CASE-SENSITIVE FILESYSTEM! The page names in the api docs are case-sensitive and will be generated wrong on filesystems such as NTFS and the non-case-sensitive variant of HFS+ that is used by default on OS X.
  • have an up-to-date clone of https://github.com/DlangScience/DlangScience.github.io including submodules (either clone with --recursive or run git submodule update --init.
  • git submodule update --remote to pull in the latest changes from the other DlangScience repos
  • ./get_pages.sh to convert the mardown files to html, generate documentation and copy the results to the relevant directories
  • commit and either push to master or make a pull request.

To preview the site after running get_pages.sh to check everything worked you need ruby and bundler (gem install bundler). Run bundle install once in the root folder of this repo, then bundle exec jekyll serve to serve on localhost:4000.

How it works:

The site uses Jekyll to generate a static site. This is done on github's servers.

All DlangScience repos (other than this one) are git submodules in the content/repos directory, each tracking the relevant master branch.

The pages for each individual repo should be held in the site subdirectory of that repo. Do not edit these pages from here, edit them in the relevant repository for that project.

Pages should be in github flavoured markdown. They are rendered by accessing the github markdown API (see md_to_html.py) and copied to the relevant subdirectory, e.g. content/repos/dstats/site/index.md would be rendered to dstats/index.html

you may have to manually add new pages.

If you want a repo to use its README.md as its index page, add an empty file site/readme_as_index in that repo.

DDOC in source files is rendered to html by calling gen_docs in each repository. gen_docs should generate the documentation and place it in site/api.

The scripts are currently quite hacky and will likely need changing in the future.

dlangscience.github.io-dlangscience's People

Contributors

9il avatar geraldjansen avatar john-colvin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.