عکس pouriamokhtari
The Rust Programming Language Book (Persian Translation)Rust
موضوع‌ها
۱
فورک‌ها
۶
ستاره‌ها
۲۱
تاریخ ایجاد
۱۷ اسفند ۱۳۹۸
آخرین بروزرسانی
۲ روز قبل
لایسنس
Other

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.