Skip to content

The Rust Programming Language Book (Persian Translation)

License

Notifications You must be signed in to change notification settings

tarabar076/rust-book-fa

 
 

Repository files navigation

The Rust Programming Language (Farsi Translation)

This repository contains the source of the Farsi(Persian) translation of "The Rust Programming Language" book.

The translated markdown files are in the FARSI directory. All other files of the project(except for this README.md) have remained intact and compatible with the original english version.

Read here(Note that translations might be incomplete)

the original book

Requirements

Building the book requires mdBook, ideally the same 0.3.x version that rust-lang/rust uses in this file. To get it:

$ cargo install mdbook --vers [version-num]

Building

To build the farsi version of the book, type:

$ cd FARSI
$ mdbook build

The output will be in the FARSI/book subdirectory. To check it out, open it in your web browser.

Firefox:

$ firefox FARSI/book/index.html                       # Linux
$ open -a "Firefox" FARSI/book/index.html             # OS X
$ Start-Process "firefox.exe" .\FARSI\book\index.html # Windows (PowerShell)
$ start firefox.exe .\FARSI\book\index.html           # Windows (Cmd)

Chrome:

$ google-chrome FARSI/book/index.html                 # Linux
$ open -a "Google Chrome" FARSI/book/index.html       # OS X
$ Start-Process "chrome.exe" .\FARSI\book\index.html  # Windows (PowerShell)
$ start chrome.exe .\FARSI\book\index.html            # Windows (Cmd)

To run the tests:

$ mdbook test

Contributing

Send a pull request with your modifications to the FARSI/ directory. The translations must be intelligible.

Please do not modify anything outside of the FARSI directory.

About

The Rust Programming Language Book (Persian Translation)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 91.9%
  • HTML 3.2%
  • Shell 1.5%
  • XSLT 1.4%
  • Handlebars 0.8%
  • CSS 0.6%
  • JavaScript 0.6%