This repository contains the sources of the OCaml website. It is served at https://ocaml.org/.
Integrated documentation and package management: The site combines the package management (currently opam.ocaml.org) with a new central documentation source (codenamed 'docs.ocaml.org') for all 14000+ opam packages directly within the ocaml.org site.
Responsive and accessible: The site design also takes into account modern web-design principles, restructuring the old content in accordance with methods that will present it more compellingly. It is a total redesign that modernises the look and feel of the webpage, as well as make it easier to navigate, and more accessible (particularly on mobile devices).
Separation of data editing from HTML/CSS generation: The data used in the website
is stored in Yaml or Markdown so users can easily edit it and contribute to the website.
We generate OCaml code from this data to serve the site content and and Ocurrent to
automate the data pipelines. All the data used in the site can be found in ./data
.
You can setup the project with:
Before you begin, make sure you have opam
(OCaml Package Manager) installed on your system. If you haven't installed it yet, you can follow the official installation instructions for your platform:
Once opam
is installed, you can set up the project and run it with the following commands:
make switch
And run it with:
make start
See our contributing guide for more detailed instructions.
The OCaml.org maintainers team is composed of the following community members:
The roles and responsibilities are explained in the governance, don't hesitate to have a look for more details.
We're always looking for new maintainers! If you're interested in helping us make OCaml.org the best resource to learn OCaml and discover the ecosystem, reach out to us!
Thank you to everyone who contributed to the development of this new version of the website!
In particular:
For the groundwork on rethinking the sitemap, user flows, new content, design, and frontend and package docs!
For the work on the package site infrastructure and UI!
For meticulously going through the website to find issues.
For the work on the designs and bringing them to life on the frontend!
For the work on the new content and reviewing the existing one!
We’d also like to thank the major funders who supported work on revamping the website: grants from the Tezos Foundation and Jane Street facilitated the bulk of the work. Thank you, and if anyone else wishes to help support it on an ongoing basis then donations to the OCaml Software Foundation and grants to the maintenance teams mentioned above are always welcomed.
We'd love your help improving ocaml.org!
See our contributing guide in CONTRIBUTING.md
LICENSE-3RD-PARTY
See our LICENSE
for the complete licenses.
This project follows the OCaml Code of Conduct.