GithubHelp home page GithubHelp logo

ocaml.org's Introduction

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.

DEPENDENCIES

Building the html pages requires:

  • bash
  • curl
  • rsync
  • GNU make
  • ocaml >= 3.12.0 (the presence of ocamlopt is required)
  • camlp4orf (comes with the compiler in OPAM, in camlp4-extra in Debian)
  • ocamlfind
  • mpp >= 0.1.2
  • omd >= 0.7.5
  • netstring, netclient, equeue-ssl, and rss (for rss2html.ml)
  • lablgtk2 (optional, for the Gtk tutorial)

If you use opam (>= 1.1), the OCaml packages above can be installed by running:

opam install ocamlfind mpp omd ssl ocamlnet ocamlrss

Note that you need libssl-dev to be able to compile and use ssl. libssl-dev is the name of a debian package, if you're using another system, it might be available under a different name.

BUILD

The site consists only of static pages, so 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). 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 amirmc avatar pw374 avatar lefessan avatar cagdasbozman avatar mk270 avatar fccm avatar dsheets avatar samoht avatar gildor478 avatar gasche avatar garrigue avatar mjambon avatar altgr avatar raphael-proust avatar shawnotis avatar zma avatar pveber avatar phimuemue avatar yminsky-janestreet avatar victornicollet avatar nbraud avatar mrnt0810 avatar lehy avatar bluddy avatar yminsky avatar timruffles avatar xandkar avatar pquentin avatar

Watchers

James Cloos 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.