/machinetranslate.org

Open resources and community for machine translation

Primary LanguageHTMLCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

This README is for machinetranslate.org infrastructure, not Machine Translate content.

For the Machine Translate landing page, visit index.md!

Infrastructure

The machinetranslate.org technology stack:

  • Website: Jekyll
  • Theme: Just the Docs
  • CDN: GitHub Pages
  • DNS: Cloudflare

Running Jekyll locally

Follow the Jekyll Quickstart Instructions:

  1. Install all [prerequisites]({{ '/docs/installation/' | relative_url }}).
  2. Install the jekyll and bundler [gems]({{ '/docs/ruby-101/#gems' | relative_url }}).
gem install jekyll bundler

... 5. Build the site and make it available on a local server.

bundle exec jekyll serve
  1. Browse to http://localhost:4000

Paths

This repository has a directory structure, but on the website the page paths are flat.

GitHub repository: /quality/quality-estimation.md machinetranslate.org: /quality-estimation

How it works:

  • Jekyll removes the file extension (.md).
  • A Cloudflare Page Rule is configured to remove the directory from the path.
  • In the soure content on GitHub, relative paths are used.
  • Relative paths resolve on GitHub and on the website.