Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.22 KB

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.
  2. Install the jekyll and bundler gems.
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.