Giter Site home page Giter Site logo

glennsl / ocaml.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ocaml/v2.ocaml.org

0.0 2.0 0.0 26.75 MB

Implementation of the ocaml.org website.

Home Page: http://ocaml.org

License: Other

Shell 0.76% Makefile 2.38% HTML 9.29% OCaml 77.46% CSS 8.27% JavaScript 1.84%

ocaml.org's Introduction

Travis Build Status

OCAML.ORG PROJECT

This is the source code implementing the ocaml.org website. Information here is relevant only to developers and content contributors. End-users of the website should simply visit the website, which is hosted at http://ocaml.org.

Note: if you just want to edit a page you do not need to follow the instructions below. Simply click on the pen in the top right corner of the page and you will be redirected to that page on GitHub where you can edit it and submit your changes without leaving your browser.

DEPENDENCIES

Dependencies can be installed by running make deps, which runs the necessary OPAM commands. See the opam file for more information on the required packages.

Note this is the only purpose of the opam file. This repository doesn't provide any resources intended for use in other projects, so it is not provided as a package in any opam repository.

In addition to the above opam packages, it is expected that the following programs are available:

  • bash
  • curl
  • rsync
  • GNU make

BUILD

The site consists only of static pages, so it can be built and run entirely on a local machine without dependencies on external file or database servers. Simply run:

make

(or make -j for a faster build on multicore machines. NB: you might need to limit the number of forks e.g make -j 8 ref).

This will generate a new folder ocaml.org that contains the full website. Note that building the site will attempt to connect to the Internet to download the news and latest email conversations. As usual, use make clean to delete the files generated by the compilation.

DIRECTORY STRUCTURE

site — Main content of the site. Most files are in Markdown syntax and converted to HTML by the build scripts.

template — Templates governing the overall look and feel of the site. These are applied to the pages within site/ when the site is built. References to templates within site pages should be of the form template/template-file-name because the build script assumes this directory structure.

script — Scripts used to build the site.

CONTACTS

For general discussion about the site's implementation, you can post to the infrastructure mailing list.

For a specific bug report, content suggestion, or feature request, please create an issue on GitHub. Or best of all, fork the repo, make changes to your copy, and submit pull requests. It's that easy!

ocaml.org's People

Contributors

chris00 avatar agarwal avatar pw374 avatar amirmc avatar lefessan avatar dsheets avatar garrigue avatar gasche avatar cagdasbozman avatar mclehman avatar teemperor avatar whitequark avatar mk270 avatar fccm avatar dbuenzli avatar avsm avatar dmbaturin avatar hustmphrrr avatar mshinwell avatar johnwhitington avatar c-cube avatar samoht avatar gemmag avatar gildor478 avatar mjambon avatar drup avatar yminsky avatar joelwilliamson avatar yannicka avatar zakki avatar

Watchers

James Cloos avatar Glenn Slotte 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.